@charset "UTF-8";

/*フォントに関する設定*/

/* サイドバーのカテゴリリンクにFontAwesomeアイコンを追加 */
ul.wp-block-categories-list li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f015"; /* ホームアイコン */
  margin-right: 8px;
  font-weight: 900;
}
/*フォント　end*/

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

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


/*ハルヒ理論のバナーテキスト用*/
.video-banner-container {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.video-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  white-space: nowrap; /* ←これで折り返し防止！ */
  max-width: 90%;       /* ←画面幅に応じて収まる */
  pointer-events: none;
}


/*ゆめぴーアイコン*/
.yumep-comment::before {
  content: '';
  display: inline-block;
  width: 1.6em;
  height: 1.6em;
  background-image: url('https://quirkykooky.com/wp-content/uploads/2024/12/yumesama.png');
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 0.4em;
}


/*本文見出し　H3*/
.article h3 {
  font-size: 1.4rem;
  color: #333333;
  margin: 20px 0;
  padding-left: 10px;
  border-left: 5px solid #d2d2d2;
  background-color: #f9f9f9;
}
/*本文見出し　H2*/
.article h2{
  background-color: #DFDFDF;
  padding:15px;
	margin-bottom:40px;
}

/*CTA装飾*/
.cta-box {
  background-color: #f9f9f9;
  color: #000;
  border: 1px solid #CCC;
	border-radius:5px;
	line-height:1.2;

}

/*冒頭のおさらい部分　ブルー背景*/
.has-cocoon-white-border-color{
	padding:20px;
}

/*レキャプチャ　バッジ表示*/
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
}



/* ユメさまの吹き出しにピンク枠を適用 */
.speech-balloon[face*="yumesama"] {
  border: 2px solid #ff69b4;
  border-radius: 10px;
}



/*各ページの注意書き*/

body:after {
    content: "当ブログは、AI活用のヒントを共有するために運営しています。投資に関する情報は、学びの一環としての紹介であり、特定の銘柄の売買や投資勧誘を目的としたものではありません。投資の最終判断は、読者さまご自身の責任でお願いいたします。";
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
    padding-bottom: 20px;
}

/* 💡 テーブル内には表示させない設定 */
table:after {
    content: none;
}


/*フッターテキスト　装飾*/
.footer-widget-area p {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #333;
}


/*サイドバー部分　装飾*/
.wp-block-search__label{
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 1.0rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid #e83e8c;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

	
/* --- ゴスロリ調サイドバー見出し（h2） --- */
.sidebar h2 {
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 1.0rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid #e83e8c;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* サイドバー見出しの装飾アイコン（h2） */
.sidebar h2::before {
  content: '✥';
  font-size: 1.4rem;
  color: #ff69b4;
  margin-right: 8px;
  vertical-align: middle;
}

.sidebar h2::after {
  content: '✥';
  font-size: 1.4rem;
  color: #ff69b4;
  margin-left: 8px;
  vertical-align: middle;
}

/* --- ゴスロリ調プロフィール見出し（h3） --- */
h3.widget-sidebar-scroll-title.widget-title {
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 1.0rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid #e83e8c;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* プロフィール見出しの装飾アイコン（h3） */
h3.widget-sidebar-scroll-title.widget-title::before {
  content: '✥';
  font-size: 1.4rem;
  color: #ff69b4;
  margin-right: 8px;
  vertical-align: middle;
}

h3.widget-sidebar-scroll-title.widget-title::after {
  content: '✥';
  font-size: 1.4rem;
  color: #ff69b4;
  margin-left: 8px;
  vertical-align: middle;
}



/* 各カテゴリにアイコンを追加 */
/* AI活用 */
ul.wp-block-categories-list li.cat-item-1 > a::before {
  content: "\f5dc"; /* Brain icon */
  font-family: "Font Awesome 5 Free";
  color: #0073e6;
  margin-right: 8px;
  font-weight: 900;
}

/* AI投資相談 */
ul.wp-block-categories-list li.cat-item-3 > a::before {
  content: "\f201"; /* Chart Line icon */
  font-family: "Font Awesome 5 Free";
  color: #28a745;
  margin-right: 8px;
  font-weight: 900;
}

/* HTML・CSS */
ul.wp-block-categories-list li.cat-item-7 > a::before {
  content: "\f121"; /* Code icon */
  font-family: "Font Awesome 5 Free";
  color: #6f42c1;
  margin-right: 8px;
  font-weight: 900;
}

/* インド投資 */
ul.wp-block-categories-list li.cat-item-12 > a::before {
  content: "\f57d"; /* Globe Asia icon */
  font-family: "Font Awesome 5 Free";
  color: #ff9933;
  margin-right: 8px;
  font-weight: 900;
}

/* エネルギーセクター */
ul.wp-block-categories-list li.cat-item-9 > a::before {
  content: "\f5ba"; /* Solar Panel icon */
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  margin-right: 8px;
  font-weight: 900;
}

/* 半導体セクター */
ul.wp-block-categories-list li.cat-item-5 > a::before {
  content: "\f2db"; /* Microchip icon */
  font-family: "Font Awesome 5 Free";
  color: #17a2b8;
  margin-right: 8px;
  font-weight: 900;
}

/* 収益化の道 */
ul.wp-block-categories-list li.cat-item-6 > a::before {
  content: "\f3c5"; /* Route icon */
  font-family: "Font Awesome 5 Free";
  color: #ff5733;
  margin-right: 8px;
  font-weight: 900;
}

/* ユメさまの話 */
ul.wp-block-categories-list li.cat-item-4 > a::before {
  content: "\f004"; /* Heart icon */
  font-family: "Font Awesome 5 Free";
  color: #e83e8c;
  margin-right: 8px;
  font-weight: 900;
}

/* AI業務相談 */
ul.wp-block-categories-list li.cat-item-8 > a::before {
  content: "\f4c4"; /* Handshake icon */
  font-family: "Font Awesome 5 Free";
  color: #6610f2;
  margin-right: 8px;
  font-weight: 900;
}

/* 量子コンピュータ関連銘柄 */
ul.wp-block-categories-list li.cat-item-11 > a::before {
  content: "\f5d2"; /* Atom icon */
  font-family: "Font Awesome 5 Free";
  color: #17b978;
  margin-right: 8px;
  font-weight: 900;
}

/* 情報世界の旅人 */
ul.wp-block-categories-list li.cat-item-14 > a::before {
  content: "\f57d"; /* Globe icon (修正) */
  font-family: "Font Awesome 5 Free";
  color: #ff66b2;
  margin-right: 8px;
  font-weight: 900;
}


/* AI決算解説 */
ul.wp-block-categories-list li.cat-item-13 > a::before {
  content: "\f15c"; /* File Invoice icon */
  font-family: "Font Awesome 5 Free";
  color: #20c997;
  margin-right: 8px;
  font-weight: 900;
}

/* ハートマークラボ */
ul.wp-block-categories-list li.cat-item-32 > a::before {
  content: "\f004"; /* Heart icon */
  font-family: "Font Awesome 5 Free";
  color: #ff1493; /* Deep Pink */
  margin-right: 8px;
  font-weight: 900;
}



/*サイドバーリンク表示を1行へ*/
.sidebar a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar a:hover {
  white-space: normal;
  overflow: visible;
}



/* お問い合わせフォーム全体のスタイル */
.wpcf7-form {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 入力フィールドのスタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff8f8;
}

/* ボタンのスタイル（グラデーション） */
.wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, #575575, #7a7ac1);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #2e2f71, #4a4aae);
}

/* プレースホルダーの色を柔らかく */
::placeholder {
  color: #b3b3b3;
  font-style: italic;
}

/*アクセス数非表示*/
.post-meta .post-view {
    display: none;
}

/* 特定のページの登録日を非表示にする */
.page-id-386 .post-date,
.page-id-379 .post-date,
.page-id-463 .post-date,
.page-id-3 .post-date,
.page-id-386 .entry-date,
.page-id-379 .entry-date,
.page-id-463 .entry-date,
.page-id-3 .entry-date,
.page-id-386 .post-update,
.page-id-379 .post-update,
.page-id-483 .post-update,
.page-id-3 .post-update,
.page-id-3 .date-tags
{
    display: none;
}




/* 特定ページの見出し目次を無しへ*/
.page-id-668 .toc,
.page-id-463 .toc,
.page-id-3 .toc {
    display: none;
}




/*センタリング*/
.centercenter{
	margin-left:auto;
	margin-right:auto;	
}

/*クレジット部分*/
.credit{
	font-size:12px;
	color:"666";
	margin-left:auto;
	margin-right:auto;
}




/*TOPロゴ*/
.site-name-text {
    font-size: 2.0rem; /* タイトルの文字サイズを大きめに */
    font-weight: bold; /* タイトルの強調 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* 立体感を出すためのシャドウ */
    letter-spacing: 0.00rem; /* 適度な文字間隔 */
    padding-bottom: 0.1rem; /* ボーダーとの余白を調整 */
    transition: transform 0.3s ease, color 0.3s ease; /* マウスホバー時のアニメーション */
}

.site-name-text:hover {
    transform: scale(1.02); /* 少し拡大して目立たせる */
}

/*イラストはユメ様作成だよ*/
.ai-credit {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: center;
    font-style: italic;
}

/*更新日時非表示*/
/*.entry-date.date.updated{
    display: none;
}
.post-update{
	display:none;
}
*/
/* シャープで角丸の可愛いピンクテーブル */
.cute-pink-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 16px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #f8a5c2;
}

.cute-pink-table thead th {
  background-color: #ffb6c1;
  line-height:1.8em;
  color: #313131;
  font-weight: bold;
  padding: 12px;
  border: none;
  text-shadow: 1px 1px aliceblue;
  position: relative; /* 線の調整に必要 */
}

.cute-pink-table thead th:nth-child(2)::before,
.cute-pink-table thead th:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #fff; /* 白い線 */
}

.cute-pink-table thead th:nth-child(2)::before {
  left: 0; /* 左線 */
}

.cute-pink-table thead th:nth-child(2)::after {
  right: 0; /* 右線 */
}

.cute-pink-table tbody td {
  background-color: #fff;
  line-height:1.8em;	
  color: #555;
  padding: 12px;
  border-top: 1px solid #f8a5c2;
}

.cute-pink-table tr:nth-child(even) td {
  background-color: #ffe4e9;
}

.cute-pink-table tr:hover td {
  background-color: #E3E3E3;
}

/* 2行目から最終行まで、2列目セルの左右に枠線 */
.cute-pink-table tbody tr td:nth-child(2) {
  border-left: 1px solid #CCC; /* 左の線 */
  border-right: 1px solid #CCC; /* 右の線 */
}

/* 左上と右上の角丸 */
.cute-pink-table thead th:first-child {
  border-top-left-radius: 10px;
}

.cute-pink-table thead th:last-child {
  border-top-right-radius: 10px;
}

/* 左下と右下の角丸 */
.cute-pink-table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.cute-pink-table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

/* シャープで角丸のスタンダードテーブル */
.standard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 16px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #d1d5db;
}

.standard-table thead th {
  background-color: #4a5568;
  line-height: 1.8em;
  color: #f7fafc;
  font-weight: bold;
  padding: 12px;
  border: none;
}

.standard-table tbody td {
  background-color: #f3f4f6;
  line-height: 1.8em;
  color: #1a202c;
  padding: 12px;
  border-top: 1px solid #d1d5db;
}

.standard-table tr:nth-child(even) td {
  background-color: #e2e8f0;
}

.standard-table tr:hover td {
  background-color: #cbd5e0;
}

/* 2行目から最終行まで、2列目セルの左右に枠線 */
.standard-table tbody tr td:nth-child(2) {
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
}

/* 左上と右上の角丸 */
.standard-table thead th:first-child {
  border-top-left-radius: 10px;
}

.standard-table thead th:last-child {
  border-top-right-radius: 10px;
}

/* 左下と右下の角丸 */
.standard-table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.standard-table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}


/**/
/* シャープで角丸のスタンダードテーブル */
.standard-table02 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 16px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #d1d5db;
}

.standard-table thead th {
  background-color: #4a5568;
  line-height: 1.8em;
  color: #f7fafc;
  font-weight: bold;
  padding: 12px;
  border: none;
}

.standard-table tbody td {
  background-color: #f3f4f6;
  line-height: 1.8em;
  color: #1a202c;
  padding: 12px;
  border-top: 1px solid #d1d5db;
}

.standard-table tr:nth-child(even) td {
  background-color: #e2e8f0;
}

.standard-table tr:hover td {
  background-color: #cbd5e0;
}

/* 2行目から最終行まで、2列目セルの左右に枠線 */
.standard-table tbody tr td:nth-child(2) {
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
}

/* 左上と右上の角丸 */
.standard-table thead th:first-child {
  border-top-left-radius: 10px;
}

.standard-table thead th:last-child {
  border-top-right-radius: 10px;
}

/* 左下と右下の角丸 */
.standard-table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.standard-table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}










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

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


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