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

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

/*■ 囲み枠角丸 https://saruwakakun.com/html-css/reference/box */
/* 囲み枠角丸 */
.box26 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.box26 .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;
}
.box26 p {
    margin: 0; 
    padding: 0;
}

/*■ カスタムテーブルのスタイル */
.custom-table {
    margin-left: 0px; /* 左側の余白を追加 */
    margin-right: 0px; /* 右側の余白を追加 */
	border: 3px solid #000; /* 枠線のスタイル */
}

.custom-table td {
    padding: 1px; /* セルの左右上下の余白を0に設定 */
    border: 1px solid #000; /* セルの枠線のスタイル */
    background-color: ; /* セルの背景色 */
	border: 2px solid #000; /* セルの枠線のスタイル */
}

.custom-text {
    line-height: 1; /* テキストの行間を調整 */
}

/*■ 見出しの上に画像を重ねる */
.aligncenter {
    position: relative; /* 親要素に対して相対的な位置を指定 */
}

/*■ 画像の上にテキストをCSS */
.image-wrapper {
  position: relative;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*■ 見出しのフォントサイズ変更 */
.article h2 {
	font-size: 28px;
}

.article h4 {
	font-size: 22px;
}

/*■ アプリ紹介CSS カスタマイズ */
/*■ 参考サイト：https://mama-hack.com/app-reach/ */
.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;
}



/*■ タグクラウド カスタマイズ */
/*■ 参考サイト：https://masaa.net/2019/01/05/post-190105-1/ */

.tagcloud {
  padding: 0px 2px 0px 2px;
}

.tagcloud a {
  text-decoration: none; /*テキスト初期化*/
  color: #fff; /*タグフォントカラー*/
  font-size: 12px; /*タグフォントサイズ*/
  font-weight:bold; /*文字強調*/
  display: inline-block; /*横並びで上下左右空白有り*/
  background-color: #fe619a; /*タグ背景色*/
  padding: 2px 6px 0px 6px; /*タグ内側余白*/
  margin-right: 2px; /*タグ外側右余白*/
  margin-bottom: 2px; /*タグ外側下余白*/
  border-radius: 9px 3px; /*タグデザイン*/
  border: 0px; /*タグ枠線無し*/
  word-break: break-all; /*テキストの途中で改行させない*/
}

.tagcloud a:hover {
  background: #ffddee; /*ホバー時タグ背景色*/
  color: #f32469; /*ホバー時タグフォントカラー*/
  transition: all 0.6s ease; /*アニメーション*/
}

/*■ リストオリジナルデザイン */
/*■ 参考サイト：https://ponhiro.com/cocoon-list-design/ */

.list-5{
   counter-reset:number; 
   list-style-type: none; 
   padding:0;
   margin:0;
}
.list-5 li { 
   position: relative;
   margin:0.5em 0 !important;
   padding-left: 1.8em;
}
.list-5 li:before {
   counter-increment: number;
   content: counter(number);
   background-color: #ffa952; /* 文字背景色 */
   color: #fff; /* 文字色 */
   position: absolute;
   font-weight:bold;
   font-size: 14px;
   border-radius: 50%;
   left: 0;
   top:0.5em;
   width: 22px;
   height: 22px;
   line-height: 22px;
   text-align: center;
}

/*■ Rinker カスタマイズ */

/* 外枠 2本線 */
div.yyi-rinker-contents {
	border: double #dbdbdb;
}

/* 外部リンクマーク削除 */
div.yyi-rinker-contents a[target="_blank"]::after {
	content: none;
}

/* 商品リンクタイトル マウスオーバー時 色変化 */
div.yyi-rinker-contents div.yyi-rinker-title a:hover {
	color: #729ad6;
}

/* 商品リンクボタン マウスオーバー時 色反転 */
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink {
	background: #f6a306;
	border: 1px solid #f6a306;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a {
	color: #fff;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a:hover {
	background: #fff;
	color: #f6a306;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink {
	background: #cf4944;
	border: 1px solid #cf4944;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink a {
	color: #fff;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink a:hover {
	background: #fff;
	color: #cf4944;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink {
	background: #51a7e8;
	border: 1px solid #51a7e8;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink a {
	color: #fff;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink a:hover {
	background: #fff;
	color: #51a7e8;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a:hover {
	opacity: 1;
}

/*■ PC・タブレット・スマホ レイアウト調整 */
@media only screen and (min-width: 1166px) {
div.yyi-rinker-contents ul.yyi-rinker-links {
	justify-content: center;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
	width: 40%;
	margin: 0.7% 0.7%;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a {
	padding: 0 0.5px;
	text-align: center;
}
}
@media screen and (max-width: 768px) {
div.yyi-rinker-contents div.yyi-rinker-box {
	display: block;
}
div.yyi-rinker-contents div.yyi-rinker-image {
	width: 100%;
}
div.yyi-rinker-contents div.yyi-rinker-info {
	text-align: center;
	width: 100%;
}
div.yyi-rinker-contents ul.yyi-rinker-links {
	justify-content: center;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
	width: 45%;
	margin: 0.7% 0.7%;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a {
	padding: 0 0.5px;
}
}
@media screen and (max-width: 480px) {
div.yyi-rinker-contents ul.yyi-rinker-links li {
	width: 99%;
	margin: 0.7% 0.7%;
}
}

/*■テーブルの横スクロールを表示（Post SnippetsとAddQuicktagで）*/
table{ 
    width:100%;
}
.scroll{
    overflow: auto;
    white-space:nowrap;
}
.scroll::-webkit-scrollbar{
    height: 15px;
}
.scroll::-webkit-scrollbar-track{
    background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb{
    background: #bbb;
}

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

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

}

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