@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.3
*/

.box1 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    border: solid 3px #000000;
}
.box1 p {
    margin: 0; 
    padding: 0;
}



/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** エントリーカードの設定
************************************/

#navi .site-name-text {
    font-size: 1em;
}

#navi .navi-logo {
    width: auto;
    height: 100%;
}

#navi .navi-in > ul > li {
    width: 180px;
}

#navi .navi-in.wrap {
    display: flex;

    align-items: center;
    justify-content: center;
}

#navi .navi-in > ul li {
    height: auto;
}

#navi .menu-header {
    margin-left: 2em;

    justify-content: flex-start;
}

#navi .menu-header > li:not(:last-child) {
    margin-right: 1em;
}

#navi .menu-header > .menu-item > a {
    border-bottom: solid .3em #000;
    line-height: 2em;
}

.navi-hamburger {
    position: absolute;
    left: 1em;
    display: none;
}

.navi-menu-icon::before {
    font-size: 2em;
    font-family: FontAwesome;
}

#header {
    margin-top: 40px;
}

.logo {
    padding: 0;
}

.logo .site-name-text {
    padding-bottom: .2em;
    border-bottom: solid .2em #000;
    letter-spacing: .1em;
    font-weight: bold;
    font-size: 4em;
}

.list.ect-entry-card,
.popular-entry-cards,
.widget-entry-cards {
    display: flex;

    align-items: baseline;
    flex-wrap: wrap;
}

.entry-card-wrap,
.entry-card-wrap,
.popular-entry-card-link {
    width: 50%;
}

.entry-card-wrap:first-child {
    width: 100%;
}

.card-content {
    display: flex;
}

.entry-card-content,
.related-entry-card-content,
.widget-entry-cards .widget-entry-card-content {
    margin: 0;
    padding: 0;
}

.ect-vertical-card .entry-card-wrap .entry-card-content {
    padding: 0;
}

.entry-card-thumb,
.popular-entry-card-thumb,
.widget-entry-card-thumb,
.related-entry-card-thumb,
.carousel-entry-card-thumb,
.widget-entry-cards figure {
    float: none;
    margin: 0;
    width: auto;
}

.entry-card-title,
.popular-entry-card-title,
.related-entry-card-title {
    flex: 1;
    overflow: hidden;
    margin: 0;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-card-meta,
.related-entry-card-meta {
    position: static;
    margin: 0;
    padding: 0;
    background: none;
}

.popular-entry-card-pv,
.widget-entry-card-pv {
    margin: 0;
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

@media screen and (max-width: 768px) {
    #navi .logo {
        display: none;
    }

    .navi-hamburger {
        display: block;
    }
}
