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

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

/* 英数字を途中で改行させない */
body {
  word-break: break-all;
}

/* エントリーカートの下に下線 */
#list .a-wrap {
	padding-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}
.list {
	row-gap: 0;
}

/* 英文字 改行解除 */
.entry-card-title,
.entry-list-title,
.related-entry-card-title {
    overflow-wrap: break-word;
    word-break: break-all; /* 必要なら */
}

/* youtubeレスポンシブ */
.video-container {
	max-width: 100%;
}

/* */
header .tagline,
header .site-name-text {
	font-weight: bold;
  	text-shadow: 0 0 3px white, 0 0 3px white, 0 0 3px white;
}


.logo-text {
    padding: 10px 0 30px;
}

/* 「メールアドレスが公開されることはありません。」の文言を非表示 */
.comment-notes { display: none; }

/* プロフィール */
.author-box p {
    font-size: 18px;
	margin-bottom: 0.6rem;
}

/* google map レスポンシブ化 */
.gmap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* タグクラウド文字サイズ  */
.tagcloud a {
    font-size: 18px;
}

.tagline {
    font-size: 16px;
    margin: 0.6em 1em;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
    .tagline {
        font-size: 18px;
    }
	.sp-br {
  	  display: block;
  	}
	
    .entry-card-thumb {
        width: 45%;
    }
	.entry-card-thumb
	 {
		margin-right: 3%;
	}
}

/* =========================
  スマホ時：投稿一覧カードを大きい画像レイアウトに変更
========================= */
@media screen and (max-width: 600px) {

  /* 投稿カード全体 */
  .entry-card-wrap {
    display: block;
    margin: 0 0 48px;
    padding: 0;
    border-bottom: none;
    background: transparent;
  }

  /* 画像・タイトル・日付を重ねて配置する親 */
  .entry-card {
    display: grid;
    grid-template-areas:
      "thumb"
      "title";
    grid-template-columns: 1fr;
    gap: 18px;
    position: relative;
  }

  /* サムネイル画像エリア */
  .entry-card-thumb {
    grid-area: thumb;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;

  border-radius: 12px;
  overflow: hidden;
  }

  /* サムネイル画像 */
  .entry-card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
	border-radius: 12px;
  }

  /* Cocoon標準の本文側の余白を解除 */
  .entry-card-content {
    display: contents;
    margin: 0;
    padding: 0;
  }

  /* タイトル */
  .entry-card-title {
    grid-area: title;
    margin: 0;
    padding: 0 10px;
    font-size: 28px;
    line-height: 1.28;
    font-weight: 700;
  }

  /* 抜粋文は非表示 */
  .entry-card-snippet {
    display: none;
  }

  /* 日付を画像の右下へ重ねる */
  .entry-card-meta {
    grid-area: thumb;
    align-self: end;
    justify-self: end;
    z-index: 3;
    margin: 0 8px 6px 0;
    padding: 2px 6px;
    font-size: 18px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.72);
  }

  /* カテゴリラベルの位置調整 */
  .cat-label {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 16px;
  }
}