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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* ==================================================
   パンくずの色を変更
   ================================================== */
/* パンくずの色は taxonomy-film_title.php で動的に生成されるようになりました */
/*
.breadcrumb,
.breadcrumb a {
    color: #fff !important;
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
*/


.breadcrumb {
    /* padding-bottom: 13px; */
    margin-bottom: 0;
}

.footer {
    margin-top: 0;
}

/* ==================================================
   単一記事ページのスタイル
   ================================================== */
body .editor-styles-wrapper>*,
body.single article {
    /* padding: 0 5%; */
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
}

body.single .site-logo-image.header-site-logo-image {
    display: none;
}

body.single #content {
    margin-top: 0;
}

body.single #content-in .entry-title {
    margin-top: 0;
}

/* ==================================================
   Classic Design Theme Styles
   ================================================== */

/* Global Reset & Typography */
body {
    background-color: #f4f4f4;
    /* Off-white background */
    color: #111;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Remove default Cocoon styles if necessary */
.content {
    background-color: transparent !important;
    box-shadow: none !important;
}

.main {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.hero-logo {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 20px 0;
    line-height: 1;
}

.hero-description {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.hero-description p {
    margin: 0;
}

/* Section Styles */
.classic-section {
    margin-bottom: 100px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* List Styles */
.classic-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.classic-item {
    border-bottom: 1px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.classic-item:hover {
    border-color: #999;
}

.classic-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    text-decoration: none;
    color: #111;
    transition: opacity 0.3s ease;
}

.classic-link:hover {
    opacity: 0.7;
    background-color: transparent;
    /* Override Cocoon hover */
}

.classic-meta {
    width: 120px;
    font-size: 0.9rem;
    color: #888;
    font-family: monospace;
    flex-shrink: 0;
}

.classic-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
}

.classic-tag {
    font-size: 0.8rem;
    color: #666;
    border: 1px solid #ddd;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 20px;
}

.classic-arrow {
    margin-left: 20px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.classic-link:hover .classic-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        font-size: 4rem;
    }

    .classic-link {
        flex-wrap: wrap;
    }

    .classic-meta {
        width: 100%;
        margin-bottom: 5px;
    }

    .classic-tag {
        margin-left: auto;
    }
}

/* Recent Posts Scrollable Area */
.recent-posts-section .classic-list {
    max-height: 250px;
    overflow-y: auto;
    /* Custom Scrollbar for Premium Feel */
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-right: 10px;
    /* Space for scrollbar */
}

.recent-posts-section .classic-list::-webkit-scrollbar {
    width: 4px;
}

.recent-posts-section .classic-list::-webkit-scrollbar-track {
    background: transparent;
}

.recent-posts-section .classic-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.recent-posts-section .classic-list::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

/* ==================================================
   モバイルフッターメニューの表示条件を834px以下に変更
   ================================================== */
/* 835px以上では非表示 */
@media screen and (min-width: 835px) {
    .mobile-footer-menu-buttons {
        display: none !important;
    }
}

/* 834px以下で表示 */
@media screen and (max-width: 834px) {
    .mobile-footer-menu-buttons {
        display: flex !important;
    }
}