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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/** フッター */
.footer-left {
	width: auto;
}
.footer-widgets .textwidget > p{
  font-size: 16px;
	line-height: 1.5;
}
.footer-center, .footer-right {
	width: 0;
}
.footer-left, .footer-center, .footer-right {
	padding: 0 16px;
}
.footer-widgets {
	margin-bottom: 0;
}
.footer-widgets .widget {
	margin-bottom: 0;
}
.footer-bottom {
	margin: 0;
  padding-top: 0;
}
/** モバイル設定 */
@media screen and (max-width: 834px) {
	.footer-widgets {
		display: block;
	}
  .footer-widgets .textwidget > p{
    font-size: 13px;
	  line-height: 1.2;
  }
}
@media screen and (max-width: 1020px) {
	.wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
		width: 100%;
	}
}
/** ブログ */
#main .sns-share a {
	width: 2.5em;
	margin-left: 0.2em;
}
.sns-share-buttons {
	justify-content: right;
}
#main .button-caption {
	display: none;
}
#main .social-icon {
	font-size: 20px;
}

/* 中立ボタン（表・本文共通） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  color: #333;
  background: #f2f2f2;
  border: 1px solid #ccc;
  white-space: nowrap;
  transition: background 0.2s;
	margin-right: 4px;
}
.btn:hover {
  background: #e5e5e5;
}

/* ブランドカラー（強調したいときだけ使う） */
.btn-brand {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.btn-brand:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-brand.rakuten { background: #c00; }
.btn-brand.amazon  { background: #ff9900; }
.btn-brand.kobo    { background: #005bac; }
.btn-brand.kindle  { background: #333; }

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

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

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