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

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

/************************************
** トップページ
************************************/
a {
    text-decoration: none;
}
#header-container {
    box-shadow: 0 0 3px #ccc;
}
.header-container-in.hlt-top-menu {
    padding: 12px 0;
}
#content-top {
    background-image: url(https://imaginarygate.net/blog/wp-content/uploads/2025/10/fv.png);
    height: 320px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: -30px;
}
.list-title {
    display: none;
}
.card-thumb img {
    border-radius: 10px;
}
/*サムネ上のカテゴリ表示*/
.cat-label {
    position: absolute;
    top: 0.5em;
    right:0.5em;
    border: 1px solid #eee;
    font-size: 10px;
    color: var(--cocoon-white-color);
    background-color: rgba(51, 51, 51, 0.7);
    padding: 1px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display:block;
    width:40px;
    text-align:center;
    margin-left:auto;
}
/*記事タイトル*/
.related-entry-card-title, .entry-card-title {
    font-weight: 500;
}
/*もっと見るボタン*/
.list-more-button {
    display: block;
}


.widget-entry-cards:not(.large-thumb-on) .card-title {
    padding: 4px 0;
}

/************************************
** サイドバー
************************************/
.sidebar {
    padding: 0 20px;
}
.sidebar h2, .sidebar h3 {
    padding: 0;
}
select{
    color: #757575;
}
/*プロフィール表示*/
.author-box{
  border: none;
}

.nwa .author-box .author-name {
    text-align: left;
}
.author-box p {
   font-size: 14px;
   line-height: 1.8;
}
.author-box.border-element.no-icon.cf {
    padding: 1rem 0;
}
.nwa .author-box .author-content {
padding: 1rem 0;
}
.nwa .author-box .sns-follow-buttons {
    justify-content: center;
    display: none;
}
/************************************
** 下層ページ表示
************************************/
/*パンくずリストアイコン非表示*/
.fa-fw {
    display: none;
}
/*フォルダ、カレンダーアイコン非表示*/
.fa-calendar,.fa-folder-open {
    display: none;
}
/*メインの上下余白*/
.main {
    padding: 16px 30px;
}

/*目次修正*/
#toc {
    background-color: #f2f2f2;
}
/*見出し修正*/
.article h2, .article h3, .article h4, .article h5, .article h6 {
    padding: 1rem 0;
    margin-bottom: 1em;
    border-left: 0;
}
h2.wp-block-heading {
    font-size: 28px;
    border-left: 4px solid #0a0a0a;
    padding: 1rem;
}
/*管理人表示の非表示*/
.author-info {
    display: none;
}


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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  h2.wp-block-heading {
    font-size: 20px;
}

}

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

main.main {
    padding: 0;
}
.search-box {
    width: 90%;
    margin: 1em auto 2em;
}
  /*一覧ページのサムネイル一列*/
  #list{
    row-gap:0;
  }
.ect-vertical-card {
    flex-direction: column;
    padding: 16px;
}
.ect-vertical-card .entry-card-wrap {
        width: 100%;
        padding: 5px;
        line-height: 1.3;
        margin-bottom: 4px;
        border-bottom: 2px dotted var(--cocoon-x-thin-color);
    }

.ect-vertical-card .entry-card-wrap .entry-card {
    display: flex;
    flex-direction: row;
}
.ect-vertical-card .entry-card-wrap .entry-card-thumb {
    width: 120px;
}


  /*記事ページのサムネイル表示*/
.entry-content {
    padding: 0 16px;
}
    .entry-title{
        padding: 0.6em 16px;
    }
    .archive-title{
        padding: 0 0.8em;
    }
    .date-tags {
    padding: 0 0.8em 0.6em;
}

.sidebar h2, .sidebar h3 {
font-size: 1.1em;
} 
.nwa .author-box .author-thumb {
    margin: 0 auto;
}
.nwa .author-box .author-name {
    text-align: center;
}
}
