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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* =====================
 ヘッダーメニュー
 ===================== */
.navi-in > ul {
    justify-content: flex-end;
    gap: 16px;
}

.navi-in > ul li {
    height: 40px;
    line-height: 40px;
}

/*マウスオーバー時の背景の大きさを調整*/
.navi-in a:hover {
    height: 38px;
    border-radius: 16px;
}

/*ボタン風*/
.menu-item {
    border: 1px solid #666;
    border-radius: 16px;
}

/* ヘッダーメニューの余白 */
.header-container {
    padding: 8px;
}

/*アカウント登録*/
.caption-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#menu-item-55 .caption-wrap::before {
    font-family: "Material Icons";
    content: '\e7fe';
}

/*ログイン*/
#menu-item-57 .caption-wrap::before {
    font-family: "Material Icons";
    content: '\ea77';
}


/*ログアウト*/
#menu-item-59 .caption-wrap::before {
    font-family: "Material Icons";
    content: '\e9ba';
}

/* フォームのアスタリスクの色 */
.um .um-form span.um-req {
    color: #d54949;
    font-size: 1.2em;
}

/* フォーム入力時の文字色 */
.um .um-form input[type=text] {
    color: #111;
}

/* エントリーカードのデザイン */
.admin-pv,
.card-arrow .a-wrap::after {
    display: none !important;
}

.ect-vertical-card .entry-card-wrap {
    width: 49%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.entry-card-wrap.a-wrap {
    padding: 48px;
}

.widget-entry-card-link:hover,
.ect-vertical-card .entry-card-wrap:hover {
    transform: translateY(-5px);
}

.entry-card-wrap.a-wrap:hover {
    background-color: transparent;
}

.entry-card-content {
    padding: 0 1rem;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb img {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.entry-card-title {
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.entry-card-snippet {
    margin-top: 1rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.post-date, .post-update {
    display: inline-block;
    margin-bottom: 1rem;
    margin-right: 1rem !important;
}

.entry-card-thumb .cat-label {
    top: 2%;
    left: 2%;
    line-height: 1.8;
    font-size: 0.5em;
    font-weight: 500;
    padding: 0.5em 1em;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    background-image: linear-gradient(to right, #008080 0%, #20B2AA 100%);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.entry-card-thumb .cat-label::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    top: -2px;
    left: 0;
    background-color: #fff;
}

.widget-entry-card-link {
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .27);
}

.no-thumbnail .widget-entry-cards div.widget-entry-card-content {
    margin: 0;
    padding: 8px;
    font-size: 0.9em;
}

/* エントリーカードのカテゴリー */
.no-thumbnail .e-card-meta .e-card-categorys {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(106, 176, 222, 0.8) 0%, rgba(93, 156, 236, 0.8) 100%);
    padding: 5px 10px;
    color: #fff;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
}

.no-thumbnail .e-card-meta .e-card-categorys::before {
    font-family: "Material Icons";
    content: '\e574';
}

/* トップページ下部カテゴリー２列部分 */
.fpt-columns {
    column-gap: 2%;
}

.ect-2-columns > *, .fpt-2-columns > * {
    width: 48.5%;
}

/* サイドバーのカテゴリー */
.cat-item {
    position: relative;
    margin-bottom: 16px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .27);
    transition: all 0.3s ease-in-out;
}

.cat-item a::before {
    position: absolute;
    right: 4px;
    font-family: "Material Icons";
    content: "\e5e1";
}


@media screen and (max-width: 650px) {
    .ect-vertical-card .entry-card-wrap {
        width: 90%;
        margin: 1rem auto;
        min-height: 300px;
    }

    .entry-card-title {
        font-size: 1rem;
    }

    .entry-card-snippet {
        font-size: 0.8rem;
    }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
    /*ヘッダーメニューの項目間隔*/
    .menu-item {
        margin: 32px 0;
        text-align: center;
    }
}

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

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