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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* スマホでしか改行したくないときに、<br class="only_sp"> */
/* エンスカイショップでは同じ働きのクラス名はspだが、こっちで使うとテンプレをオーバーライドしてしまうので統一不可 */
.only_sp{display: none;}

/* PCでしか表示したくないとき */
.only_pc{display: inline;}

.entry-card-title{-webkit-line-clamp: 10}

/* h2やh3の直前が平文でなくdivだった場合に、背景色が食い込まないための記述 */
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}* html>body .clearfix{display:inline-block;width:100%}* html .clearfix{height:1%}#lightboxIframe{display:none}

/* ロゴの余白調整 */
.logo-image {
    padding: 20px 0 0;
}

/* 不要なラベル表示をなくす */
.cat-label {
	display: none;
}

/* test側の臨時クラス */
.h30px {height: 30px;}


/*TOPページ*/
.status-publish{
	border-bottom: 1px dotted #dddddd;
}

.card-thumb img {
    width: 160px;
	height: 160px !important;
}

.entry-card-content {
    margin-left: 160px;
}

.entry-card-thumb {
    width: 160px;
}

#related-entries{
	border-bottom: 1px dotted #dddddd;
}

.navi-in > ul li {
  display: block;
  width: 176px;
  height: 40px;
  line-height: 40px;
  position: relative;
}

/*記事ページ*/
.main {
    margin: 0 auto;
    padding: 30px 70px;
}

/* キービジュアル下で、レスポンシブにしたい場合 */
.r_text{font-size: 36px; font-weight: bold;}

/* 中見出し */
h2 {
	font-family: "メイリオ" , Helvetica , "Yu Gothic" , sans-serif;
	//background: #f3f3f3;
	color: #1a1a1a;
	font-size: 20px;
	line-height: 27px;
	margin-top: 50px;
	margin-bottom: 25px;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	//border-top:2px solid #ccc;
	//border-bottom:1px solid #ccc;
}

.article h2 {
	background-color: #58a2ed;
	color: #ffffff;
	border: none;
	padding: 12px 20px 8px;
}
.article h2 a{
	text-decoration: none;
	color: #ffffff;
}

.article h3{
	color: #58a2ed;
    padding: 5px 10px 5px 15px;
    border-left: 5px solid #58a2ed;
	border-top: none;
	border-right: none;
    border-bottom: none;
    background-color: transparent;
	font-size: 18px;
}

.sidebar{
	padding: 19px 19px 0;
}

#sidebar h3{
	background-color: #58a2ed;
	font-size: 16px;
	font-weight: normal;
	padding: 6px;
}

.post h4 {
    color: #000;
    background-color: #fbfeff;
	padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 26px;
	border: none;
}

.responbox50{
	display: flex;
}

.responbox50 .lbox {
    float: left;
    padding-right: 7px;
    width: 50%;
    box-sizing: border-box;
}

.responbox50 .rbox {
    float: left;
    padding-left: 7px;
    box-sizing: border-box;
    width: 50%;
}

.graybox {
	padding: 20px;
    border: solid 1px #ccc;
    background-color: #f3f3f3;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
}

.btn-orange {
    text-align: center;
    /* padding: 10px 0; */
    margin: 0 0 10px;
}

.video-container{max-width: 1200px;}

element.style {
    font-size: 16px;
}
* {
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "ＭＳ Ｐゴシック", sans-serif;
    margin: 0px;
    padding: 0px;
}


.btn-orange a{
	/*Other Browser*/
	background: #91bae4;
	/*For Old WebKit*/
	background: -webkit-linear-gradient(
	#f0c555 0%,
	#d8b14c 100%
	);
	/*For Modern Browser*/
	background: linear-gradient(
	#fdd671 0%,
	#ffc52f 100%
	);

    border-radius: 5px;
	color: #565656;
	padding: 16px 35px 6px;
	display: block;
	margin: 0 auto;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	width: 500px;
	height: 60px;
	box-sizing: border-box;
	text-decoration: none;
	line-height: 1.4;
	border-bottom: 1px hidden!important;
}

.btn-orange, .btn-wrap.btn-wrap-orange > a {background-color: #ffffff !important;}

.btn-orange.big  a{ max-width:100%; padding:32px 35px; font-size:24px;}

.btn-orange a:hover{
	color:#565656;
	-moz-opacity: 0.8;
	opacity: 0.8;
border-bottom: none;
}

.btn-gray {
    text-align: center;
    padding: 10px 0;
    margin: 0 0 10px;
}

.btn-gray  a{
	/*Other Browser*/
	background: #91bae4;
	/*For Old WebKit*/
	background: -webkit-linear-gradient(
	#E5E5E5 0%,
	#cecece 100%
	);
	/*For Modern Browser*/
	background: linear-gradient(
	#E5E5E5 0%,
	#cecece 100%
	);
	border-radius:5px; color:#565656; padding:10px 35px; display:block; margin:0 auto; text-decoration:none; font-weight:bold; font-size:1.2em; max-width:300px; box-sizing:border-box; text-decoration:none; border-bottom:1px hidden!important}

.btn-gray a:hover{
	color:#565656;
	-moz-opacity: 0.8;
	opacity: 0.8;
border-bottom: none;
}

a.btn-red {
	color: #E71C14; height: 43px; border-radius: 5px; line-height: 40px; background-color: #ffffff; border: 1px solid #E71C14; width: 200px; padding: 10px; text-decoration:none;
}

a.btn-red :hover{
	background-color: #E71C14; color: #ffffff;
}


.fix_button {
    background-color: #ffc230;
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 50px;
    color: #000000;
    font-size: 1.2rem;
	font-weight: bold;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: 300ms;
    transition: 300ms;
    z-index: 300;
    -webkit-transition: 300ms ease-out;
    transition: 300ms ease-out;
    -webkit-transform: translate3d(0, 0%, 0);
    transform: translate3d(0, 0%, 0);
	text-decoration: none;
}

.footer{position: relative; z-index: -1}


/* 右カラムカテゴリ */
#categories-2 .widget-sidebar-title{
	display: none;
}

#categories-2 select{
	padding: 8px;
	font-size: 16px;
}

#categories-2{
	margin-bottom: 20px;
}

/* 右カラム特集ページ */
.widget-sidebar-title{
	text-align: center;
}

.btn-gray a{ max-width:100%; padding:10px 35px; font-size:14px;}
.btn-gray.big a{ max-width:100%; padding:32px 15px; font-size:24px;}

.side_links{text-decoration: none;}

.wp-image-6964{border: 1px solid #de348a;}

.entry-card-thumb{width: 180px;}

.card-thumb img {width: 160px;}

.pager-post-navi a .iconfont {
  font-size: 1.8em;
  color: #58a2ed;
  padding: 8px;
}

/* 記事ページの下の方　向きをひっくり返す */
.pager-post-navi a.next-post {
  flex-direction: row;
  padding-left: 5px;
}
.pager-post-navi a.next-post .next-post-title {
  margin-left: 10px;
}
.pager-post-navi a.prev-post {
  flex-direction: row-reverse;
  padding-right: 5px;
}
.pager-post-navi a.prev-post .prev-post-title {
  margin-right: 10px;
}
.pager-post-navi a.prev-next-home {
  justify-content: center;
  font-size: 50px;
  text-align: center;
  color: #888;
}

.prev-post-thumb{ text-align: right; }

.widget_custom_html{
	margin-bottom: 0.8em !important;
}

.widget_media_image{
	margin-bottom: 0.5em !important;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.r_text{font-size: 20px; font-weight: bold;}
	.responbox50{
	display: block;
}

.responbox50 .lbox {
	padding-right: 0;
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.responbox50 .rbox {
	padding-left: 0;
    float: left;
    box-sizing: border-box;
    width: 100%;
}
.entry-card-thumb{width: 160px;}
.entry-card-title{height: 160px;}
.entry-card-snippet{height: 0;}
.card-thumb img {width: 160px;}
.only_sp{display: block;}
.only_pc{display: none;}
}



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

.responbox50 .lbox {
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.responbox50 .rbox {
    float: left;
    box-sizing: border-box;
    width: 100%;
}
	
}
