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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*
 * Movie Review Critic "Cocoon Custom: Lavity Edition"
 * Base: Cocoon Theme
 * Concept: Premium, Monotone, Convincing Design (POINT OF VIEW style)
 */

/* 1. Typography & Global Colors */
:root {
    --premium-black: #111111;
    --premium-white: #ffffff;
    --premium-grey: #f5f5f5;
    --accent-gold: #c5a059;
    /* Only for subtle accents if needed */
    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Noto Sans JP", sans-serif;
}

body {
    background-color: var(--premium-white);
    color: var(--premium-black);
    font-family: var(--font-sans);
    line-height: 1.8;
}

/* 2. Layout (Minimalist) */
#content {
    background-color: transparent;
}

#main {
    background-color: var(--premium-white);
    padding: 60px 40px;
    border: none;
    box-shadow: none;
}

/* Hide Sidebar (Recommended for Premium Look) */
#sidebar {
    display: none;
}

#main {
    width: 100% !important;
    max-width: 900px;
    margin: 0 auto;
}

/* 3. Header & Footer */
#header {
    background-color: var(--premium-white);
    border-bottom: none;
    /* Removed for seamless hero connection */
    padding: 20px 0;
}

/* Site Title Visibility & Luxury Spacing (color-code.net Style) */
.site-name,
.site-name a,
.site-name-text,
.site-name-text-link,
.logo-header,
.logo-header a {
    color: var(--premium-black) !important;
    font-family: var(--font-serif);
    font-weight: 300 !important;
    /* Lighter weight for premium feel */
    letter-spacing: 0.4em !important;
    /* Wide spacing */
    text-decoration: none !important;
    text-indent: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-transform: uppercase;
}

/* 4. Appeal Area (Hero Section) */
.appeal-area {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 60px;
}

.appeal-content {
    background: transparent !important;
}

.appeal-title {
    font-family: var(--font-serif);
    font-size: 3.5rem !important;
    letter-spacing: 0.3em !important;
    font-weight: 700;
}

/* Catchphrase (Cocoon: .site-description) */
.site-description {
    color: #666 !important;
    font-size: 14px !important;
    font-family: var(--font-serif);
    margin-top: 10px;
    letter-spacing: 0.15em;
    font-style: italic;
    opacity: 0.7;
    text-align: center;
    /* Adjust based on header layout */
}

#footer {
    background-color: var(--premium-black);
    color: #fff;
    padding: 80px 0;
}

/* 4. Headings (The "Dot" Prefix) */
.article h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    border-bottom: none;
    padding: 0;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.article h2::before {
    content: ".";
    color: var(--premium-black);
    margin-right: 8px;
    font-weight: 900;
}

.article h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    border-left: 2px solid var(--premium-black);
    padding-left: 15px;
    margin-top: 50px;
}

/* 5. 6-Tier Rating Badges (Category Labels) */
/* Target Cocoon category labels - using nicenames if enabled in Cocoon */
.cat-label {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 2px;
    text-transform: uppercase;
}

/* Specific styles based on the tiered categories */
/* Note: You might need to adjust these selectors depending on how Cocoon outputs classes */
.cat-label-masterpiece,
[class*="category-masterpiece"] .cat-label {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #000;
}

.cat-label-great,
[class*="category-great"] .cat-label {
    background-color: #333 !important;
    color: #fff !important;
}

.cat-label-good,
[class*="category-good"] .cat-label {
    background-color: #666 !important;
    color: #fff !important;
}

.cat-label-mediocre,
[class*="category-mediocre"] .cat-label {
    background-color: #eee !important;
    color: #333 !important;
}

.cat-label-bad,
[class*="category-bad"] .cat-label {
    background-color: #f9f9f9 !important;
    color: #999 !important;
    border: 1px solid #ddd;
}

.cat-label-shit-movie,
[class*="category-shit-movie"] .cat-label {
    background-color: transparent !important;
    color: #ff4d4d !important;
    border: 1px solid #ff4d4d;
}

/* 6. Eye-catch Images (16:9 Force Aspect Ratio) */
.entry-card-thumb img,
.eye-catch img,
.entry-thumb img {
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 7. Entry Cards (Masonry / List View) */
.entry-card-wrap {
    border: none !important;
    background-color: #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease !important;
    margin-bottom: 40px !important;
}

.entry-card-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

.entry-card-title {
    font-family: var(--font-serif);
    padding: 20px 25px !important;
    font-size: 1.2rem !important;
    line-height: 1.5;
    color: var(--premium-black);
}

.entry-card-snippet {
    padding: 0 25px 25px !important;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.entry-card {
    border: none !important;
    padding: 0 !important;
}

/* 7. Animations (Preparation for GSAP) */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* 8. Pure Design (Hide unnecessary elements) */
/* 編集ボタン（ペンマーク）を全方位から抹殺：あらゆるスキン・アイコンに対応 */
.author-name,
.entry-author,
.author-box,
.post-edit-link,
.edit-link,
.admin-pv,
.article-edit-link,
.page-edit-link,
.card-edit-link,
.post-list-edit-link,
.comment-edit-link,
.sp-post-edit-link,
.article-edit,
.entry-edit,
.entry-card-edit,
.fa-pencil,
.fa-pencil-alt,
.fas.fa-edit,
.fas.fa-pen,
#toc-edit-link {
    display: none !important;
}

/* フッターのサイトタイトルを非表示（重なり問題の解消） */
#footer .logo-footer {
    display: none !important;
}

/* コピーライトの微調整 */
#footer .copyright {
    padding: 20px 0;
    text-align: center;
}


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

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

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