@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

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

/*H2H3の上の余白を調整*/
.article h2 {
margin-top: 100px;
  font-size: 27px;
  color: #3a3a3a;
  background-color: transparent;
padding: 0px;
}

.article h3 {
  margin-top: 50px;
	border-left: 0px solid var(--cocoon-middle-thickness-color);
	border-right: 0px solid var(--cocoon-thin-color);
	border-top: 0px solid var(--cocoon-thin-color);
	border-bottom: 0px solid var(--cocoon-thin-color);
}

/*H3デザイン 消えゆく下線*/
.article h3 {
position: relative;
padding: 0.25em 0;
}
.article h3:after {
content: "";
display: block;
height: 4px;
background: -webkit-linear-gradient(to right, rgb(150, 150, 150), transparent);
background: linear-gradient(to right, rgb(150, 150, 150), transparent);
}


/*サイドバーのH2の背景色を消す*/
.sidebar h2 {
  color: #fff;
}

/*サイドメニューのアイコンカラー*/
.box-menu-icon{
  color: #003f8e;
}

.box-menu:hover {
    box-shadow: inset 2px 2px 0 0 
#003f8e,2px 2px 0 0 #003f8e,2px 0 0 0 #003f8e,0 2px 0 0
    #003f8e;
} 

/*アフィボックスバナーカラー*/
.shoplinkamazon a {
    background: #2a2a2a;
    transition: .4s;
}
.shoplinkamazon a:hover {
    background: #666666;
    color: #fff;
    opacity: 1;
}
.shoplinkrakuten a {
    background: #2a2a2a;
    transition: .4s;
}
.shoplinkrakuten a:hover {
    background: #666666;
    color: #fff;
    opacity: 1;
}
.shoplinkyahoo a {
    background: #2a2a2a;
    transition: .4s;
}
.shoplinkyahoo a:hover {
    background: #666666;
    color: #fff;
    opacity: 1;
}

.shoplinkbtn2 a {
	background: #2a2a2a;
	transition: .4s;
}

.shoplinkbtn2 a:hover {
    background:  #666666;
    color: #fff;
    opacity: 1;
}

.shoplinkbtn3 a {
	background: #2a2a2a;
	transition: .4s;
}

.shoplinkbtn3 a:hover {
    background:  #666666;
    color: #fff;
    opacity: 1;
}

/* デカボタンの色*/
.btn-blue { 
	background-color: #6EC6FF;
} 

.btn-black { 
	background-color: #424242;
} 

.btn-pink { 
	background-color: #F45866;
} 

.btn-red { 
	background-color: #FF1744;
} 


/*---SNSボタンを丸くする---*/
#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; /*ボタンの高さ*/
}

/* ホーム画面タブ
-------------------------------------------------- */
#main #index-tab-wrap .index-tab-buttons {
  box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.2);
}

#main #index-tab-wrap .index-tab-buttons .index-tab-button {
  border: none;
  background-color: #fff;
  border-radius: unset;
  color: #b9b9b9;
  margin: 0;
}

#main #index-tab-wrap .index-tab-buttons .index-tab-button:hover {
  color: #fff;
  background-color: #7F869A;
}

#main #index-tab-wrap #index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"] {
  background: linear-gradient(45deg, #9BA4B5, #B7BECA);
  color: #fff;
}

#main #index-tab-wrap #index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"] {
  background: linear-gradient(45deg, #9BA4B5, #B7BECA);
  color: #fff;
}

#main #index-tab-wrap #index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"] {
  background: linear-gradient(45deg, #9BA4B5, #B7BECA);
  color: #fff;
}

#main #index-tab-wrap #index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"] {
  background: linear-gradient(45deg, #9BA4B5, #B7BECA);
  color: #fff;
}

/* ヘッダーとコンテンツの間の隙間をなくす*/
.content { 
margin-top: 0;
}

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

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

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

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

/*ボックスの線を細く・少し狭くする*/

.blank-box {
	border: 1px solid;
	padding: 30px 20px;
	margin: 5px;
}

/*リストのpaddingを狭くする*/
ol, ul {
  padding-left: 20px;
}

/*pickup→関連記事、黄色の色味を変更*/
.bb-pickup .bb-label::after {
content: "関連記事";
}
.blank-box.bb-tab.bb-yellow .bb-label {
  background-color: #fdc44f;}

/* 枠の黄色の色を変更 */
.blank-box.bb-yellow {
	border-color: #fdc44f;
} 

/* 枠の赤色を変更 */
.blank-box.bb-red {
	border-color: #f27398;
} 

/* 枠の灰色を変更 */
.blank-box {
	border-color: #ccc;
} 


/*タイトル背景色ありボックス（青）*/
.box1-blue{
	margin: 2em auto; /* ボックスの余白 */
	background: #e6f1f9; /* ボックス背景色 */
	border-radius:4px; /* ボックス角丸 */
	max-width:800px; /* ボックス横幅 */
	padding: 3.5em 2em 1.5em; /* ボックス内側余白 */
	position:relative; /* 配置に関するもの(ここを基準に) */
}
.box1-blue .box-title {
	background: #0e7ac4; /* タイトル背景色 */
	color: #fff; /* タイトル文字色 */
	font-weight: bold; /* タイトル文字の太さ */
	font-size: 16px;/* タイトル文字の大きさ */
	padding: 5px;/* タイトル周りの余白 */
	text-align: center;	/* タイトル中央寄せ */
	border-radius: 4px 4px 0px 0px;	/* タイトル角丸 */
	position:absolute;	/* 配置に関するもの(ここを動かす) */
	top:0;	/*上から(0px)に配置 */
	left:0; /*左から(0px)に配置 */
	width:100%;/*横幅最大幅 */
}
.box1-blue p {
	margin: 0;/* 文字の余白リセット */
	padding: 0; /* 文字の内側余白リセット*/
}

/*枠上にタイトルがあるボックス(直線)（黄）*/
.box3-yellow {
	position: relative;	/* 配置に関するもの(ここを基準に) */
	max-width:800px; /* ボックスの横幅 */
	margin: 2em 0;	/* ボックスの外側余白(上下:2em　左右:auto) */
	padding: 1em;	/* ボックスの内側余白(上下:1em　左右:１em) */
	border: 2px solid #fdc44f;	/* ボックスの線 (太さ　線の種類　線の色)*/
	border-radius: 4px;	/* ボックスの角丸 */
}
.box3-yellow .box-title {
	position: absolute; /* 配置に関するもの(ここを動かす) */
	top: -10px; /* 上から（-10px）移動*/
	left: 15px; /* 左から(30px)移動 */
	background: #fff; /* タイトル背景色 */
	color: #fdc44f; /* タイトル文字色 */
	padding: 0 10px;/* タイトルの余白 */
	line-height: 1;/* タイトルの行の高さ */
	font-size: 18px;/* タイトル文字の大きさ */
	font-weight: bold;/* タイトル文字の太さ */
}
.box3-yellow p {
	margin: 0; /* 文字の外側余白リセット*/
	padding: 0; /* 文字の内側余白リセット*/
}

/*tablepressの横スクロールを可能にする*/
div.myScrollBox {
  overflow: scroll;
  white-space: nowrap;
}

/*アプリーチ*/
.appreach {
  text-align: left;
  padding: 10px;
  border: 1px solid #7C7C7C;
  overflow: hidden;
}
.appreach:after {
  content: "";
  display: block;
  clear: both;
}
.appreach p {
  margin: 0;
}
.appreach a:after {
  display: none;
}
.appreach__icon {
  float: left;
  border-radius: 10%;
  overflow: hidden;
  margin: 0 3% 0 0 !important;
  width: 25% !important;
  height: auto !important;
  max-width: 120px !important;
}
.appreach__detail {
  display: inline-block;
  font-size: 20px;
  line-height: 1.5;
  width: 72%;
  max-width: 72%;
}
.appreach__detail:after {
  content: "";
  display: block;
  clear: both;
}
.appreach__name {
  font-size: 16px;
  line-height: 1.5em !important;
  max-height: 3em;
  overflow: hidden;
}
.appreach__info {
  font-size: 12px !important;
}
.appreach__developper, .appreach__price {
  margin-right: 0.5em;
}
.appreach__posted a {
  margin-left: 0.5em;
}
.appreach__links {
  float: left;
  height: 40px;
  margin-top: 8px;
  white-space: nowrap;
}
.appreach__aslink img {
  margin-right: 10px;
  height: 40px;
  width: 135px;
}
.appreach__gplink img {
  height: 40px;
  width: 134.5px;
}
.appreach__star {
  position: relative;
  font-size: 14px !important;
  height: 1.5em;
  width: 5em;
}
.appreach__star__base {
  position: absolute;
  color: #737373;
}
.appreach__star__evaluate {
  position: absolute;
  color: #ffc107;
  overflow: hidden;
  white-space: nowrap;
}

/*アコーディオン*/
details {
  border: 1px solid #ccc;
}
details:not(:last-child) {
  margin-bottom: 20px;
}

/**
 * list-style: none; ←デフォルト三角削除（Chrome非対応）
 * cursor: pointer; ←カーソルをポインターに
**/
details summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  background: #e4e4e4;
  color: #242323;
  font-size: 1rem;
  font-weight: bold;
}
/**
 * Chrome用のデフォルト三角削除
**/
details summary::-webkit-details-marker {
  display: none;
}
/**
 * Font Awesomeのプラスアイコン使用
**/
details summary::before {
  font-family: FontAwesome;
  content: '\f067';
  margin-right: 20px;
}
/**
 * アコーディオンがオープン時はマイナスアイコンに変更
**/
details[open] summary::before {
  content: '\f068';
}

details p {
  margin: 0;
  padding: 20px;
}

/* TwitterをPCでは横並びにする */
.flex {
	display: flex; /* これで横並びになる */
}
.twitter-tweet {
	padding: 5px; /* 1つのツイートの周りに5pxの余白をつける */
	margin: 10px auto; /* ツイートを中央寄せにする */
}

/* 画面サイズ960px以下ではTwitterを縦並びに変える */
@media (max-width: 960px) {
.flex {
	display: block; /* 横並びを解除 */
}
.twitter-tweet {
	padding: 0; /* 縦並びでは余白なし */
}
}

/* table内のフォントサイズを変更 */
table {
  font-size:14px;
}

/*注意メッセージ*/
.is-style-warning-box,
.warning-box,
.danger-box,
.sp-warning,
.sp-warning,
.success-box,
.secondary-box,
.warning {
color: #333333;
border-width: 1px;
}

/*灰色ボックス*/
.is-style-secondary-box,
.secondary-box {
  color: #333333;
  background-color: #f7f7f8;
  border-color: #d6d8db;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/*ページナビ*/
.pagination-next {
	display: none;
}
.page-numbers {
    color: var(--cocoon-text-color);
    text-decoration: none;
    display: inline-block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 4px;
    border-radius: 0;
    border:none;
}
.pagination .current,
.pagination a:hover {
    background-color: #111;
    color: #fff;
}
.page-numbers.dots {
    opacity: 1;
    background-color: #fff;
}

/* サイドバーSNSボタンを丸くする */
.sidebar [class^=icon-], .sidebar [class*=" icon-"]{
    line-height: 40px;
    font-size: 23px;
}
#sidebar .widget_author_box .author-box .follow-button, #slide-in-sidebar .widget_author_box .author-box .follow-button{
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* サイドバープロフィール背景色をつける */
#sidebar .widget_author_box .author-box{
background: #f7f7f8;
border: none; /* 外枠線を消す */
}

/* ===== ヘッダー高さ拡張 ===== */
#header-container,
#header,
#header-in {
  height: 80px !important;
}

/* ヘッダー内のロゴを縦中央揃え */
#header-in {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding-top: 10px !important;
}

/* ===== モバイル時のヘッダー余白 ===== */
@media screen and (max-width: 782px) {
  #header-in {
    padding-top: 24px !important; /* 管理バーが46pxになる分を補正（10px + 14px） */
  }
}

/* ===== サイトタイトル カスタム表示 ===== */
/* 元のテキストを非表示 */
#header .site-name-text {
  font-size: 0;
  color: transparent;
}

/* 親要素 */
#header .site-name-text {
  display: block;
  text-align: center; /* 必要に応じて中央寄せ */
  line-height: 1.2;
}

/* 1行目：メインタイトル */
#header .site-name-text::before {
  display: block; /* ここを追加 */
  content: "スピカ・ノート";
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #2a2a2a;
}

/* 2行目：サブタイトル */
#header .site-name-text::after {
  display: block; /* ここを追加 */
  content: "spkNote";
  font-size: 14px;
  color: #666666;
  margin-top: 5px; /* 上の文字との間隔 */
}

/* ホバー時の色変更 */
#header .site-name-text-link:hover .site-name-text::before {
  color: #666666;
}
#header .site-name-text-link:hover .site-name-text::after {
  color: #999999;
}

/* ===== フッターのサイトタイトルを非表示 ===== */
#footer .site-name-text {
  display: none !important;
}

#footer .logo-footer {
  display: none !important;
}

/* ===== ヘッダータイトルを左に寄せる ===== */
#header .logo {
  padding-left: 100px;
}

/* 投稿ページ（記事）1カラムwidth */
.single.no-sidebar .wrap {
    max-width: 800px;
}

/* ===== ホームリストタイトル ===== */
.list-title {
    text-align: center;
    font-size: 32px;
    margin-top: 2em;
    margin-bottom: 1em;
}

/* ===== もっと見るボタン カスタム ===== */
.list-more-button {
  /* テキストをmoreに変更 */
  font-size: 0 !important;
}

.list-more-button::before {
  content: "more";
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: #555555;
}

.list-more-button {
  display: inline-block !important;
  padding: 10px 48px !important;
  margin: 20px;
  border: 1px solid #aaaaaa !important;
  border-radius: 0 !important;        /* 角丸なし → スクエアでシャープに */
  background: transparent !important;
  transition: all 0.2s ease !important;
}

.list-more-button:hover {
  border-color: #333333 !important;
  background: transparent !important;
}

.list-more-button:hover::before {
  color: #333333;
}

/* ===== 記事ページ：サムネイル画像をタイトルの上に表示 ===== */
.article-header {
  display: flex !important;
  flex-direction: column !important;
}

.article-header .eye-catch-wrap {
  order: -1 !important; /* 画像を先頭に */
}

/* ===== 記事タイトル装飾（note風） ===== */
.article-header .entry-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #0d1117;
  margin-top: 40px;
  margin-bottom: 24px;
  padding-bottom: 0;
}

/* ===== 本文の読みやすさ改善（note参考） ===== */

/* 段落：余白を広げて読みやすく */
.entry-content p {
  margin-bottom: 36px;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

/* コンテンツ幅を絞って1行を読みやすい長さに */
.entry-content {
  max-width: 740px;
}

/* h2：上の余白を確保してセクションの区切りを明確に */
.entry-content h2 {
  margin-top: 80px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* h3：h2より控えめな余白 */
.entry-content h3 {
  margin-top: 48px;
  line-height: 1.5;
}

/* ===== テーブルのフォントサイズを小さくしてセル幅を詰める ===== */

.entry-content table {
  font-size: 13px;
}

/* トップページなどのサムネイル上のカテゴリーラベルを非表示にする */
.cat-label {
    display: none;
}