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

/* =========================
   アピールエリア
========================= */
.appeal-content {
    background: none !important;
}

.appeal-title {
    color: #ffffff !important;
    text-shadow: none !important;
    font-size: 20px !important;
    text-align: center;
}

/* =========================
   トップページ：悩み導入エリア
========================= */
.top-intro {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 20px;
}

.top-intro-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.top-lead {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* =========================
   CTA・ボタン
========================= */
.top-cta {
    text-align: center;
    margin: 40px 0;
}

.top-cta-button {
    display: inline-block;
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    background-color: #fc97b4 !important;
    border-radius: 6px;
    text-decoration: none !important;
    text-align: center;
    transition: background 0.3s;
}

.top-cta-button:hover {
    background-color: #ff7fb0 !important;
    color: #fff !important;
}

/* =========================
   トップ：取り組み紹介
========================= */
.top-about {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.top-about-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 28px;
}

.top-about p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* =========================
   トップ：サポート概要
========================= */
.top-support {
    max-width: 720px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.top-support-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.top-support-text {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 24px;
}

/* =========================
   サポート箇条書き
========================= */
.top-support-list {
    margin: 0 0 20px;
    padding: 0;
}

.top-support-item {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}

.top-support-item::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

.top-support-button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background-color: #fc97b4;
    border-radius: 6px;
    text-decoration: none;
}

.top-support-button:hover {
    background-color: #ff7fb0;
    color: #ffffff;
}

/* =========================
   サポータープロフィール
========================= */
.supporter-profile {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px 30px;
    color: #333;
    font-size: 18px;
    line-height: 1.65;
}

.supporter-profile p,
.supporter-profile li {
    font-size: inherit;
    line-height: inherit;
}

.supporter-profile .profile-table th,
.supporter-profile .profile-table td {
    font-size: 18px;
    line-height: 1.6;
    padding: 6px 8px;
    border-bottom: 1px solid #ccc;
}

/* =========================
   本文リンク装飾
========================= */
.entry-content p a:not([style*="background-color"]),
.entry-content li a:not([style*="background-color"]),
.entry-content blockquote a:not([style*="background-color"]) {
    font-weight: 700;
    color: #000;
    border-bottom: 3px solid #fc97b4;
    padding-bottom: 2px;
    text-decoration: none;
    background: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.entry-content p a:not([style*="background-color"]):hover,
.entry-content li a:not([style*="background-color"]):hover,
.entry-content blockquote a:not([style*="background-color"]):hover {
    color: #000;
    border-bottom: 3px solid #fc97b4;
}

/* ボタン・フォームリンクは触らない */
.entry-content a[style*="background-color"] {
    all: unset;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #fc97b4;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}

/* =========================
   post-list リスト
========================= */
.entry-content ul.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.entry-content ul.post-list li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.entry-content ul.post-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.entry-content h1 + p {
    margin-top: 24px !important;
}

/* =========================
   Q&A：QとAの改行位置を揃える
========================= */
.faq-guide p[style*="margin-bottom: 5px"] {
    display: flex;
    align-items: flex-start;
}

.faq-guide p[style*="margin-bottom: 5px"] span:first-child {
    flex-shrink: 0;
    margin-right: 0.3em;
}

.faq-guide p[style*="margin-bottom: 5px"] strong {
    display: inline;
    word-break: break-word;
}

.faq-guide p[style*="margin-top: 0"] {
    display: flex;
    align-items: flex-start;
}

.faq-guide p[style*="margin-top: 0"] span:first-child {
    flex-shrink: 0;
    margin-right: 0.3em;
}

/* =========================
   Q&Aの色と縦並び
========================= */
.top-faq {
    font-size: 18px !important;
}

.top-faq .faq-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.top-faq .faq-q,
.top-faq .faq-a {
    font-size: 18px !important;
}

.top-faq .faq-q {
    color: #e60033;
    font-weight: 600;
    margin-bottom: 6px;
}

.top-faq .faq-a {
    color: #0066cc;
    font-weight: 500;
    margin-left: 0;
}

.top-faq .faq-q span,
.top-faq .faq-a span {
    color: inherit;
    font-weight: 600;
}

.top-faq a {
    color: #0066cc;
    text-decoration: underline;
}

.top-faq a:hover {
    opacity: 0.8;
}

/* =========================
   固定ページ専用：Q&A
========================= */
.page .top-faq .faq-item {
    display: block;
    margin-bottom: 20px;
}

.page .top-faq .faq-q,
.page .top-faq .faq-a {
    display: flex !important;
    align-items: flex-start;
    line-height: 1.6;
    margin: 0 0 6px 0;
}

.page .top-faq .faq-q .label {
    color: #e60033 !important;
    font-weight: 600;
    flex-shrink: 0;
    width: 3em;
}

.page .top-faq .faq-a .label {
    color: #0066cc !important;
    font-weight: 600;
    flex-shrink: 0;
    width: 3em;
}

.page .top-faq .faq-q .text,
.page .top-faq .faq-a .text {
    flex-grow: 1;
    word-break: break-word;
    color: #000;
}

/* =========================
   モバイル対応
========================= */
@media (max-width: 768px) {
    .entry-content p,
    .entry-content li,
    .support-page-inner p,
    .support-page-inner li {
        font-size: 18px !important;
        line-height: 1.65 !important;
    }

    .entry-content a {
        font-size: 18px !important;
        line-height: 1.65 !important;
    }

    .entry-content strong,
    .entry-content strong span,
    .entry-content a strong {
        font-size: 18px !important;
        font-weight: bold;
    }

    .page .top-faq .faq-q .label,
    .page .top-faq .faq-a .label {
        width: 2.5em;
    }

    .page .top-faq .faq-q .text,
    .page .top-faq .faq-a .text {
        font-size: 16px;
    }
}