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

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

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

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

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

/* サイトロゴ画像の影をなくす */
img.site-logo-image {
	box-shadow: none;
}

/* サイトロゴ画像のアニメーションをなくす */
#header-in {
	animation: none;
}


/* ブログのメインカラーを設定する */
:root {
	--blog-main-color: #485C7F;
}

/*本文下の空白を削除*/
.entry-content {
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  /* 本文左右の空白の調整(PC) */
  article>.entry-content,
  aritcle>footer.article-footer {
    padding: 0 20px;
  }
}

@media screen and (max-width: 880px) {
  /* 文字サイズ */
  .page-body {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  /* スマホの文字サイズ */
  .page-body {
    font-size: 15px;
  }
}

/* 画像の影の調整 */
img {
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, .2);
}

/* スマホやタブレットでリンクをタップしたときのハイライト色 */
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 本文SNSフォロー下の空白 */
.body .article {
  margin-bottom: 0;
}

/* 見出し色 */
.toc-title{
	background-color: var(--blog-main-color);
	color: #fff;
}

/* 枠線の種類 太さ 色 */
.toc {
	border: solid 1px var(--blog-main-color); 
}

/* アイキャッチのぼかしをなくす */
.eye-catch img {
  /* ぼかしフィルターの解除 */
  filter: none;
  /* アイキャッチのサイズ修正 */
  object-fit: contain;
  /* 画像の透明度指定 */
  opacity: 1;
}

/* タイトル位置の調整 */
h1.entry-title,
.date-tags {
  position: relative;
  top: 0;
  left: 0;
  padding: 0.5em;
  margin-right: 0;
}

/* 見出しの調整 */
.article h2 {
  /*文字のサイズ*/
	font-size: 25px !important;
  /*左線*/
	border-left: 10px solid var(--blog-main-color);
	/*余白*/
  padding: .5em .7em;
  /*背景色*/
	background: rgba(72,92,127, .1);
  /*文字色*/
	color: #323232;
  /*以下隙間調整*/
	margin-bottom: 15px;
	border-top: none;
	border-bottom: none;
}

/*ホワイトラーメンの見出しの前の丸を消す*/
.article h2::before {
	content: none;
}
/*ホワイトラーメンの見出しの前の丸を消す*/
.article h3::before {
	content: none;
}
/*H3の見出しのデザイン調整*/
.article h3 {
  /*文字のサイズ*/
	font-size: 20px !important;
  /*左線*/
	border-left: 7px solid var(--blog-main-color);
  /*余白*/
	padding: .5em .7em;
  /*文字色*/
	color: #323232;
  /*見出し下の隙間*/
	margin-bottom: 15px;
  /*見出しの上下の線を消す*/
	border-top: none;
	border-bottom: none;
}

/*----------- エントリーカードのデザインここから -----------*/
a.entry-card-wrap.a-wrap.border-element.cf {
  padding: 0 0 .5em;
  border-radius: 10px;
  width: 48%;
  margin-bottom: 2em;
}

a.entry-card-wrap.a-wrap {
  transition: all .1s;
}

a.entry-card-wrap.a-wrap:hover {
  transform: translateY(-1px);
  transition: all .1s;
  background-color: #fff;
}

figure.entry-card-thumb.card-thumb.e-card-thumb {
	max-height: 150px;
	border-radius: 10px 10px 0 0/ 10px 10px 0 0;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.e-card-thumb .cat-label {
	margin-left: .8em;
}

@media screen and (max-width: 1100px) {
  figure.entry-card-thumb.card-thumb.e-card-thumb {
    max-height: 120px;
  }
}

@media screen and (max-width: 1023px) {
  figure.entry-card-thumb.card-thumb.e-card-thumb {
    max-height: 180px;
  }

  a.entry-card-wrap.a-wrap:hover {
    transform: none;
    background-color: #f7f7f7;
  }
}

@media screen and (max-width: 900px) {
  figure.entry-card-thumb.card-thumb.e-card-thumb {
    max-height: 160px;
  }
}

@media screen and (max-width: 750px) {
  figure.entry-card-thumb.card-thumb.e-card-thumb {
    max-height: 130px;
  }
}

@media screen and (max-width: 600px) {
  figure.entry-card-thumb.card-thumb.e-card-thumb {
    max-height: 250px;
  }

  a.entry-card-wrap.a-wrap.border-element.cf {
    margin: .5em 1em !important;
  }

  .ect-vertical-card .entry-card-wrap {
    width: 95% !important;
  }
}

@media screen and (max-width: 480px) {
  .e-card-thumb .cat-label {
    margin-left: 1em;
  }
}

@media screen and (max-width: 1023px) {
  div#list a {
    box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, .2);
  }
}

@media screen and (min-width: 601px) and (max-width: 834px) {
  div#content.content.cf {
    margin: 1em;
  }
}

h2.entry-card-title.card-title.e-card-title {
	font-size: 18px;
	color: #696969;
	font-weight: bold;
	text-align: center;
	line-height: 1.8em;
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 0 1.5em 0;
}
.entry-card-snippet {
	-webkit-line-clamp: unset;
}
.entry-card-snippet.card-snippet.e-card-snippet {
	font-size: 14px;
	color: #7b7b7b;
	text-align: center;
	/*点線の色変更はこちら*/
	border-top: 3px dotted var(--blog-main-color);
	line-height: 1.8em;
	padding-top: 0.6em;
	margin-left: 2em;
	margin-right: 2em;
	margin-bottom: 2em;
	max-height: 20em;
}
@media (max-width:834px) {
  h2.entry-card-title.card-title.e-card-title {
    font-size: 1.15em;
    font-weight: bold;
    line-height: 1.7em;
    padding: 1.5em .8em 1em;
    margin: 0;
  }
  .entry-card-snippet.card-snippet.e-card-snippet {
    font-size: 13px;
    text-align: center;
    /*点線の色変更はこちら*/
    border-top: 3px dotted #6495ed;
    line-height: 1.8em;
    padding: 1em 0.5em 0;
    margin: 0.2em 1em 1.5em;
  }
  main.main,
  div.sidebar {
    padding: 0;
  }
}

a.entry-card-wrap.a-wrap.border-element.cf .post-date,
a.entry-card-wrap.a-wrap.border-element.cf .post-update {
  margin-right: 1.5em !important;
  color: #7b7b7b;
  font-size: .86em;
}

.eye-catch .cat-label,
.cat-label {
  font-size: .7em;
  border-radius: 10px;
  margin: 0.5em;
  padding: 0 0.5em 0;
  /*カテゴリーラベルの色変更はこちら*/
  background-color: #6495ed;
  color: #fff;
}

/*閲覧数を非表示にする*/
div.admin-pv {
  display: none;
}
/*----------- エントリーカードのデザインここまで -----------*/

/*-----------プロフィール欄のデザインここから -----------*/
.nwa .author-box {
  max-width: none;
  padding: 0;
  margin-bottom: 0;
}

aside#author_box-2.widget.widget-sidebar.widget-sidebar-standard.widget_author_box {
  padding: 0 !important;
  border-radius: 10px;
}

@media (max-width: 1023px) {
  aside {
    padding: 0 .5em;
  }
}

aside#author_box-3 {
	padding: 0;
	border-radius: 15px;
}

.nwa .author-box .author-thumb {
  width: 100%;
  height: 9em;
  margin: 0 0 5em 0;
  border-radius: 15px 15px 0 0;
}

.author-box figure.author-thumb {
  float: none;
  text-align: center;
  background: url(https://otossy.jp/wp-content/uploads/2023/11/bg.jpg) center no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}

div.author-box {
	border-radius: 10px;
}

.author-box img.avatar.photo {
  background-image: none;
  padding: 0 !important;
  box-shadow: none;
}

.author-box figure.author-thumb img {
  width: 40%;
  max-width: 180px;
  margin-top: 5em;
}

@media (min-width:1023px) {
  .nwa .author-box .author-thumb {
    height: 8em;
  }

  .author-box figure.author-thumb img {
    max-width: 120px;
  }
}

@media (max-width:480px) {
  .nwa .author-box .author-thumb {
    height: 8em;
  }

  .author-box figure.author-thumb img {
    max-width: 130px;
  }
}

.author-box .author-name {
  margin: 0 0 1.5em 0;
}

.author-box .author-content .author-name a {
  text-decoration: none;
  font-size: 1.2em;
  color: #545454;
}

.nwa .author-box .author-description {
  margin-bottom: 1.5em
}

.author-box .author-content .author-description p {
  font-size: 14px;
  color: #7b7b7b;
  line-height: 1.6em !important;
  margin: 1em;
}

#author_box-2 p {
  margin: 1em 2.5em;
}

div.author-follows {
  padding-bottom: 2em;
}

.author-box .author-content .author-description p a {
  text-decoration: none;
}

.author-box .author-content .author-description p a:hover {
  text-decoration: underline;
}

.author-box .author-content .author-follows .sns-buttons {
  justify-content: center;
}

.author-box .author-content .author-follows .sns-buttons a.follow-button {
  border-radius: 50%;
  border: none;
  width: 40px;
  height: 40px;
  color: #fff !important;
  margin: 3px;
  transition: .5s;
}

div.author-follows a.follow-button.website-button.website-follow-button-sq {
  background-color: #6eb6fd !important;
}
div.author-follows a.follow-button.twitter-button.twitter-follow-button-sq {
  background-color: #7dcdf7 !important;
}
div.author-follows a.follow-button.facebook-button.facebook-follow-button-sq {
  background-color: #7c9dec !important;
}
div.author-follows a.follow-button.hatebu-button.hatebu-follow-button-sq {
  background-color: #2c6ebd !important;
}
div.author-follows a.follow-button.instagram-button.instagram-follow-button-sq {
  background: linear-gradient(165deg, #427eff 5%, #f13f79 50%) no-repeat !important;
}
div.author-follows a.follow-button.pinterest-button.pinterest-follow-button-sq {
  background-color: #bd081c !important;
}
div.author-follows a.follow-button.youtube-button.youtube-follow-button-sq {
  background-color: #cd201f !important;
}
div.author-follows a.follow-button.tiktok-button.tiktok-follow-button-sq {
  background-color: #000000 !important;
}
div.author-follows a.follow-button.linkedin-button.linkedin-follow-button-sq {
  background-color: #0A66C2 !important;
}
div.author-follows a.follow-button.note-button.note-follow-button-sq {
  background-color: #41C9B4 !important;
}
div.author-follows a.follow-button.soundcloud-button.soundcloud-follow-button-sq {
  background-color: #FF5500 !important;
}
div.author-follows a.follow-button.flickr-button.flickr-follow-button-sq {
  background-color: #111 !important;
}
div.author-follows a.follow-button.line-button.line-follow-button-sq {
  background-color: #00c300 !important;
}
div.author-follows a.follow-button.amazon-button.amazon-follow-button-sq {
  background-color: #ff9900 !important;
}
div.author-follows a.follow-button.twitch-button.twitch-follow-button-sq {
  background-color: #5C16C5 !important;
}
div.author-follows a.follow-button.rakuten-room-button.rakuten-room-follow-button-sq {
  background-color: #C61E79 !important;
}
div.author-follows a.follow-button.slack-button.slack-follow-button-sq {
  background-color: #4A154B !important;
}
div.author-follows a.follow-button.github-button.github-follow-button-sq {
  background-color: #4078c0 !important;
}
div.author-follows a.follow-button.codepen-button.codepen-follow-button-sq {
  background-color: #47CF73 !important;
}
div.author-follows a.follow-button.feedly-button.feedly-follow-button-sq {
  background-color: #2bb24c !important;
}
div.author-follows a.follow-button.rss-button.rss-follow-button-sq {
  background-color: #f26522 !important;
}
.author-box .author-content .author-follows .sns-buttons a.follow-button span {
  line-height: 40px;
}
.author-box .author-content .author-follows .sns-buttons a.follow-button span::before {
  font-size: 20px !important;
}

@media (max-width:1023px) {
  .nwa .author-box .author-thumb {
    height: 11em;
    margin: 0 0 7em 0;
  }

  .author-name {
    font-size: 16px !important;
  }

  .author-description {
    line-height: 1.5 !important;
    text-align: center;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1023px) {
  /*スマホ画面でサイドバーを非表示*/
  div.sidebar {
    display: none;
  }
}
/*-----------プロフィール欄のデザインここまで -----------*/