@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 {
  font-family: Inter, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: transparent;
}

::placeholder {
  color: lightgray;
}

.header-in {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 10px;
  width: 100%;
  max-width: 1032px;
}
.header-in::after {
  content: none;
}
.logo-image {
  padding-bottom: 0;
}
.search-box {
  margin: 0;
  padding: 10px 0;
  position: relative;
}

.pickup_article {
  width: 100%;
  max-width: 1032px;
  margin: 0 auto;
  padding: 0 10px;
}
.pickup_article .title {
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0em;
  text-align: left;
  margin-top: 12px;
  margin-bottom: 8px;
}
.pickup_article .article_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pickup_article .article_box .flex1,
.pickup_article .article_box .flex2 {
  width: calc(50% - 20px) ;
}
.pickup_article .article_box .flex1 .entry-card-wrap .entry-card {
  display: flex;
  flex-direction: column;
}
.pickup_article .article_box .flex1 .entry-card-wrap .entry-card .entry-card-thumb,
.pickup_article .article_box .flex1 .entry-card-wrap .entry-card .entry-card-content {
  width: 100%;
  margin-left: 0;
}
.pickup_article .article_box .flex2 .entry-card-wrap .entry-card .entry-card-thumb {
  width: 38%;
}
.pickup_article .article_box .flex2 .entry-card-wrap .entry-card .entry-card-content {
  margin-left: 40%;
}
.pickup_article .article_box .flex1 .entry-card-wrap .entry-card .entry-card-content .entry-card-snippet,
.pickup_article .article_box .flex2 .entry-card-wrap .entry-card .entry-card-content .entry-card-snippet {
  -webkit-line-clamp: 2;
  display: none;
}
.entry-card-wrap .entry-card .entry-card-content {
  padding: 0 8px;
}
.entry-card-wrap .entry-card .entry-card-content .lawyer_info {
  font-size: 14px;
  line-height: 18px;
  margin-top: 36px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}
.pickup_article .article_box .flex1 .entry-card-wrap .entry-card .entry-card-content .lawyer_info,
.pickup_article .article_box .flex2 .entry-card-wrap .entry-card .entry-card-content .lawyer_info {
  flex-direction: row;
  margin-top: 12px;
}

.category_list {
  width: 100%;
  background-image: url(./images/cat_bg.jpg);
  padding-top: 40px;
  padding-bottom: 40px;
}
.category_list-in {
  width: 100%;
  max-width: 1012px;
  margin: 0 auto;
  padding: 30px 65px;
  background: linear-gradient(90deg, rgba(5, 4, 133, 0.78) 0%, rgba(31, 121, 255, 0.78) 97.95%);
}
.category_list .title {
  font-size: 32px;
  font-weight: 700;
  line-height: 39px;
  letter-spacing: 0em;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}
.category_list .category_table {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.category_list .category_table .category_link {
  display: inline-block;
  width: 30%;
  background-color: white;
  margin-bottom: 20px;
  padding: 8px 24px;
  color: black;
  text-decoration: none;
  position: relative;
	font-size: 13px;
}
.category_list .category_table .category_link span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -50%);
  font-weight: bold;
}

.content {
  background: #F2F5FD;
  padding: 0;
  margin-top: 0;
}
.content.front {
  padding: 100px 0;
}
.content-in {
  width: 100%;
  max-width: 1032px;
  margin: 0 auto;
}
.main {
  margin: 0;
  padding: 0 10px;
  background: #F2F5FD;
  width: 67.4%;
}
.entry-card-wrap, .related-entry-card-wrap {
  padding: 0;
  background: #fff;
}
.entry-category{
	display: none;
}
.pagination-next {
  display: none;
}
.page-numbers {
  background: #DDDDFF;
  color: #020202;
  border: none;
}
.pagination .current {
  background: #050586;
  color: white;
}

/* シングルポスト */
.single-post .article h2 {
  font-size: 20px;
  padding: 20px;
  color: white;
  background-color: #081395;
}
.single-post .article h3 {
/*     border-left: 7px solid #081395;
    border-right: 1px solid #081395;
    border-top: 1px solid #081395;
    border-bottom: 1px solid #081395; */
	background-color: black;
	border: 2px solid black;
	border-left: 7px solid black;
	color: white;
    font-size: 1rem;
    padding: 8px 3px;
}
.single-post .article .marker-under {
  background: transparent;
	border-bottom: 1px solid black;
/* 	background: linear-gradient(transparent 80%, #f1ff00 60%); */
/* 	background: black; */
	font-weight: bold;
/* 	color: white; */
	padding: 0px 2px;
	margin-left: 2px;
	margin-right: 2px;
}
.single-post .article .marker {
	background-color: #FFD600;
}
blockquote {
    position: relative;
    padding: 15px 10px 5px;
    box-sizing: border-box;
    background: #f3f3f3;
}
blockquote:before{
    display: inline-block;
    position: absolute;
    top: -8px;
    left: 9px;
    padding: 5px 10px;
    text-align: center;
    content: "QUOTE";
    color: white;
    font-family: sans-serif;
    font-size: 16px;
    background-color: black;
}
blockquote::after{
	content: "";
}
blockquote p {
    position: relative;
    padding: 0;
    margin: 10px 0;
    z-index: 3;
    line-height: 1.7;
}
blockquote cite {
    display: block;
    text-align: right;
    color: rgb(100, 100, 100);
    font-size: 0.9em;
    font-style: italic;
}

/* 見積もり募集バナー（スマホのみ） */
.bottom_fixed_box {
  display: none;
}

/* サイドバー */
/* 人気記事（ウィジェット画面から任意選択） */
.sidebar {
  margin: 0;
  padding: 0 10px;
  background: #F2F5FD;
  width: 30%;
}
.sidebar h3 {
  background-color: transparent;
  padding: 0;
  margin: 16px 0;
}
.sidebar .popular-post-list .popular-post-card {
  display: flex;
  text-decoration: none;
  justify-content: space-between;
  min-height: 80px;
}
.sidebar .popular-post-list .popular-post-card .rank {
  color: white;
  font-size: 14px;
  width: 5%;
  background-color: #000;
  position: relative;
}
.sidebar .popular-post-list .popular-post-card:first-child .rank {
  background-color: #EBBA0C;
}
.sidebar .popular-post-list .popular-post-card:nth-child(2) .rank {
  background-color: #BDBDBD;
}
.sidebar .popular-post-list .popular-post-card:nth-child(3) .rank {
  background-color: #C5910B;
}
.sidebar .popular-post-list .popular-post-card .rank .rank_number {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.sidebar .popular-post-list .popular-post-card figure {
  width: 35%;
  overflow: hidden;
}
.sidebar .popular-post-list .popular-post-card figure img {
  height: 100%;
  width: auto;
}
.sidebar .popular-post-list .popular-post-card .content {
  color: black;
  font-size: 14px;
  line-height: 20px;
  width: 60%;
  padding-left: 8px;
  padding-top: 8px;
  background-color: white;
}
.sidebar .popular-post-list .popular-post-card .content .date {
  color: #595959;
  font-size: 12px;
  line-height: 16px;
}

.category_header {
  background-image: url('./images/bg_category.jpg');
  height: 140px;
  line-height: 140px;
  text-align: center;
  font-size: 24px;
  color: white;
}

/* #individual_inquiry {
  display: none;
}
#individual_inquiry .lawyer_email {
  display: none;
} */

/* フッター */
.footer-in {
  padding: 0 10px;
  width: 100%;
  max-width: 1032px;
}
.footer-bottom-logo {
  width: 35%;
  height: auto;
}
#navi-footer-in {
  display: flex;
  justify-content: center;
}
#navi-footer-in .menu-footer {
  width: 75%;
}
#navi-footer-in .menu-footer .menu-item {
  width: 33%;
  border: none;
  text-align: left;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  main.main {
    margin-top: 0;
  }
  .add-header-contents .search-edit {
    padding: 8px;
    font-size: 14px;
  }
  .pickup_article .article_box .flex1,
  .pickup_article .article_box .flex2 {
    width: 100%;
  }
  .category_list {
    padding: 0;
  }
  .category_list-in {
    padding: 20px 30px;
  }
  .category_list .title {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .category_list .category_table .category_link {
    width: 100%;
  }
  .content.front {
    padding: 20px 0;
  }
  #navi-footer-in .menu-footer {
    width: 100%;
  }
  #navi-footer-in .menu-footer .menu-item {
    width: 48%;
  }
	.sidebar .popular-post-list .popular-post-card {
/* 	  min-height: 80px; */
	}
	.sidebar .popular-post-list .popular-post-card figure img {
		height:auto;
	}
	.sidebar .popular-post-list .popular-post-card figure {
		height:80px;
	}
	
	/* 見積もり募集バナー（スマホのみ） */
  .go-to-top-button {
    display: none;
  }
  .bottom_fixed_box {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    z-index: 198;
    left: 0;
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,.5);
    font-size: 16px;
  }
  .bottom_fixed_box:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background-image: linear-gradient(130deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 75%);
    animation: shine 1.8s infinite;
  }
  @keyframes shine {
    100% {
      left: 100%;
    }
  }
  .bottom_fixed_box .button_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }
  .bottom_fixed_box .button_wrapper a.button_part {
    width: 90%;
    height: 90%;
    margin: 0 auto;
    background: #FFD600;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: black;
    text-align: center;
    text-decoration: none;
  }
	
}

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