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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* Cocoon標準のトップページ装飾をリセット */
.home.page #main {
    padding: 0;
    border: none;
    background: transparent;
}

.home.page .entry-content {
    margin-top: 0;
}

/* トップページでは記事用情報を非表示 */
.home.page .date-tags,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .author-info {
    display: none;
}


/* ========================================
   Hero
   ======================================== */

.gadget-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 70px;

    border-radius: 28px;
    overflow: hidden;

    /* ↓ このURLを自分の画像URLに変更 */
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 18, 30, 0.88) 0%,
            rgba(8, 18, 30, 0.65) 45%,
            rgba(8, 18, 30, 0.12) 100%
        ),
        url("https://eigadgetcho.com/wp-content/uploads/2026/08/仮画像.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ヒーロー内の文章 */

.gadget-hero__content {
    position: relative;
    z-index: 2;

    max-width: 650px;

    color: #ffffff;
}


/* 上部の小さい文字 */

.gadget-hero__label {
    margin: 0 0 20px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.18em;

    opacity: 0.8;
}


/* メインタイトル */

.gadget-hero__title {
    margin: 0 0 24px;

    padding: 0;
    border: none;

    background: none;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.25;

    letter-spacing: -0.03em;
}


/* 説明文 */

.gadget-hero__description {
    margin: 0 0 34px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 17px;
    line-height: 1.9;
}


/* ボタン */

.gadget-hero__button {
    display: inline-flex;
    align-items: center;

    padding: 15px 24px;

    border-radius: 100px;

    background: #ffffff;

    color: #111827 !important;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.gadget-hero__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.20);
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 768px) {

    .gadget-hero {
        min-height: 520px;

        padding: 40px 26px;

        border-radius: 20px;

        background-position: 62% center;
    }

    .gadget-hero__title {
        font-size: 36px;
        line-height: 1.3;
    }

    .gadget-hero__description {
        font-size: 15px;
    }

}
/* ========================================
   トップページ：最新レビュー
   ======================================== */

.home-latest {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 110px;
}


/* 最新レビュー見出し */

.home-latest .home-section-label {
    width: 100%;

    margin: 0 0 8px !important;

    color: #1769aa;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;

    text-align: center !important;
}


.home .article .home-latest h2.home-section-title {
    width: 100%;

    margin: 0 0 42px !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;

    color: #111827 !important;

    font-size: 34px;
    font-weight: 800;

    text-align: center !important;
}


/* 小さい英字見出し */

.home-section-label {
    margin: 0 0 8px;

    color: #1769aa;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;

    text-align: center;
}


/* セクションタイトル */

.home-section-title {
    margin: 0 0 45px !important;
    padding: 0 !important;

    border: none !important;
    background: none !important;

    color: #111827;

    font-size: 34px;
    font-weight: 800;

    text-align: center;
}


/* Cocoon新着記事カード */

.home-latest-list .new-entry-card-link {
    overflow: hidden;

    border: 1px solid #e8ebef;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* マウスを載せたとき */

.home-latest-list .new-entry-card-link:hover {
    transform: translateY(-6px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.10);
}


/* サムネイル */

.home-latest-list .card-thumb {
    overflow: hidden;

    border-radius: 18px 18px 0 0;
}


/* 画像 */

.home-latest-list .card-thumb img {
    width: 100%;

    aspect-ratio: 16 / 9;
    object-fit: cover;

    transition: transform 0.35s ease;
}


/* ホバー時に画像をわずかに拡大 */

.home-latest-list .new-entry-card-link:hover .card-thumb img {
    transform: scale(1.035);
}


/* タイトル・日付部分 */

.home-latest-list .card-content {
    padding: 20px 20px 22px;
}


/* 記事タイトル */

.home-latest-list .card-title {
    color: #171717;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}


/* 日付 */

.home-latest-list .post-date {
    margin-top: 10px;

    color: #8a929d;

    font-size: 12px;
}


/* Cocoon標準の矢印を少し控えめに */

.home-latest-list .card-arrow {
    color: #1769aa;
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 768px) {

    .home-latest {
        padding: 70px 15px 80px;
    }

    .home-section-title {
        margin-bottom: 30px !important;

        font-size: 28px;
    }

}
/* ========================================
   最新レビュー：3カラムを横幅いっぱいに表示
   ======================================== */

/* 新着記事一覧そのものを横幅いっぱいにする */
.home-latest-list {
    width: 100% !important;
    max-width: none !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;

    overflow: visible !important;
}


/* Cocoonのカード幅制限を解除 */
.home-latest-list .new-entry-card-link {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;
}


/* カード本体 */
.home-latest-list .new-entry-card {
    width: 100% !important;
    height: 100%;

    display: flex;
    flex-direction: column;
}


/* サムネイルを横幅いっぱいに */
.home-latest-list .card-thumb {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}


/* 画像サイズ */
.home-latest-list .card-thumb img {
    width: 100% !important;
    height: auto;

    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* 記事タイトル部分 */
.home-latest-list .card-content {
    flex: 1;

    padding: 20px 22px 22px !important;
}


/* ========================================
   タブレット
   ======================================== */

@media screen and (max-width: 900px) {

    .home-latest-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 600px) {

    .home-latest-list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

}
.home .article h2.home-section-title {
    margin: 0 0 42px !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;

    color: #111827 !important;

    font-size: 34px;
    font-weight: 800;

    text-align: center;
}
/* ========================================
   トップページ：カテゴリー
   ======================================== */

.home-categories {
    max-width: 1200px;

    margin: 0 auto;
    padding: 20px 20px 110px;
}


/* ========================================
   カテゴリーグリッド
   ======================================== */

.gadget-category-grid {
    display: grid;

    /* PCでは5カテゴリーを横一列 */
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 18px;

    margin-top: 42px;
}


/* ========================================
   カテゴリーカード
   ======================================== */

.gadget-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 190px;

    padding: 28px 12px;

    border: 1px solid #e6e9ed;
    border-radius: 18px;

    background: #ffffff;

    color: #171717 !important;

    text-align: center;
    text-decoration: none !important;

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* マウスを載せたとき */

.gadget-category-card:hover {
    transform: translateY(-5px);

    border-color: #b9d4ed;

    box-shadow:
        0 13px 32px rgba(0, 0, 0, 0.09);
}


/* ========================================
   アイコン
   ======================================== */

.gadget-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 18px;

    border-radius: 17px;

    background: #f1f7fc;

    color: #1769aa;
}


/* SVG */

.gadget-category-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ========================================
   日本語カテゴリー名
   ======================================== */

.gadget-category-name {
    display: block;

    min-height: 42px;

    margin-bottom: 5px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    word-break: keep-all;
}


/* ========================================
   英字カテゴリー名
   ======================================== */

.gadget-category-en {
    display: block;

    color: #929aa4;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.09em;

    white-space: nowrap;
}


/* ========================================
   タブレット
   ======================================== */

@media screen and (max-width: 1000px) {

    .gadget-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 16px;
    }

}


/* ========================================
   小型タブレット
   ======================================== */

@media screen and (max-width: 750px) {

    .gadget-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 600px) {

    .home-categories {
        padding: 10px 15px 80px;
    }


    .gadget-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;

        margin-top: 30px;
    }


    .gadget-category-card {
        min-height: 155px;

        padding: 20px 7px;

        border-radius: 15px;
    }


    .gadget-category-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 13px;

        border-radius: 14px;
    }


    .gadget-category-icon svg {
        width: 27px;
        height: 27px;
    }


    .gadget-category-name {
        min-height: 39px;

        font-size: 13px;
        line-height: 1.45;
    }


    .gadget-category-en {
        font-size: 7.5px;

        letter-spacing: 0.05em;
    }

}
/* ========================================
   トップページ：人気記事＋プロフィール
   ======================================== */

.home-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 120px;
}


/* 2カラム */

.home-bottom-grid {
    gap: 32px;
    align-items: stretch !important;
}


/* ========================================
   左寄せセクション見出し
   ======================================== */

.home-section-label-left {
    margin: 0 0 7px !important;

    color: #1769aa;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}


.home .article h2.home-section-title-left {
    margin: 0 0 32px !important;
    padding: 0 !important;

    border: none !important;
    background: none !important;

    color: #111827 !important;

    font-size: 30px;
    font-weight: 800;

    text-align: left;
}


/* ========================================
   人気記事
   ======================================== */

.home-popular-list {
    width: 100%;
}


/* 各記事 */

.home-popular-list .popular-entry-card-link {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 0 14px !important;
    padding: 13px !important;

    border: 1px solid #e7e9ed;
    border-radius: 16px;

    background: #ffffff;

    text-decoration: none !important;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


/* ホバー */

.home-popular-list .popular-entry-card-link:hover {
    transform: translateY(-3px);

    border-color: #c9dbea;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.08);
}


/* 記事内部 */

.home-popular-list .popular-entry-card {
    display: flex !important;
    align-items: center;

    gap: 18px;

    width: 100%;
}


/* サムネイル */

.home-popular-list .popular-entry-card-thumb {
    flex: 0 0 155px;

    width: 155px !important;

    margin: 0 !important;

    overflow: hidden;

    border-radius: 11px;
}


.home-popular-list .popular-entry-card-thumb img {
    display: block;

    width: 100% !important;
    height: auto;

    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* タイトル・日付部分 */

.home-popular-list .popular-entry-card-content {
    flex: 1;

    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;
}


/* 記事タイトル */

.home-popular-list .popular-entry-card-title {
    color: #171717;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}


/* 日付 */

.home-popular-list .widget-entry-card-date {
    display: block;

    margin-top: 7px;

    color: #9299a2;

    font-size: 11px;
}


/* ========================================
   プロフィール
   ======================================== */

.home-profile-card {
    height: auto;

    padding: 26px;

    border: 1px solid #e7e9ed;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 3px 16px rgba(0, 0, 0, 0.04);
}


/* Cocoonプロフィール標準装飾を調整 */

.home-profile-card .author-box {
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;

    background: transparent !important;
}


/* プロフィール画像 */

.home-profile-card .author-thumb img {
    width: 110px;
    height: 110px;

    border-radius: 50%;

    object-fit: cover;
}


/* 名前 */

.home-profile-card .author-name {
    margin-top: 16px;

    color: #171717;

    font-size: 17px;
    font-weight: 700;
}


/* 説明 */

.home-profile-card .author-description {
    margin-top: 14px;

    color: #555f69;

    font-size: 14px;
    line-height: 1.85;
}


/* ========================================
   タブレット・スマートフォン
   ======================================== */

@media screen and (max-width: 780px) {

    .home-bottom {
        padding: 10px 15px 90px;
    }


    .home-bottom-grid {
        display: block !important;
    }


    .home-bottom-grid > .wp-block-column {
        margin-bottom: 60px;
    }


    .home .article h2.home-section-title-left {
        margin-bottom: 25px !important;

        font-size: 27px;
    }

}


@media screen and (max-width: 600px) {

    .home-popular-list .popular-entry-card-link {
        padding: 10px !important;

        border-radius: 13px;
    }


    .home-popular-list .popular-entry-card {
        gap: 12px;
    }


    .home-popular-list .popular-entry-card-thumb {
        flex-basis: 120px;

        width: 120px !important;

        border-radius: 9px;
    }


    .home-popular-list .popular-entry-card-title {
        font-size: 13px;
        line-height: 1.5;
    }


    .home-profile-card {
        padding: 22px;

        border-radius: 17px;
    }

}
/* ========================================
   ヘッダー
   ======================================== */

/* ヘッダー全体 */
#header-container {
    background: #ffffff !important;
}


/* ヘッダー本体 */
#header-container-in {
    max-width: 1200px;
    margin: 0 auto;
}


/* Cocoonヘッダー */
#header {
    background: #ffffff !important;
}


/* ヘッダー内部 */
.header-in {
    min-height: 76px;

    display: flex;
    align-items: center;

    padding-left: 20px;
    padding-right: 20px;
}


/* ========================================
   サイト名
   ======================================== */

.logo-header {
    margin: 0;
}


/* テキストロゴ */
.site-name-text {
    color: #111827 !important;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.02em;
}


/* ロゴリンク */
.logo-header a {
    color: #111827 !important;

    text-decoration: none !important;
}


/* キャッチコピーを非表示 */
.tagline {
    display: none !important;
}


/* ========================================
   グローバルナビ
   ======================================== */

#navi {
    background: #ffffff !important;

    border-top: 1px solid #f0f1f3;
    border-bottom: 1px solid #e7e9ed;
}


.navi-in {
    max-width: 1200px;
    margin: 0 auto;
}


/* メニュー */
.navi-in > ul {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 4px;

    background: transparent !important;
}


/* 各メニュー */
.navi-in > ul > li {
    flex: none;
}


/* リンク */
.navi-in > ul > li > a {
    min-height: 52px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    background: transparent !important;

    color: #333b45 !important;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* ホバー */
.navi-in > ul > li > a:hover {
    background: #f5f8fb !important;

    color: #1769aa !important;
}


/* ========================================
   ヘッダーを少し浮かせる
   ======================================== */

#header-container {
    border-bottom: 1px solid #e9ebee;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.025);
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 834px) {

    .header-in {
        min-height: 62px;

        padding-left: 15px;
        padding-right: 15px;
    }

    .site-name-text {
        font-size: 19px;
    }

}
/* ========================================
   フッター
   ======================================== */

#footer,
.footer {
    background: #111827 !important;

    color: #cbd5e1 !important;

    border-top: none !important;
}


/* フッター内部 */

.footer-in {
    max-width: 1200px;

    margin: 0 auto;

    padding-top: 55px;
    padding-bottom: 35px;
}


/* ========================================
   サイト名
   ======================================== */

.footer-bottom-logo {
    margin-bottom: 25px;
}


/* テキストロゴ */

.footer-bottom-logo .site-name-text,
.footer-bottom-logo a {
    color: #ffffff !important;

    font-size: 20px;
    font-weight: 700;

    text-decoration: none !important;
}


/* ========================================
   フッターメニュー
   ======================================== */

.footer-menu-nav {
    margin-bottom: 20px;
}


.footer-menu-nav ul {
    display: flex;

    flex-wrap: wrap;
    justify-content: center;

    gap: 4px 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* 各リンク */

.footer-menu-nav a {
    padding: 6px 14px;

    color: #cbd5e1 !important;

    font-size: 13px;

    text-decoration: none !important;

    transition: color 0.2s ease;
}


/* ホバー */

.footer-menu-nav a:hover {
    color: #ffffff !important;
}


/* Cocoon標準の区切り線を薄くする */

.footer-menu-nav li {
    border-color: #374151 !important;
}


/* ========================================
   コピーライト
   ======================================== */

.copyright {
    margin-top: 16px;

    color: #7f8b9c !important;

    font-size: 12px;

    text-align: center;
}


/* ========================================
   フッター下部
   ======================================== */

.footer-bottom {
    color: #cbd5e1 !important;
}


/* Cocoonのリンク色を上書き */

#footer a {
    color: #cbd5e1;
}


#footer a:hover {
    color: #ffffff;
}


/* ========================================
   ページトップへ戻るボタン
   ======================================== */

.go-to-top-button {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;

    background: #ffffff !important;

    color: #111827 !important;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.12);
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 768px) {

    .footer-in {
        padding: 40px 20px 28px;
    }


    .footer-menu-nav ul {
        flex-direction: column;

        align-items: center;
    }


    .footer-menu-nav a {
        display: block;

        padding: 7px 10px;

        font-size: 13px;
    }


    .footer-bottom-logo {
        text-align: center;
    }


    .footer-bottom-logo .site-name-text {
        font-size: 18px;
    }

}
/* ========================================
   トップページ：オリジナルプロフィール
   ======================================== */

.custom-profile-card {
    position: relative;

    padding: 38px 30px 32px;

    border: 1px solid #e6e9ed;
    border-radius: 22px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.045);
}


/* ========================================
   プロフィール画像
   ======================================== */

.custom-profile-image {
    width: 120px;
    height: 120px;

    margin: 0 auto 20px;
}


.custom-profile-image img {
    display: block;

    width: 120px;
    height: 120px;

    border: 4px solid #f4f6f8;
    border-radius: 50%;

    object-fit: cover;
}


/* ========================================
   名前
   ======================================== */

.custom-profile-name {
    margin: 0 0 5px !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;

    color: #111827 !important;

    font-size: 20px;
    font-weight: 800;

    text-align: center;
}


/* ========================================
   英字肩書き
   ======================================== */

.custom-profile-role {
    margin: 0 0 22px !important;

    color: #1769aa;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.17em;
}


/* ========================================
   プロフィール文章
   ======================================== */

.custom-profile-description {
    margin: 0 0 26px !important;

    color: #56606b;

    font-size: 14px;
    line-height: 1.9;

    text-align: left;
}


/* ========================================
   プロフィールボタン
   ======================================== */

.custom-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border: 1px solid #1769aa;
    border-radius: 100px;

    background: #ffffff;

    color: #1769aa !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* ホバー */

.custom-profile-button:hover {
    transform: translateY(-2px);

    background: #1769aa;

    color: #ffffff !important;

    box-shadow:
        0 7px 20px rgba(23, 105, 170, 0.18);
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 600px) {

    .custom-profile-card {
        padding: 32px 24px 28px;

        border-radius: 18px;
    }


    .custom-profile-image,
    .custom-profile-image img {
        width: 105px;
        height: 105px;
    }


    .custom-profile-name {
        font-size: 19px;
    }


    .custom-profile-description {
        font-size: 13.5px;
    }

}
/* ==================================================
   TOP PAGE FINAL ADJUSTMENT
   トップページ最終調整
   ================================================== */


/* ========================================
   ページ全体
   ======================================== */

.home {
    background: #f7f8fa;
}

.home #content {
    margin-top: 0;
}

.home .entry-content {
    margin-top: 0;
}


/* ========================================
   トップページ全体の基本文字色
   ======================================== */

.home .article {
    color: #333b45;
}


/* ========================================
   ヒーロー
   ======================================== */

.home .gadget-hero {
    max-width: 1200px;

    margin: 20px auto 0;

    min-height: 580px;

    border-radius: 24px;
}


/* ========================================
   各セクションの横幅・余白を統一
   ======================================== */

.home-latest,
.home-categories,
.home-bottom {
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* 最新レビュー */

.home-latest {
    padding-top: 85px;
    padding-bottom: 95px;
}


/* カテゴリー */

.home-categories {
    padding-top: 15px;
    padding-bottom: 100px;
}


/* 人気記事・プロフィール */

.home-bottom {
    padding-top: 10px;
    padding-bottom: 110px;
}


/* ========================================
   中央セクション共通ラベル
   ======================================== */

.home .home-section-label {
    margin: 0 0 8px !important;

    color: #1769aa;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.20em;

    text-align: center !important;
}


/* ========================================
   中央セクション共通見出し
   ======================================== */

.home .article h2.home-section-title {
    margin: 0 0 42px !important;
    padding: 0 !important;

    border: none !important;

    background: transparent !important;

    color: #111827 !important;

    font-size: 32px;
    font-weight: 800;

    line-height: 1.4;

    text-align: center !important;
}


/* ========================================
   左寄せセクションラベル
   POPULAR / ABOUT
   ======================================== */

.home .home-section-label-left {
    margin: 0 0 8px !important;

    color: #1769aa;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.20em;
}


/* ========================================
   左寄せ見出し
   ======================================== */

.home .article h2.home-section-title-left {
    margin: 0 0 30px !important;
    padding: 0 !important;

    border: none !important;

    background: transparent !important;

    color: #111827 !important;

    font-size: 29px;
    font-weight: 800;

    line-height: 1.4;

    text-align: left;
}


/* ========================================
   最新記事カード
   ======================================== */

.home-latest-list {
    gap: 26px;
}

.home-latest-list .new-entry-card-link {
    border: 1px solid #e7e9ed;

    border-radius: 18px;

    background: #ffffff;

    overflow: hidden;

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.045);
}


/* カードタイトル */

.home-latest-list .card-title {
    color: #111827;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.65;
}


/* ========================================
   カテゴリーカード
   ======================================== */

.gadget-category-grid {
    margin-top: 0;

    gap: 18px;
}

.gadget-category-card {
    min-height: 180px;

    border-radius: 18px;

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.035);
}


/* ========================================
   人気記事＋プロフィール
   ======================================== */

.home-bottom-grid {
    gap: 34px;
}


/* 人気記事 */

.home-popular-list .popular-entry-card-link {
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.04);
}


/* プロフィール */

.custom-profile-card {
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 3px 16px rgba(0, 0, 0, 0.045);
}


/* ========================================
   リンク
   ======================================== */

.home .entry-content a {
    text-underline-offset: 3px;
}


/* ========================================
   セクション間の境界を自然にする
   ======================================== */

.home-latest,
.home-categories,
.home-bottom {
    position: relative;
}


/* ========================================
   スマートフォン・タブレット
   ======================================== */

@media screen and (max-width: 834px) {

    .home .gadget-hero {
        margin: 12px 15px 0;

        min-height: 500px;

        border-radius: 20px;
    }


    .home-latest,
    .home-categories,
    .home-bottom {
        padding-left: 15px;
        padding-right: 15px;
    }


    .home-latest {
        padding-top: 65px;
        padding-bottom: 75px;
    }


    .home-categories {
        padding-top: 5px;
        padding-bottom: 75px;
    }


    .home-bottom {
        padding-top: 5px;
        padding-bottom: 80px;
    }


    .home .article h2.home-section-title {
        margin-bottom: 30px !important;

        font-size: 27px;
    }


    .home .article h2.home-section-title-left {
        margin-bottom: 24px !important;

        font-size: 25px;
    }

}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 600px) {

    .home .gadget-hero {
        min-height: 480px;
    }


    .home .home-section-label,
    .home .home-section-label-left {
        font-size: 10px;
    }


    .home-latest-list {
        gap: 20px;
    }


    .gadget-category-grid {
        gap: 12px;
    }

}

/* ========================================
   ここから先は記事ページのCSS
   ======================================== */



/* ==================================================
   ARTICLE PAGE
   記事ページ共通デザイン
   ================================================== */


/* ========================================
   記事ページ全体
   ======================================== */

.single {
    background: #f7f8fa;
}


/* 本文＋サイドバー全体 */

.single #content-in {
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    gap: 36px;
}


/* ========================================
   記事本文
   ======================================== */

.single #main {
    border: 1px solid #e8eaed;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 3px 18px rgba(0, 0, 0, 0.035);
}


/* 記事内部 */

.single .article {
    padding: 12px 18px 30px;
}


/* ========================================
   記事タイトル
   ======================================== */

.single .entry-title {
    margin-bottom: 18px;

    color: #111827;

    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;

    line-height: 1.4;

    letter-spacing: -0.02em;
}


/* ========================================
   投稿日・更新日・カテゴリー
   ======================================== */

.single .date-tags {
    margin-bottom: 25px;

    color: #89919b;

    font-size: 12px;
}


/* ========================================
   アイキャッチ
   ======================================== */

.single .eye-catch {
    margin-top: 10px;
    margin-bottom: 35px;

    overflow: hidden;

    border-radius: 18px;
}


.single .eye-catch img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* ========================================
   本文
   ======================================== */

.single .entry-content {
    color: #343b44;

    font-size: 17px;
    line-height: 1.95;
}


/* 段落 */

.single .entry-content p {
    margin-bottom: 1.7em;
}


/* ========================================
   H2
   ======================================== */

.single .entry-content h2 {
    margin-top: 70px;
    margin-bottom: 28px;

    padding: 18px 22px;

    border: none;
    border-left: 5px solid #1769aa;

    border-radius: 0 10px 10px 0;

    background: #f4f7fa;

    color: #111827;

    font-size: 27px;
    font-weight: 800;

    line-height: 1.5;
}


/* ========================================
   H3
   ======================================== */

.single .entry-content h3 {
    margin-top: 50px;
    margin-bottom: 22px;

    padding: 0 0 10px;

    border: none;
    border-bottom: 2px solid #e5e7eb;

    background: transparent;

    color: #18202a;

    font-size: 22px;
    font-weight: 750;
}


/* ========================================
   H4
   ======================================== */

.single .entry-content h4 {
    margin-top: 38px;
    margin-bottom: 18px;

    padding-left: 13px;

    border-left: 3px solid #1769aa;

    color: #27313b;

    font-size: 19px;
    font-weight: 700;
}


/* ========================================
   リンク
   ======================================== */

.single .entry-content a {
    color: #1769aa;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* ========================================
   画像
   ======================================== */

.single .entry-content figure {
    margin-top: 35px;
    margin-bottom: 35px;
}


.single .entry-content figure img {
    border-radius: 12px;
}


/* キャプション */

.single .wp-element-caption,
.single figcaption {
    margin-top: 8px;

    color: #7b8490;

    font-size: 12px;

    text-align: center;
}


/* ========================================
   目次
   ======================================== */

.single .toc {
    margin-top: 40px;
    margin-bottom: 55px;

    padding: 26px 30px;

    border: 1px solid #e3e7eb;
    border-radius: 16px;

    background: #fafbfc;
}


/* 目次タイトル */

.single .toc-title {
    color: #111827;

    font-weight: 800;
}


/* 目次リンク */

.single .toc a {
    color: #374151;
}


/* ========================================
   引用
   ======================================== */

.single blockquote {
    margin: 35px 0;

    padding: 22px 26px;

    border-left: 4px solid #9aa5b1;

    background: #f6f7f9;

    color: #555f69;
}


/* ========================================
   表
   ======================================== */

.single .entry-content table {
    border-radius: 10px;

    overflow: hidden;
}


.single .entry-content th {
    background: #f1f4f7;

    color: #202832;
}


/* ========================================
   サイドバー
   ======================================== */

.single #sidebar {
    flex: 0 0 300px;
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 834px) {

    .single #main {
        border-left: none;
        border-right: none;

        border-radius: 0;

        box-shadow: none;
    }


    .single .article {
        padding-left: 15px;
        padding-right: 15px;
    }


    .single .entry-title {
        font-size: 28px;
    }


    .single .entry-content {
        font-size: 16px;
        line-height: 1.9;
    }


    .single .entry-content h2 {
        margin-top: 55px;

        padding: 15px 17px;

        font-size: 23px;
    }


    .single .entry-content h3 {
        margin-top: 40px;

        font-size: 20px;
    }


    .single .toc {
        padding: 22px 20px;
    }

}
/* ==================================================
   REVIEW CARD
   ガジェットレビュー評価カード
   ================================================== */

.gadget-review-card {
    margin: 50px 0;

    padding: 34px;

    border: 1px solid #e4e8ec;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.055);
}


/* ========================================
   ヘッダー
   ======================================== */

.review-card-header {
    margin-bottom: 26px;
}


.review-card-label {
    margin: 0 0 6px !important;

    color: #1769aa;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.2em;
}


/* Cocoonの記事H2デザインを解除 */

.single .entry-content
.gadget-review-card
.review-card-product {

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #111827 !important;

    font-size: 27px;
    font-weight: 800;

    line-height: 1.4;
}


/* ========================================
   総合評価
   ======================================== */

.review-overall {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 23px 0;

    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
}


.review-overall-text {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.review-overall-label {
    color: #515b66;

    font-size: 13px;
    font-weight: 700;
}


/* 星 */

.review-stars,
.review-rating-stars {
    color: #1769aa;

    letter-spacing: 0.08em;
}


.review-stars {
    font-size: 22px;
}


/* 点数 */

.review-score {
    display: flex;

    align-items: baseline;

    white-space: nowrap;
}


.review-score strong {
    color: #111827;

    font-size: 44px;
    font-weight: 800;

    line-height: 1;
}


.review-score span {
    margin-left: 5px;

    color: #89919b;

    font-size: 14px;
}


/* ========================================
   一言評価
   ======================================== */

.review-verdict {
    margin: 26px 0 !important;

    padding: 20px 22px;

    border-radius: 12px;

    background: #f4f7fa;

    color: #333d48;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.8;
}


/* ========================================
   個別評価
   ======================================== */

.review-rating-list {
    margin: 5px 0 30px;
}


.review-rating-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 44px;

    border-bottom: 1px solid #eef0f2;

    color: #3c4650;

    font-size: 14px;
}


.review-rating-stars {
    flex-shrink: 0;

    font-size: 16px;
}


/* ========================================
   GOOD / CHECK
   ======================================== */

.review-pros-cons {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* 共通 */

.review-good,
.review-bad {
    padding: 21px;

    border-radius: 14px;

    background: #f8f9fa;
}


.review-point-title {
    margin: 0 0 15px !important;

    color: #252e38;

    font-size: 14px;
    font-weight: 700;
}


.review-point-title span {
    display: block;

    margin-bottom: 3px;

    color: #1769aa;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.17em;
}


/* リスト */

.gadget-review-card ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}


.gadget-review-card li {
    position: relative;

    margin: 9px 0;

    padding-left: 21px;

    color: #4d5762;

    font-size: 13px;
    line-height: 1.6;
}


/* GOODのチェック */

.review-good li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #1769aa;

    font-weight: 800;
}


/* CHECK */

.review-bad li::before {
    content: "△";

    position: absolute;
    left: 0;

    color: #777f89;

    font-weight: 800;
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 600px) {

    .gadget-review-card {
        margin: 35px 0;

        padding: 24px 19px;

        border-radius: 17px;
    }


    .single .entry-content
    .gadget-review-card
    .review-card-product {

        font-size: 23px;
    }


    .review-overall {
        gap: 15px;
    }


    .review-score strong {
        font-size: 36px;
    }


    .review-stars {
        font-size: 18px;
    }


    .review-rating-row {
        font-size: 13px;
    }


    .review-rating-stars {
        font-size: 14px;
    }


    .review-pros-cons {
        grid-template-columns: 1fr;
    }

}
/* ==================================================
   PRODUCT SPEC
   製品スペック表
   ================================================== */

.gadget-spec-card {
    width: 100%;

    margin: 32px 0 45px;

    overflow: hidden;

    border: 1px solid #e4e8ec;
    border-radius: 16px;

    background: #ffffff;
}


/* 各行 */

.gadget-spec-row {
    display: grid;

    grid-template-columns: 180px 1fr;

    border-bottom: 1px solid #eaedf0;
}


.gadget-spec-row:last-child {
    border-bottom: none;
}


/* 項目名 */

.gadget-spec-label {
    display: flex;
    align-items: center;

    padding: 16px 20px;

    background: #f5f7f9;

    color: #47515c;

    font-size: 13px;
    font-weight: 700;
}


/* 内容 */

.gadget-spec-value {
    padding: 16px 22px;

    color: #29323c;

    font-size: 14px;
    line-height: 1.7;
}


/* ========================================
   スマートフォン
   ======================================== */

@media screen and (max-width: 600px) {

    .gadget-spec-row {
        grid-template-columns: 115px 1fr;
    }


    .gadget-spec-label {
        padding: 13px 12px;

        font-size: 12px;
    }


    .gadget-spec-value {
        padding: 13px 14px;

        font-size: 13px;
    }

}
/* ==================================================
   こんな人におすすめ
   ================================================== */

.gadget-recommend-box {
    margin: 35px 0;

    padding: 26px 28px;

    border: 1px solid #d9e6f1;
    border-radius: 16px;

    background: #f5f9fc;
}


.gadget-recommend-title {
    margin: 0 0 18px !important;

    color: #1769aa;

    font-size: 17px;
    font-weight: 800;
}


.gadget-recommend-box ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}


.gadget-recommend-box li {
    position: relative;

    margin: 11px 0;

    padding-left: 25px;

    color: #37414c;

    font-size: 14px;
    line-height: 1.7;
}


.gadget-recommend-box li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #1769aa;

    font-weight: 800;
}