@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template: cocoon-master  
Site Name: 楽描人 -DESIGN-
Site URI: https://spark-a.com/design/
Site Author: ZOMI
Version: 1.1.2
*/

/* 段落 */
p {
margin-top: 30px;
margin-bottom: 30px;
}

.single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.twentyseventeen-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}

/* 行の文字数制限・中央構え */
p {
 display: inline-block;
 text-align: left;
 padding-left: 10%;
 margin: 0 auto; 
 width: 90%;
}

.column-wrap div {
 display: inline-block;
 text-align: left;
 padding-left: 5%;
 margin: 0 auto; 
 width: 90%;
}

/* カラム幅 */
.no-sidebar .wrap {
 width: 1200px;
}

@media screen and (max-width:750px) {
.no-sidebar .wrap {
 width: 100%;
}
}

/* 見出し初期化 */
.main{
 background-color: #f2f7ff;
}

.a-wrap {
 color: #333333;
}

/* 見出し初期化 */
.article h3,
.article h4,
{
padding: 0;
margin: 0;
background: none;
border-collapse: separate;
border-spacing: 0;
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
line-height: normal;
position: relative;
}

/* 見出し */
.article h3{
  background: #2b619b;
  font-size: 18px; 
  color: #fff; 
  letter-spacing: 3px;
  margin: 100px -8px 20px -8px;
  text-indent: 5px;
  padding: 10px 7px 8px 10px;
  border: 3px solid #2b619b;
  border-radius: 10px;
}

.article h3:before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 13px;
  border-radius: 50%;
  background: #fff;
}

.article h4{
  background: #8395DD;
  font-size: 16px; 
  color: #fff; 
  letter-spacing: 3px;
  margin: 50px -8px 20px -8px;
  text-indent: 5px;
  padding: 10px 7px 8px 10px;
  border: 3px solid #8395DD;
  border-radius: 10px;
}

.article h4:before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 13px;
  border-radius: 50%;
  background: #fff;
}

/* 新着記事タイトル文字非表示 */
.front-top-page .list-new-entries-title.list-title {
   display: none;
}

/* タイトル・キャッチフレーズ */
.header-in {
 justify-content: normal;
}

.logo-text {
padding: 35px;
}

.tagline{
font-weight: bold;
font-size: 14pt;
color: #2b619b;
}

/* グローバルナビメニューに検索窓 */
.header-search {
  width: 200px !important;
}

.header-search .search-box {
  margin: 0;
}

.header-search input[type="text"] {
  padding: 3px 14px;
  font-size: 14px;
  border-radius: 14px / 50%;
}

.header-search .search-submit {
  color: #2b619b;
}

/* 記事タイトルとアイキャッチの位置変更 */
.entry-header {
 display: flex;
 flex-direction: column;
}
.entry-header .eye-catch-wrap {
 order: 1;
}
.entry-header .entry-title {
 order: 2;
}
.entry-header .date-tags {
 order: 3;
}

/* タイトル中央寄せ */
.page .entry-title,
.single .entry-title {
 text-align: center;
}

/* ブロックガード */
.blogcard {
	padding: 1rem;
	color: #333;
	position: relative;
	border-color: #a7b5f2 !important; /* 枠線の色を変更 */
}

a.blogcard-wrap:hover{
	background-color: transparent !important;
	opacity: 0.8;
}

a.blogcard-wrap:hover img.blogcard-thumb-image{
	transform: scale(1.1);
	transition: .3s;
}

.blogcard-thumbnail {
	line-height: 0;
	margin-right: 1rem;
	overflow: hidden;
}

.blogcard-title{
	margin-bottom: .5rem;
}

.blogcard-snippet{
	display: none;
}

@media screen and (max-width: 480px){
	.blogcard-thumbnail{
		width: 40%;
	}
}

.internal-blogcard-footer{
	display: none; /* 内部ブログカードのアイコンとURLを非表示 */
}

.internal-blogcard::after{
	content: '記事を読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #a7b5f2;
	padding: .4em 3em;
	font-weight: bold;
	color: #fff;
	border-radius: 2px;
}

.external-blogcard-footer{
	display: none;
}

.external-blogcard::after{
	content: '記事を読む \00bb'; /* 外部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #a7b5f2;
	padding: .4em 3em;
	font-weight: bold;
	color: #fff;
	border-radius: 2px;
}

/* 商品リンク */
/* 全体 */
div.yyi-rinker-contents div.yyi-rinker-box {
	display: block !important;
}
/* 画像とボタンを中央配置 */
div.yyi-rinker-contents div.yyi-rinker-image {
	margin-left: auto;
	margin-right: auto;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
	text-align: center;
	width: 100%;
	margin: 6px 0px;
}
/* 商品詳細（テキストとボタン）の幅を広げる */
div.yyi-rinker-contents div.yyi-rinker-box div.yyi-rinker-info {
	width: 40%;
	margin: 0 auto;
	text-align: center;
}
/* 詳細箇所を調整 */
div.yyi-rinker-contents div.yyi-rinker-detail {
	padding-left: 0;
}
div.yyi-rinker-contents div.yyi-rinker-detail div.price-box {
	font-size: .5em;
}
/* 値段箇所の微調整 */
div.yyi-rinker-contents div.yyi-rinker-detail div.price-box .price {
	font-size: 2em;
	margin: 5px;
	display: block;
}
/* 画像サイズを調整 */
div.yyi-rinker-contents div.yyi-rinker-image {
	width: 230px;
	min-width: 140px;
}

/* ボタン色 */
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonkindlelink { /* kindle */
    background: #666; /* 背景色 */
    border: 2px solid #666; /* 外枠 */
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink { /* Amazon */
    background: #f6a306; /* 背景色 */
    border: 2px solid #f6a306; /* 外枠 */
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink { /* 楽天 */
    background: #cf4944; /* 背景色 */
    border: 2px solid #cf4944; /* 外枠 */
}

/*ポストイット*/
div {
  margin: 0; /* ブラウザの初期値をクリア */
  padding: 0; /* ブラウザの初期値をクリア */
}

.memox {
 position: relative;
 padding: 35px 20px 15px;
 margin: 2.5em auto;
 width: 80%;
 color: #333; /* 文字色 */
 background-color: #fff;
 box-shadow: 0 3px 3px #ccc; 
}

.memox-point {
 position: absolute;
 left: 45%;
 top: -15px;
 margin-left: -75px;
 width: 200px;
 height: 40px;
 padding: 6px 20px;
 color: #555; /*タイトル色*/
 font-weight: bold;
 border-left: 2px dotted rgba(0,0,0,0);
 border-right: 2px dotted rgba(0,0,0,0);
 box-shadow: 0 0 5px rgba(0,0,0,0.2); 
 background: rgba(199,216,250,0.3); /*テープ色・透明度0〜1*/
 transform: rotate( -5deg ); /*テープ角度*/
 text-align: center; /* 文字を中央寄せ */
}

.memox-point2 {
 position: absolute;
 left: 45%;
 top: -15px;
 margin-left: -75px;
 width: 200px;
 height: 40px;
 padding: 6px 20px;
 color: #555; /*タイトル色*/
 font-weight: bold;
 border-left: 2px dotted rgba(0,0,0,0);
 border-right: 2px dotted rgba(0,0,0,0);
 box-shadow: 0 0 5px rgba(0,0,0,0.2); 
 background: rgba(245,178,178,0.3); /*テープ色・透明度0〜1*/
 transform: rotate( -5deg ); /*テープ角度*/
 text-align: center; /* 文字を中央寄せ */
}

.memox db { 
  font-size: 16px; 
  color: #3676e0;
  font-weight: bold;
}

.memox lb { 
  font-size: 16px; 
  color: #18c6f8;
  font-weight: bold;
}

/* バッジ*/
.badge-group{
  margin: 20px;
  width: 900px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.badge{
  margin-top: 10px;
  margin-right: 8px;
  border-radius: 4px;
  background: #2b619b;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
  padding: 3px 10px;
  overflow: hidden;
  color: #fff;
  font-size:  13px;
  font-weight: bold;
  line-height: 30px;
  }
  
.badge2{
  margin-top: 10px;
  margin-right: 8px;
  border-radius: 4px;
  background: #8395DD;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
  padding: 3px 10px;
  overflow: hidden;
  color: #fff;
  font-size:  13px;
  font-weight: bold;
  line-height: 30px;
}

.badge-w{
  margin-top: 10px;
  margin-right: 8px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
  padding: 3px 10px;
  overflow: hidden;
  color: #afafb0;
  font-size:  13px;
  font-weight: bold;
  line-height: 30px;
  border: 1px solid #afafb0;
}

/*ふりがな*/
rt {
  position: relative;
  top: -.3em;
  transform: translateY(-.3em);
}

/*タブ切替*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
  column-count: 2;
  height: 500px;
  }
  
/*タブのスタイル*/
.tab_item {
  width: calc(100% + 1px/4);
  margin-left: 30px;
  height: 50px;
  background-color: #e6e6fa;
  line-height: 50px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  display: block;
  float: left;
  transition: all 0.2s ease;
}

.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#tab01:checked ~ #tab01_content,
#tab02:checked ~ #tab02_content,
#tab03:checked ~ #tab03_content,
#tab04:checked ~ #tab04_content{
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #5066cc;
  color: #fff;
}
#tab_menu li:hover {
	background: #a7b5f2;
}
#tab_menu li img {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	bottom: 2px;
	padding: 15px 50px 15px 0;
}

/* ポラロイド風 */
.chip-wrapper {
  display: flex; /* 画像を横並びにする */
  flex-wrap: wrap;
  justify-content: space-between;
}

.chip {
  background-color: #fff; /* フレームの色 */
  border: 1px solid #fff; /* ボーダー */
  padding: 30px 10px 10px; /* フレームの内側の余白 */
  margin-top: 20px; /* フレーム下の余白 */
  margin-bottom: 30px; /* フレーム下の余白 */
  box-shadow: 0 3px 3px #ccc; /* 影 */
  display: inline-block;
  max-width: 100%;
  width: 32%; /* ポラロイドの幅 */
  box-sizing: border-box;
  position: relative; /* マスキングテープ用 */ 
  font-size: 14px; 
}

.chip2 {
  background-color: #fff;
  border: 1px solid #fff;
  padding: 30px 10px 10px;
  margin-top: 20px;
  margin-bottom: 30px;
  box-shadow: 0 3px 3px #ccc;
  display: inline-block;
  max-width: 100%;
  width: 49%;
  box-sizing: border-box;
  position: relative;
  font-size: 14px; 
}

.chip img,
.chip2 img { 
  display: block;
  width: 200px;
  height: 50px;
  object-fit: cover;  
  margin: 0 auto; /* 画像を中央寄せ */
  background-color: #fff; /* フレームの色 */
  border: 1px solid #fff; /* ボーダー */
}

.chip db,
.chip2 db { 
  font-size: 16px; 
  color: #3676e0;
  font-weight: bold;
}

.chip lb,
.chip2 lb { 
  font-size: 16px; 
  color: #18c6f8;
  font-weight: bold;
}

.chip-caption {
  padding-top: 20px; /* 文字上の余白 */
  text-align: left; /* 文字を左寄せ */
}

/* マスキングテープ */
.masking-tape {
 position: absolute;
 left: 45%;
 top: -20px;
 margin-left: -75px;
 width: 200px;
 height: 35px;
 padding: 6px 20px;
 color: #555; /*タイトル色*/
 font-weight: bold;
 border-left: 2px dotted rgba(0,0,0,0);
 border-right: 2px dotted rgba(0,0,0,0);
 box-shadow: 0 0 5px rgba(0,0,0,0.2); 
 background:rgba(245,229,107,0.2); /*テープ色・透明*/
 transform: rotate( -5deg ); /*テープ角度*/ 
 text-align: center; /* 文字を中央寄せ */
}

/* 767px（iPad）以下では縦並び */
@media screen and (max-width: 767px) {
.chip-wrapper {
  display: block; /* 画像の横並びを解除 */
}
.chip,
.chip2{
  width: 100%; /* ポラロイドの幅 */
}
}

/* 行頭揃え */
.hline {
display: inline-block;
width: 8em;
}

@media screen and (max-width: 640px) {
  .hline {
    display: block;
    width: 100%;
    border-bottom:none;
  }
}

/* ツールチップのテキスト */
.tooltip { 
  position: relative; /* ツールチップの位置の基準に */
  cursor: pointer; /* カーソルを当てたときにポインターに */
}
 
.balloon_top { 
  width: 130px; /* 横幅 */
  position: absolute; /* 絶対配置 */
  left: 50%; /* 親に対して中央配置 */
  bottom: 80%; /* 親要素下からの位置 */
  transform: translateX(-50%); /* 親に対して中央配置 */
  margin-bottom: 15px; /* テキストとの距離 */
  padding: 5px 10px; /* 余白 */
  overflow-wrap: break-word; /* テキストを折り返す */
  border-radius: 3px; /* 角の丸み */
  background-color: #A2C2D0;
  font-size: 0.7em;
  line-height: 1.3; /* 行間 */
  color: #fff;
  text-align: center;
  visibility: hidden; /* はじめは隠しておく */
  opacity: 0; /* はじめは隠しておく */
  z-index: 1;
  transition: 0.3s ease-in; /* マウスオーバー時のアニメーション速度 */
}
 
.balloon_top::before { 
  content: "";
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top: 12px solid #A2C2D0; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
}

/* ホバー時にツールチップの非表示を解除 */
.tooltip:hover .balloon_top { 
  bottom: 100%;
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を100％に */
}

.balloon_bottom {
  width: 130px; /* 横幅 */
  position: absolute; /* 絶対配置 */
  top: 80%; /* 親要素下からの位置 */
  left: 50%; /* 親に対して中央配置 */
  transform: translateX(-50%); /* 親に対して中央配置 */
  margin-top: 15px; /* テキストとの距離 */
  padding: 5px 10px; /* 余白 */
  overflow-wrap: break-word;
  border-radius: 3px; /* 角の丸み */
  background-color: #A2C2D0; /* ツールチップの背景色 */
  font-size: 0.7em;
  line-height: 1.3; /* 行間 */
  color: #fff;
  text-align: center;
  visibility: hidden; /* はじめは隠しておく */
  opacity: 0; /* はじめは隠しておく */
  z-index: 1;
  transition: 0.3s ease-in;; /* マウスオーバー時のアニメーション速度 */
}
 
.balloon_bottom::before {
  content: "";
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-bottom: 12px solid #A2C2D0; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  bottom: 99%;
  left: 50%;
  transform: translateX(-50%);
}
 
.tooltip:hover .balloon_bottom {
  top: 100%;
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を100％に */
}