@charset "UTF-8";
/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template:   cocoon-master
Version:    1.1.3
*/

/* ====================================
   LDK Style V32 (Full Screen Carousel Edition)
   ==================================== */

/* --- 1. 基本設定 --- */
:root {
    --main-color: #008F8C; /* 知的で爽やかなティールグリーン */
    --main-color-light: #E0F2F1;
    --accent-color: #F4A261;
    --text-color: #333333;
    --bg-color: #F5F7FA;
    --border-color: #E6EBF0;
}

body {
    background-color: var(--bg-color) !important;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.9;
    font-weight: 500;
    overflow-x: hidden; /* 横スクロール発生防止 */
}

.content-width, .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. ヘッダーデザイン --- */
.header-container {
    background: #fff !important;
    padding: 40px 0 30px !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}

.header-in {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap;
}

.logo-header {
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.site-name-text {
    color: var(--main-color) !important;
    font-weight: 900;
    font-size: 32px;
    font-family: Arial, sans-serif;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.tagline { display: none; }

.search-form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    width: 260px;
    transition: all 0.3s;
}
.search-form:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px var(--main-color-light);
}
.search-edit {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 20px !important;
    font-size: 14px;
    width: 100%;
    height: 44px;
}
.search-submit {
    background: transparent !important;
    color: var(--main-color) !important;
    border: none !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    cursor: pointer;
    height: 44px;
}

/* --- 3. グローバルナビ --- */
#navi {
    background-color: #fff !important;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0; /* カルーセルと密着させる */
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.navi-in, #navi .wrap { background-color: transparent !important; }

#navi .menu-header .item-label {
    color: #555 !important;
    font-weight: bold;
    font-size: 14px;
    padding: 18px 25px;
    transition: color 0.3s;
}
#navi .menu-header > .item-label:hover {
    color: var(--main-color) !important;
    background-color: transparent !important;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* --- 4. カルーセル（画面いっぱいフルワイド版） --- */
#carousel {
    background-color: transparent !important;
    /* 画面幅いっぱいに広げる魔法の記述 */
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 40px 0 60px 0 !important;
    margin-bottom: 60px;
    position: relative;
    overflow: visible !important;
}

/* スライド設定 */
#carousel .slick-slide {
    width: 30vw !important; /* PCでは画面の30%（約3つ表示） */
    min-width: 320px !important;
    max-width: 500px !important;
    margin: 0 15px !important; /* カード間の隙間 */
    box-sizing: border-box !important;
    opacity: 0.6; /* 脇役は少し薄く */
    transition: all 0.5s ease;
    transform: scale(0.95);
}
#carousel .slick-current, #carousel .slick-active, #carousel .slick-center {
    opacity: 1 !important;
    transform: scale(1.05); /* 主役を大きく */
    z-index: 10;
}

/* カードデザイン */
.carousel-entry-card-wrap {
    background: #fff;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin: 0 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    height: 400px !important;
    position: relative;
    width: 100% !important;
    display: block !important;
}

/* 画像エリア（カードいっぱい） */
.carousel-entry-card-thumb {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0; left: 0; z-index: 1;
}
.carousel-entry-card-thumb a { display: block !important; width: 100% !important; height: 100% !important; }
.carousel-entry-card-thumb img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important; /* トリミングして埋める */
    max-width: none !important;
    max-height: none !important;
    border-radius: 12px !important;
}

/* タイトルオーバーレイ */
.carousel-entry-card-content {
    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%) !important;
    padding: 60px 25px 30px !important;
    z-index: 2 !important;
}
.carousel-entry-card-title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1.5;
    margin: 0 !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.carousel-entry-card-date, .carousel-entry-card-snippet, .carousel-entry-card-meta { display: none !important; }

/* 矢印ボタン（画面端に配置） */
.ldk-arrow, .slick-arrow {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 60px !important;
    height: 60px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2) !important;
    border: 1px solid #eee !important;
    z-index: 100 !important;
    position: absolute !important;
    top: 50% !important;
    margin-top: -30px !important;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 0 !important;
}
/* アイコン */
.ldk-arrow::after, .slick-arrow::after {
    content: '' !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    border-top: 3px solid var(--main-color) !important;
    border-right: 3px solid var(--main-color) !important;
    transform: none;
    opacity: 1 !important;
}
/* 左ボタン */
.ldk-prev, .slick-prev {
    left: 30px !important; /* 画面端からの距離 */
    right: auto !important;
}
.ldk-prev::after, .slick-prev::after {
    transform: rotate(-135deg) !important;
    margin-left: 5px !important;
}
/* 右ボタン */
.ldk-next, .slick-next {
    right: 30px !important; /* 画面端からの距離 */
    left: auto !important;
}
.ldk-next::after, .slick-next::after {
    transform: rotate(45deg) !important;
    margin-right: 5px !important;
}
/* ホバー時 */
.ldk-arrow:hover, .slick-arrow:hover {
    background: var(--main-color) !important;
    transform: scale(1.1) !important;
    border-color: var(--main-color) !important;
}
.ldk-arrow:hover::after, .slick-arrow:hover::after {
    border-color: #fff !important;
}

/* ドット */
ul.slick-dots { bottom: -30px !important; width: 100% !important; text-align: center !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
ul.slick-dots li { display: inline-block !important; margin: 0 5px !important; width: 10px !important; height: 10px !important; }
ul.slick-dots li button { width: 10px !important; height: 10px !important; padding: 5px !important; background: #ccc !important; border-radius: 50% !important; opacity: 0.5 !important; }
ul.slick-dots li.slick-active button { background: var(--main-color) !important; opacity: 1 !important; transform: scale(1.2); }
ul.slick-dots li button:before { display: none !important; }


/* --- 5. メインレイアウト（1カラム） --- */
.main {
    width: 100% !important;
    margin-right: 0 !important;
    float: none !important;
}
.sidebar { display: none !important; }

/* 記事カード（3列） */
.list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
}
.entry-card-wrap {
    width: calc(33.333% - 20px);
    background: #fff;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px; /* カードも角丸を強く */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    margin-bottom: 0 !important;
    transition: all 0.3s ease;
}
.entry-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: var(--main-color) !important;
}
.card-thumb img {
    border-radius: 12px 12px 0 0 !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.entry-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin: 15px 0 10px;
    color: var(--text-color);
    padding: 0 15px;
}
.entry-card-meta { padding: 0 15px 15px; color: #999; font-size: 12px; }
.entry-card-snippet { display: none !important; }

.cat-label {
    background: var(--main-color) !important;
    font-size: 11px !important;
    padding: 5px 12px !important;
    border-radius: 20px;
    top: 10px !important;
    left: 10px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ページネーション */
.pagination { margin-top: 80px !important; }
.pagination a, .pagination span {
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    border: 1px solid var(--border-color) !important;
    background: #fff !important;
    color: var(--text-color) !important;
    margin: 0 5px !important;
}
.pagination .current {
    background: var(--main-color) !important;
    color: #fff !important;
    border-color: var(--main-color) !important;
}

/* --- 6. スマホ表示 --- */
@media screen and (max-width: 480px) {
    .content-width, .wrap { padding: 0 15px; }
    .header-container { padding: 20px 0 !important; }
    .header-in { flex-direction: column; align-items: center; }
    .logo-header { text-align: center !important; margin-bottom: 15px !important; }
    .site-name-text { font-size: 26px; }
    .header-right { width: 100%; justify-content: center; }
    
    .main { width: 100% !important; margin: 0 !important; }
    .list { gap: 10px; }
    
    .entry-card-wrap { 
        width: calc(50% - 5px) !important; 
        margin-bottom: 10px !important; 
    }
    .entry-card-title { font-size: 13px; padding: 0 10px; margin: 10px 0 5px; }
    
    /* スマホカルーセル */
    #carousel { 
        padding: 0 0 40px 0 !important; 
        margin-bottom: 30px; 
        width: 100vw !important; /* スマホでもフル幅 */
        margin-left: -15px !important; /* コンテンツ余白分を打ち消す */
        margin-right: -15px !important;
    }
    #carousel .slick-slide {
        width: 80vw !important; /* 画面の80% */
        margin: 0 10px !important;
    }
    .ldk-arrow, .slick-arrow { display: none !important; }
    .carousel-entry-card-wrap { height: 260px !important; border-radius: 12px !important; }
}
/* --- ここから下に追記してください --- */

/* ふわっと浮き上がるアニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ヒーローヘッダーの装飾 */
.hero-section {
    position: relative;
    background: linear-gradient(-45deg, #008F8C, #00b4db, #56cfe1, #E0F2F1);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 0 0 50% 50% / 20px;
    box-shadow: 0 10px 30px rgba(0, 143, 140, 0.2);
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.hero-subtitle {
    font-size: 18px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 30px;
}
.hero-btn {
    display: inline-block;
    background: #fff;
    color: #008F8C;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 編集部紹介の装飾 */
.about-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin: 0 auto 60px;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid #E6EBF0;
}
.about-img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #eee;
    overflow: hidden;
    border: 4px solid #E0F2F1;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1; }
.about-title { font-size: 14px; color: #008F8C; font-weight: bold; margin-bottom: 5px; display: block; }
.about-name { font-size: 20px; font-weight: 900; margin-bottom: 15px; }
.about-desc { font-size: 14px; color: #666; line-height: 1.8; }

@media screen and (max-width: 600px) {
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 14px; }
    .about-section { flex-direction: column; text-align: center; padding: 20px; }
    .about-img { margin: 0 auto 15px; }
}