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

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

.entry-title,
.archive-title {
  margin: 40px 0;
}

.date-tags {
  line-height: 2.5;
  text-align: right;
  margin-bottom: 2em;
}

.sidebar h3 {
        background: none;
        font-size: 16px;
        color: #888888;
        letter-spacing: 2px;
        display: inline-block;
        position: relative;
        width: 100%;
        padding: 0;
        text-align: center;
}

.sidebar h3::before, .sidebar h3::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 28%; /*ラインの長さ*/
        border-top: 3px solid #A1A7B3; /*ラインの色*/
}

.sidebar h3::before {
        left: 0;
}
.sidebar h3::after {
        right: 0;
}



#main .button-caption {
	display: none; /*キャプション非表示*/
}

/*SNSシェアボタン*/
.sns-share-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-share-buttons {
	flex-wrap: nowrap; /*折り返さない*/
	justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-share a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}

/*SNSフォローボタン*/
.sns-follow-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-follow a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}


.kakomi01{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    min-height: 160px;
}
.kakomi01:before, .kakomi01:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.kakomi01:before {left: 10px;}
.kakomi01:after {right: 10px;}
.kakomi01 p {
    margin: 0; 
    padding: 0;
}

.linkbox01 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    min-height: 200px;
}
.linkbox01 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.linkbox01 p {
    margin: 0; 
    padding: 0;
}

.caption01 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
    min-height: 150px;
}
.caption01 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.caption01 p {
    margin: 0; 
    padding: 0;
}

table.endname {
	border-collapse: collapse;
	table-layout: fixed;
	width: 99%;
}

table.endname th, table.endname td {
	border: solid 20px #fff;
	vertical-align: top;
	padding: 6px 6px;
}

td.endname1 {
	width: 145px;
}

td.endname2 {
	background-color: #eee;
	font-size: 13px;
}

/************************************
** おすすめ記事（タイトルあり）
************************************/
.recommend{
  display:-webkit-box;
  	display:-ms-flexbox;
  display:flex;
}
.recommend a{
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 230px;
  text-decoration:none;
}
.recommend a:nth-of-type(1){
  background-image: url("https://suwachan.com/wp-content/uploads/2020/07/1677-1.jpg"); /* 一番左 */
}
.recommend a:nth-of-type(2){
  background-image: url("https://suwachan.com/wp-content/uploads/2022/07/O-008-S.jpg"); /* 左から二番目 */
}
.recommend a:nth-of-type(3){
  background-image: url("https://suwachan.com/wp-content/uploads/2020/07/812.jpg"); /* 左から三番目 */
}
.recommend a:nth-of-type(4){
  background-image: url("https://suwachan.com/wp-content/uploads/2022/08/G82-N-S.jpg"); /* 左から四番目 */
}
.recommend a article:hover{
  background: rgb(100, 100, 100,0.3);
  transition: all .25s ease-out;
}
.recommend a article{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items:flex-end;
  height:100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.recommend a article h2{
  color: #fff;
  font-size: 16px;
  letter-spacing:0.7px;
  text-decoration: none;
  padding: 20px;
  line-height: 1.5;
  text-shadow: 0 0 7px rgba(0,0,0,1);
  font-size: 16px;
}
@media screen and (max-width: 1023px){
  .recommend{
    -ms-flex-wrap: wrap;
    flex-wrap:wrap;
  }
  .recommend a{
    width:50%;
  }
}
@media screen and (max-width: 480px){
  .recommend a{
    height:120px;
  }
  .recommend a article h2{
    line-height:1.7;
    font-size:10px;
    padding: 15px;
  }
}

.recommend a{
    position:relative;
}
.recommend .recommend-label{
    position:absolute;
    top:7%;
    left:5%;
    z-index: 1;
}
.recommend .recommend-label div{
    background:#00AAFF;
    color: #fff;
    padding: 0em 0.8em;
    font-size: 13px;
    border-radius: 20px;
    line-height: 2;
    font-weight:bold;
    letter-spacing:0.5px;
}
@media screen and (max-width: 768px){
  .recommend .recommend-label div{
      padding: 0em 0.8em;
      font-size: 10px;
      line-height: 1.5;
  }
}

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

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

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