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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* =========================
   運営者プロフィール
========================= */

.operator-profile {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: #f8fbfb;
    border: 1px solid #e5eeee;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

.operator-profile h2 {
    color: #12366b;
    text-align: center;
    margin-bottom: 30px;
}

.operator-profile h3 {
    color: #12366b;
    margin-top: 0;
    font-size: 21px;
}

.operator-profile p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
}

.operator-profile img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.operator-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 2px solid #159ca6;
    border-radius: 8px;
    background: #ffffff;
    color: #126b75;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.operator-btn a:hover {
    background: #159ca6;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .operator-profile {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 28px 20px;
        text-align: center;
    }

    .operator-profile img {
        max-width: 140px;
        margin-bottom: 20px;
    }
}
/* =========================
   50プラスラボ 共通ボタン
========================= */

.pluslab-btn .wp-block-button__link,
.pluslab-btn a.wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    padding: 12px 22px !important;

    background: #ffffff !important;
    background-color: #ffffff !important;

    color: #126b75 !important;

    border: 2px solid #159ca6 !important;
    border-radius: 8px !important;

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

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

    box-sizing: border-box;
}


/* マウスを乗せたとき */
.pluslab-btn .wp-block-button__link:hover,
.pluslab-btn a.wp-block-button__link:hover {
    background: #159ca6 !important;
    background-color: #159ca6 !important;

    color: #ffffff !important;

    border-color: #159ca6 !important;

    transform: translateY(-2px);
}


/* スマホ */
@media screen and (max-width: 768px) {

    .pluslab-btn .wp-block-button__link,
    .pluslab-btn a.wp-block-button__link {
        width: 100% !important;
        min-width: 0;
    }
}
/* =========================
   最終CTA
========================= */

.final-guide-cta {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 50px 40px;
    background: #12366b;
    border-radius: 18px;
    text-align: center;
    box-sizing: border-box;
}

.final-guide-cta h2 {
    color: #ffffff;
    margin-bottom: 22px;
}

.final-guide-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
}

/* CTAボタン */
.final-guide-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 14px 26px;
    background: #ffffff;
    color: #12366b;
    border: 2px solid #ffffff;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.final-guide-btn a:hover {
    background: #159ca6;
    border-color: #159ca6;
    color: #ffffff;
    transform: translateY(-2px);
}

/* スマホ */
@media screen and (max-width: 768px) {
    .final-guide-cta {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 35px 20px;
    }

    .final-guide-cta h2 {
        font-size: 23px;
    }

    .final-guide-cta p {
        font-size: 15px;
    }

    .final-guide-btn a {
        width: 100%;
        box-sizing: border-box;
        padding: 13px 18px;
    }
}
/* =========================
   最終CTA 修正版
========================= */

.final-guide-cta {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 50px 40px;

    background-color: #12366b !important;
    color: #ffffff !important;

    border-radius: 18px;
    text-align: center;
    box-sizing: border-box;
}

/* 見出し */
.final-guide-cta h2 {
    color: #ffffff !important;
    margin-bottom: 22px;
}

/* 本文 */
.final-guide-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;

    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.9;
}

/* CTAボタン */
.final-guide-btn .wp-block-button__link,
.final-guide-btn a.wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 280px;
    padding: 14px 28px !important;

    background-color: #ffffff !important;
    color: #12366b !important;

    border: 2px solid #ffffff !important;
    border-radius: 9px !important;

    font-weight: 700;
    text-decoration: none !important;
    box-shadow: none !important;

    transition: all 0.25s ease;
}

/* マウスを乗せたとき */
.final-guide-btn .wp-block-button__link:hover,
.final-guide-btn a.wp-block-button__link:hover {
    background-color: #159ca6 !important;
    color: #ffffff !important;
    border-color: #159ca6 !important;
    transform: translateY(-2px);
}

/* スマホ */
@media screen and (max-width: 768px) {

    .final-guide-cta {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 35px 20px;
    }

    .final-guide-cta h2 {
        font-size: 23px;
    }

    .final-guide-cta p {
        font-size: 15px;
    }

    .final-guide-btn .wp-block-button__link,
    .final-guide-btn a.wp-block-button__link {
        width: 100% !important;
        min-width: 0;
    }
}
body .entry-content .final-guide-cta {
    background-color: #12366b !important;
    color: #ffffff !important;
}

body .entry-content .final-guide-cta h2,
body .entry-content .final-guide-cta p {
    color: #ffffff !important;
}
/* =========================
   最終CTA H2見出し修正
========================= */

.final-guide-cta h2 {
    background: transparent !important;
    background-color: transparent !important;

    color: #ffffff !important;

    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;

    box-shadow: none !important;

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

    text-align: center;
}
/* =========================
   記事下カテゴリーリンク
========================= */

.entry-categories-tags .cat-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin: 8px 6px 8px 0 !important;
    padding: 9px 16px !important;

    background-color: #ffffff !important;
    color: #126b75 !important;

    border: 2px solid #159ca6 !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;
    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

/* マウスを乗せた時 */
.entry-categories-tags .cat-link:hover {
    background-color: #159ca6 !important;
    color: #ffffff !important;
    border-color: #159ca6 !important;

    transform: translateY(-2px);
}
.entry-categories-tags .cat-link::before {
    color: #159ca6 !important;
    margin-right: 6px;
}

.entry-categories-tags .cat-link:hover::before {
    color: #ffffff !important;
}
@media screen and (max-width: 768px) {

    .entry-categories-tags .cat-link {
        padding: 10px 16px !important;
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
}
/* =========================
   トップページの目次を非表示
========================= */

.home .toc,
.home .toc-container {
    display: none !important;
}
/* =========================
   トップページの目次を完全非表示
========================= */

body.home .toc,
body.home .toc-container,
body.home #toc,
body.home .toc-content,
body.home .toc-widget-box,
body.home .entry-content .toc {
    display: none !important;
}
/* =========================
   トップページの目次を完全非表示
========================= */

body.home .entry-content .toc,
body.home .entry-content .toc-container,
body.home .entry-content #toc,
body.home .article .toc,
body.home .article .toc-container {
    display: none !important;
}
body.home .toc-checkbox,
body.home .toc-title,
body.home .toc-list {
    display: none !important;
}
.page-id-193 .toc,
.page-id-193 .toc-container,
.page-id-193 #toc,
.page-id-193 .toc-content,
.page-id-193 .toc-checkbox,
.page-id-193 .toc-title,
.page-id-193 .toc-list {
    display: none !important;
}
/* アイキャッチ上のカテゴリーラベル */
.eye-catch .cat-label,
.entry-card-thumb .cat-label,
.article .cat-label {
    background-color: #159ca6 !important;
    color: #ffffff !important;
}

/* ラベル内リンク文字も白 */
.eye-catch .cat-label a,
.entry-card-thumb .cat-label a,
.article .cat-label a {
    color: #ffffff !important;
}
.home-category-section {
    background-color: #f4fbfc;
    padding: 42px 32px;
    border-radius: 18px;
    margin: 45px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
@media screen and (max-width: 768px) {
    .home-category-section {
        padding: 28px 18px;
        border-radius: 14px;
    }
}