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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.site-content article {　/* コンテンツの最下部 */
	border-bottom: 4px double #ededed;
	margin-bottom: 0;
	margin-bottom: 0rem;
	padding-bottom: 0;
	padding-bottom: 0rem;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

footer.entry-meta {　/* メタ表示部分 */
	margin-top: 14px;
	margin-top: 1rem;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #757575;
}

/*特定ページのシェア・フォローボタン非表示*/
.page-id-3 .sns-share,
.page-id-3 .sns-follow {
    display: none;
}

.page-id-326 .sns-share,
.page-id-326 .sns-follow {
    display: none;
}

/************************************
** AI運勢ボックス [ai_horoscope]
************************************/
.ai-horoscope-box {
    background: linear-gradient(135deg, #fff9f0 0%, #fff4fb 100%);
    border: 2px solid #f0c070;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.7;
}

.ai-horoscope-header {
    text-align: center;
    margin-bottom: 16px;
}

.ai-horoscope-date {
    font-size: 13px;
    color: #888;
    margin: 0 0 4px;
}

.ai-horoscope-title {
    font-size: 18px;
    font-weight: bold;
    color: #6b3fa0;
    margin: 0 0 6px;
    border: none;
    padding: 0;
}

.ai-horoscope-badge {
    display: inline-block;
    background: #6b3fa0;
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    padding: 2px 12px;
    margin: 0;
}

/* 星ランキンググリッド */
.ai-horoscope-stars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 12px 8px;
    margin-bottom: 16px;
    text-align: center;
}

.ai-horoscope-star-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.star-label {
    font-size: 12px;
    color: #888;
}

.star-value {
    font-size: 14px;
    color: #e8a000;
    letter-spacing: -1px;
}

/* 総合まとめ文 */
.ai-horoscope-summary {
    background: #fff;
    border-left: 4px solid #6b3fa0;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #333;
}

.ai-horoscope-summary p {
    margin: 0;
}

/* 恋愛・仕事・金運詳細 */
.ai-horoscope-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.ai-horoscope-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
}

.detail-icon {
    font-size: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}

.detail-body strong {
    font-size: 13px;
    color: #6b3fa0;
    display: block;
    margin-bottom: 2px;
}

.detail-body p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/* ラッキー情報 */
.ai-horoscope-lucky {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.lucky-item {
    background: #fff0fa;
    border: 1px solid #f0c0e0;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    color: #555;
}

/* 今日の一言 */
.ai-horoscope-advice {
    background: #f5f0ff;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
}

.ai-horoscope-advice p {
    margin: 0;
    font-size: 14px;
    color: #5a3080;
    font-style: italic;
}

.ai-horoscope-loading {
    color: #999;
    text-align: center;
    padding: 16px;
}

/************************************
** トップページ 12星座グリッド [zodiac_grid]
************************************/
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0 24px;
}

.zodiac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e8d8f8;
    border-radius: 10px;
    padding: 12px 6px;
    text-decoration: none !important;
    color: #333 !important;
    transition: transform 0.15s, box-shadow 0.15s;
}

.zodiac-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(107, 63, 160, 0.18);
    border-color: #b080d8;
}

.zodiac-card img {
    width: 100%;
    max-width: 80px;
    height: auto;
    border-radius: 50%;
}

.zodiac-card-name {
    font-size: 13px;
    font-weight: bold;
    color: #4a2080;
}

.zodiac-card-stars {
    font-size: 11px;
    color: #e8a000;
    letter-spacing: -1px;
}

.zodiac-card-date {
    font-size: 10px;
    color: #aaa;
}

@media screen and (max-width: 599px) {
    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .zodiac-card {
        padding: 8px 4px;
    }
}

/************************************
** 今日の相性星座 [zodiac_compatibility]
************************************/
.zodiac-compat-box {
    background: linear-gradient(135deg, #fff0fa 0%, #f0e8ff 100%);
    border: 2px solid #d8a0e8;
    border-radius: 12px;
    padding: 20px 16px;
    margin: 24px 0;
    text-align: center;
}

.compat-title {
    font-size: 16px;
    font-weight: bold;
    color: #7030a0;
    margin: 0 0 16px;
}

.compat-result {
    min-height: 60px;
}

.compat-btn {
    background: linear-gradient(135deg, #9b59b6, #e91e8c);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
    transition: transform 0.1s, box-shadow 0.1s;
}

.compat-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(155, 89, 182, 0.3);
}

.compat-sign-name {
    font-size: 28px;
    font-weight: bold;
    color: #7030a0;
    margin: 0 0 6px;
}

.compat-sign-desc {
    font-size: 14px;
    color: #555;
    margin: 0 0 14px;
}

.compat-link {
    display: inline-block;
    background: #7030a0;
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 22px;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.compat-link:hover {
    background: #5a2080;
}

/************************************
** 明日の運勢ボタン [tomorrow_fortune]
************************************/
.tomorrow-fortune-box {
    background: linear-gradient(135deg, #0f2f6b 0%, #1a4fa0 100%);
    border-radius: 12px;
    padding: 18px 16px;
    margin: 24px 0;
    text-align: center;
}

.tomorrow-lead {
    font-size: 14px;
    color: #a8c4f0;
    margin: 0 0 12px;
}

.tomorrow-lead strong {
    color: #ffd700;
}

.tomorrow-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a1a !important;
    font-weight: bold;
    font-size: 16px;
    border-radius: 30px;
    padding: 12px 32px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 170, 0, 0.4);
    transition: transform 0.1s;
}

.tomorrow-btn:hover {
    transform: translateY(-1px);
}

/************************************
** 記事中間 AdSense [horoscope_ad_mid]
************************************/
.horoscope-ad-mid {
    margin: 24px auto;
    text-align: center;
}

/************************************
** ococoなら電話占いアフィリエイト [coconala_affiliate]
************************************/
.coconala-affiliate-box {
    background: linear-gradient(135deg, #1a0533 0%, #3d0f6b 100%);
    border-radius: 12px;
    padding: 20px 16px;
    margin: 24px 0;
    text-align: center;
    color: #fff;
}

.coconala-affiliate-lead {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 4px;
    color: #ffd700;
}

.coconala-affiliate-sub {
    font-size: 13px;
    margin: 0 0 14px;
    color: #e0ccff;
}

.coconala-affiliate-banner {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.coconala-affiliate-banner img[width="300"] {
    display: block;
    max-width: 100%;
    height: auto;
}

.coconala-affiliate-note {
    font-size: 13px;
    color: #ffd700;
    margin: 0 0 12px;
}

.coconala-mail-divider {
    margin: 8px 0 10px;
    font-size: 13px;
    color: #c8a8e8;
}

.coconala-mail-banner {
    display: inline-block;
    border-radius: 6px;
    overflow: hidden;
}

.coconala-mail-banner img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
    .ai-horoscope-stars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ai-horoscope-lucky {
        flex-direction: column;
    }
}

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