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

/************************************
** 子テーマ用のスタイルを書く
************************************/

.list-flex-item {
  width: calc(33% - 22px);
  margin: 1px;
  padding: 10px 10px 12px 10px;
}

.af-panel > div {
  width: calc(33% - 22px);
}

/*
.footer-left, .footer-center, .footer-right {
  width: 33.33%;
}
*/
.footer-left {
  width: 20%;
}
.footer-center, .footer-right {
  width: 40%;
}

.footer-widgets, .footer-widgets-mobile2 {
  margin: 10px auto;
  display: flex;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
}

/*834px以下*/
@media screen and (max-width: 834px){
  .list-flex-item {
    width: calc(50% - 22px);
    margin: 1px;
    padding: 10px 10px 12px 10px;
  }
  .af-panel > div {
    width: calc(50% - 22px);
  }
  .footer-widgets, .footer-widgets-mobile3 {
    margin: 10px auto;
    display: initial;
  }
  .footer-left, .footer-center, .footer-right {
    width: 100%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .list-flex-item {
    width: 100%;
    margin: 1px;
    padding: 10px 10px 12px 10px;
  }
  .af-panel > div {
    width: 100%;
  }
}


.footer-menu {
  text-align: left;
  border-bottom: 1px solid;
  padding: 10px 0;
  display: block;
  font-size: 14px;
}


footer li {
  text-align: left;
  list-style-type: square;
  margin-left: 2em;
}

footer a {
  color: #000;
  background-color: transparent;
  text-decoration: none;
  font-size: 0.75em;
}

.list {
	flex-direction: row;
}

.list-container {
  display: flex;
  flex-wrap: wrap;
}

.list-entry-card-thumb {
  width: 100%;
}

.list-flex-item .card-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.75em;
}
.list-flex-item .card-desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.75em;
}

.list-card-thumb img {
	width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #111;
}

.related-list-entry-card-meta, .list-entry-card-meta {
	position: absolute;
  bottom: -1.25em;
  right: 0;
}


.top_h2 {
  font-size: 1.25em;
  font-weight: bold;
  border: 3px solid #4c9ac0;
  padding: 0.5em 0.5em;
  box-shadow: 5px -5px #4c9ac0;
  margin: 0.5em 0em;
}

.top_hr {
  margin: 2em 0em;
}

.btn_link01 {
  padding-top: 1em;
}

.btn_link01 a {
    background: #eee;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 480px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.btn_link01 a:hover {
    background: #edf6ff;
}
.btn_link01 a:before, .btn_link01 a:after {
  content: "";
  position: absolute;
  display: block;
  transition: all 0.3s;
  right: 0.6rem;
  top: 50%;
}
.btn_link01 a:before {
  width: 1.4rem;
  height: 2px;
  background: #614f38;
  transform: translateY(-50%);
}
.btn_link01 a:after {
  opacity: 0;
  width: 0;
  height: 0;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn_link01 a:hover:before {
  width: 1.5rem;
}
.btn_link01 a:hover:after {
  opacity: 1;
  width: 8px;
  height: 8px;
}

.af-panel {
	display: flex;
  flex-wrap: wrap;
}

.img-fluid {
	width: 90%;
}

.blog-card {
  background: rgba(251, 140, 0, 0.02);
  border: 1px solid #fb8c00;
  word-wrap: break-word;
  max-width: 100%;
  border-radius: 5px;
  margin: 0px 10px 15px 10px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .2);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.blog-card:hover {
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .2);
  -moz-transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.blog-card:before {
  font-family: FontAwesome;
  position: absolute;
  padding: 2px 6px;
  content: "\f02e 詳細を見る";
  background-color: #fb8c00;
  color: #fff;
  font-size: .8em;
  z-index: 1;
}

.blog-card a {
  text-decoration: none;
}

.blog-card-thumbnail {
  width: 35%;
  display: table-cell;
  vertical-align: middle;
  padding: 10px 0 10px 10px;
}

.blog-card-thumbnail img {
  padding: 0;
}

.blog-card-content {
  display: table-cell;
  vertical-align: middle;
  padding: 1em;
}

.blog-card-title {
  font-size: 1em;
  margin: 5px 10px 5px 0px;
  font-weight: bold;
  line-height: 1.4;
}

.blog-card-title:hover {
  text-decoration: underline;
}

.blog-card-excerpt {
  font-size: .74em;
  color: #4c4c4c;
  margin: 0 10px 5px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card .clear {
  clear: both;
}

.widget-grid-view-image {
    float: left;
    max-width: 50%;
}