/* <system section="theme" selected="smooth"> */
@charset "UTF-8";/*!
Theme: Smooth
Author: Hatena Blog Team
Responsive: yes
*//*!
 * Bootstrap Reboot v4.2.1 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
 */*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):hover,a:not([href]):not([tabindex]):focus{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}html,body{background:#f9fafb;font-family:helvetica,Segoe UI,游ゴシック体,YuGothic,游ゴシック Medium,Yu Gothic Medium,游ゴシック,Yu Gothic,メイリオ,Meiryo,sans-serif;color:#293030}html{line-height:1}body{font-size:17px;line-height:1.6}img{vertical-align:baseline}a{color:#293030}a:hover{color:#586767;transition:all .3s}.date{margin:0 0 .7em;font-size:.9rem}.date a{color:#6f8383}.date a:hover{color:#a5b3b3}.date-last-updated{color:#6f8383;font-size:.9rem}#globalheader-container{position:sticky;top:0;background:#f9fafb}#container{word-wrap:break-word}#blog-title{max-width:1280px;margin:auto;padding:4% 5%;text-align:center}#title{font-size:150%;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-weight:400}@media (min-width: 768px){#title{font-size:215%}}#blog-description{font-size:90%;font-weight:400}#content-inner{width:100%;display:flex;flex-direction:column}@media (min-width: 768px){#content-inner{flex-direction:row;margin:auto;padding:0 20px}}@media (min-width: 1200px){#content-inner{width:1200px}}#wrapper{flex:0 0 100%;max-width:100%}@media (min-width: 768px){#wrapper{flex:0 0 75%;max-width:75%}}@media (min-width: 1020px){#main{padding:0 3% 0 0}}.header-image-enable #blog-title,.header-image-only #blog-title{padding:0 0 1.5em}@media (min-width: 1200px){.header-image-enable #blog-title,.header-image-only #blog-title{width:1160px}}.header-image-enable #blog-title #blog-title-inner,.header-image-only #blog-title #blog-title-inner{display:flex;align-items:center;justify-content:center;height:50vw;max-height:200px}@media (min-width: 1200px){.header-image-enable #blog-title #blog-title-inner,.header-image-only #blog-title #blog-title-inner{background-size:100%}}.header-image-enable #blog-title-content,.header-image-only #blog-title-content{margin:0 .5em}.breadcrumb{font-size:.9rem}.categories{margin-bottom:2em}.categories a{display:inline-block;background:#e9f0f2;margin:0 .3em 0 0;padding:0 10px;font-size:12px}.pager{text-align:center;margin:3em .8em}@media (min-width: 1020px){.pager{margin:0}}.pager a{display:inline-block;width:100%;background:#eff1f5;padding:.7em 1.2em;border:none;font-weight:400;font-size:.9rem;color:#293030}.pager a:hover{background-color:#e9ecf1;text-decoration:none}.pager .pager-next,.pager .pager-prev{width:100%;padding:.5em 0}.pager .pager-prev+.pager-next{margin-left:1em;padding-left:1em}@media (min-width: 768px){.pager .pager-prev+.pager-next{margin-left:1.5em;padding-left:1.5em}}.pager.permalink{display:flex;justify-content:center;align-items:center;text-align:center}.hatena-urllist{padding-left:0;list-style:none}.hatena-urllist li{border-top:1px dotted #cfd8d8;padding-top:10px;padding-bottom:10px}.hatena-urllist .archive-module-year,.hatena-urllist .archive-module-month{line-height:2}.hatena-urllist .urllist-date-link a{color:#6f8383}.hatena-urllist .urllist-category-link{display:inline-block;background:#e9f0f2;margin:.5em .3em 0 0;padding:3px 10px;font-size:12px;line-height:1.3}.hatena-urllist .urllist-category-link:hover{background:#d9e5e9;text-decoration:none;transition:background .3s}.hatena-urllist .urllist-entry-body{margin-top:10px}.hatena-module{margin-bottom:3em;padding-left:20px;padding-right:20px;font-size:.85rem}.hatena-module:last-child{margin-bottom:0}.hatena-module-title{margin-bottom:12px;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-size:20px}.hatena-module-body{font-size:15px}.hatena-module-body .urllist-title-link{font-size:100%}.hatena-module-body .archive-module-button{display:inline-block;width:15px;height:15px}.hatena-module-body .archive-module-hide-button,.hatena-module-body .archive-module-show-button{position:absolute;overflow:hidden;width:15px;height:15px;text-indent:-15px}.hatena-module-body .archive-module-hide-button:after,.hatena-module-body .archive-module-show-button:after{content:"";top:50%;display:inline-block;position:absolute;width:8px;height:8px;margin-top:-.1em;border-top:1px solid #6f8383;border-right:1px solid #6f8383}.hatena-module-body .archive-module-hide-button{transform:rotate(135deg);margin-top:.2em}.hatena-module-body .archive-module-show-button{transform:rotate(45deg);margin-top:.2em}@media (min-width: 481px){.search-result-form{margin:0 1em}}.search-result+p{background:#fff;border:1px solid #f0f1f1;margin:0 0 3em;padding:8% 0;font-weight:700;text-align:center}.search-form,.search-result-form{position:relative;width:100%;background:#fff;margin:auto;border:1px solid #eee;box-sizing:border-box}.search-form:hover,.search-result-form:hover{border-color:#ddd}.search-module-input,.search-result-form .search-result-input{width:90%;height:30px;padding:5px;background:#fff;border:none;outline:none}.search-module-input::-webkit-input-placeholder,.search-result-form .search-result-input::-webkit-input-placeholder,.search-module-input::-placeholder,.search-result-form .search-result-input::-placeholder{color:#9faba9}.search-module-button,.search-result-form .search-result-button{width:20px;height:20px;background:transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=e0e0a3993d8aff6a6344f19dd784d5) no-repeat right center;background-size:20px 20px;border:none;outline:none;text-indent:-9999px;position:absolute;top:5px;right:5px;opacity:.5;cursor:pointer}.search-module-button:hover,.search-result-form .search-result-button:hover{opacity:.85}#top-box{margin:0 auto;padding:0 10px}@media (min-width: 768px){#top-box{padding:0 20px}}@media (min-width: 1200px){#top-box{max-width:1200px}}.entry{background:#fff;border:1px solid #f0f1f1;margin-bottom:2em;padding:8% 5%}@media (min-width: 768px){.entry{padding:8% 9% 5%}}.entry-header{position:relative;margin-bottom:1.5em}@media (min-width: 481px){.entry-header{margin-bottom:3em}}.entry-header-menu{position:absolute;top:0;right:0;margin-bottom:1em}.entry-header-menu a{background:#f9fafb;border:1px solid #cfd8d8;padding:5px 10px;font-size:.9rem}.entry-header-menu a:hover{background:#f3f5f7;text-decoration:none}.entry-title{margin-bottom:.5em;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-size:130%;font-weight:400;line-height:1.5}@media (min-width: 768px){.entry-title{font-size:190%}}.entry-content{line-height:1.85}.entry-content a{color:#119e4d}.entry-content a:hover{color:#0c7037}.entry-content a.keyword{-webkit-text-decoration:underline dotted #cfd8d8;text-decoration:underline dotted #cfd8d8}.entry-content a.keyword:hover{color:#586767;-webkit-text-decoration:underline dotted #ffffff;text-decoration:underline dotted #ffffff}.entry-content img,.entry-content video{max-width:100%;height:auto}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin:1.5em 0 .8em;line-height:1.3}.entry-content h1{padding-bottom:15px;font-size:190%;border-bottom:1px solid #cfd8d8}.entry-content h2{font-size:165%}.entry-content h3{padding-bottom:10px;font-size:140%;border-bottom:1px solid #cfd8d8}.entry-content h4{font-size:130%}.entry-content h5{padding-bottom:10px;font-size:120%;border-bottom:1px solid #cfd8d8}.entry-content h6{font-size:100%}.entry-content ul,.entry-content ol,.entry-content dd{margin:0 0 1em 1.5em;padding:0;line-height:1.7}.entry-content ul li ul,.entry-content ol li ul,.entry-content dd li ul,.entry-content ul li ol,.entry-content ol li ol,.entry-content dd li ol{margin-bottom:0}.entry-content dl{margin-top:2em}.entry-content dl dt{margin-bottom:.8em}.entry-content p{margin:0 0 .7em}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.entry-content .footnote-number{scroll-margin-top:56px}.entry-content blockquote{position:relative;padding:9px 15px 9px 40px;border:1px solid #f0f1f1}@media (min-width: 1020px){.entry-content blockquote{padding:20px 20px 20px 60px}}.entry-content blockquote:before{display:inline-block;position:absolute;top:10px;left:10px;vertical-align:middle;content:"“";font-size:40px;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;color:#6f8383;line-height:1}@media (min-width: 1020px){.entry-content blockquote:before{left:15px;font-size:70px}}.entry-content blockquote p{margin-bottom:0}.entry-content blockquote cite{display:block;margin-top:.5rem;text-align:right;font-size:85%;line-height:1.3}.entry-content table{border-collapse:collapse;border-spacing:0;border-bottom:1em;margin-bottom:1em;width:100%;overflow:auto;display:block}.entry-content table th,.entry-content table td{border:1px solid #f0f1f1;padding:5px 10px}.entry-content table th{background:#f9fafb}.entry-content pre,.entry-content code{font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content pre{background:#293030;border:none;white-space:pre-wrap;text-overflow:ellipsis ellipsis;font-size:100%;font-size:.9rem;padding:10px;color:#ccc}@media (min-width: 768px){.entry-content pre{font-size:.85rem;padding:15px}}.entry-content pre>code{margin:0;padding:0;white-space:pre;border:none;background-color:transparent;font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content code{font-size:90%;margin:0 .1em;padding:0 5px;border-radius:3px}.entry-content .table-of-contents{background:#f9fafb;margin-left:0;padding:15px 10px 15px 35px;font-size:16px}@media (min-width: 768px){.entry-content .table-of-contents{padding:20px 20px 20px 50px}}.entry-footer{margin-top:1em}.entry-footer-modules .hatena-module{padding:0}.entry-footer-section{margin-bottom:8px;color:#6f8383;font-size:.9rem}.entry-footer-section a{color:#6f8383}.entry-footer-ad{margin-left:-9%;margin-right:-9%}.comment-box{margin:0 -5%;padding:5% 5% 0;border-top:1px solid #f0f1f1}@media (min-width: 768px){.comment-box{margin:0 -11%;padding:20px 11% 0}}.comment-box .leave-comment-title{background:#f9fafb;border:1px solid #cfd8d8;padding:.5rem 1rem;font-size:.9rem}.comment-box .leave-comment-title:hover{background:#f3f5f7}.comment-box .comment{list-style:none;padding-left:0}.comment-box .comment a{color:#119e4d}.comment-box .comment a:hover{color:#0c7037}.comment-box .comment .comment-user-id{font-size:14px;font-weight:700}.comment-box .comment .entry-comment{padding:20px 0 0;border-top:1px solid #f0f1ff;color:#6f8383}.comment-box .comment .entry-comment:first-child{padding-top:0;border-top:none}.comment-box .comment .entry-comment .comment-content{word-wrap:break-word}.comment-box .comment .entry-comment .comment-content p{font-size:14px}.comment-box .comment .entry-comment time{font-size:12px}.comment-box .comment .read-more-comments{font-size:14px}@media (min-width: 1020px){.comment-box .comment .read-more-comments{margin-right:25px}}.comment-box .comment .read-more-comments a{position:relative;display:inline-block}.comment-box .comment .read-more-comments a:after{content:"";top:20%;left:-20px;display:inline-block;position:absolute;width:8px;height:8px;border-top:1px solid #119e4d;border-right:1px solid #119e4d;transform:rotate(135deg);margin-top:1px}#box2{flex:0 0 100%;max-width:100%;background:#fff3;padding:1em 0}@media (min-width: 768px){#box2{flex:0 0 25%;max-width:25%}}#box2 .hatena-urllist>li:last-child{border-bottom:1px dotted #cfd8d8}.hatena-module-profile .profile-icon-link{display:inline;float:left;margin-right:.7em}.hatena-module-profile .profile-icon-link .profile-icon{border-radius:400px}@media (min-width: 1020px){.hatena-module-profile .profile-icon-link{display:block;float:none;margin-right:0}}.hatena-module-profile .id{display:block}.hatena-module-profile .id a{color:#119e4d;font-weight:700}.hatena-module-profile .id a:hover{color:#0c7037}.hatena-module-profile .profile-description p{font-size:80%}.archive-module-calendar .calendar-day a{color:#119e4d;font-weight:700}.archive-module-calendar .calendar-day a:hover{color:#0c7037}.hatena-module-recent-comments .user-id span{font-size:12px;opacity:.7}#footer{background:#fff;margin-top:2em;padding-top:2rem;padding-bottom:2rem;text-align:center;font-size:.9rem;color:#6f8383}#footer a{color:#6f8383}#footer p{margin:.5em auto}.archive-header-category{margin-bottom:.3em}.page-archive .archive-heading{margin:.5em .7em 1.3em;line-height:1.5}@media (min-width: 1020px){.page-archive .archive-heading{margin:.5em 0 1.3em}}.page-archive .archive-entry{background:#fff;border:1px solid #f0f1f1;margin-bottom:30px;padding:9% 6% 6%}@media (min-width: 768px){.page-archive .archive-entry{padding:6%}}@media (min-width: 768px){.page-archive .archive-entry .entry-title{font-size:150%}}

/* </system> */

/* <system section="background" selected="ebe9e3"> */
body{background:#ebe9e3;}
/* </system> */
}h1 {
    margin-bottom: 20px; /* タイトルの下に20pxのスペースを追加 */
}
<p>/* 全てのリンクにマウスオーバー効果を追加 */ a { color: #ff9900; /* 初期の文字色 */ text-decoration: none; /* 下線をなくす */ } a:hover { color: #ff6600; /* マウスを載せたときの文字色 */ }</p>
<p>.blog-card { border: 2px solid #ffd9ec; border-radius: 15px; padding: 15px; margin: 20px 0; background-color: #fff0f8; box-shadow: 2px 2px 8px rgba(255, 192, 203, 0.2); transition: 0.3s ease; } .blog-card:hover { box-shadow: 4px 4px 12px rgba(255, 105, 180, 0.4); transform: translateY(-2px); } .blog-card a { color: #cc3366; text-decoration: none; display: block; } .blog-card h3 { font-size: 1.1em; margin-bottom: 8px; } .blog-card p { font-size: 0.9em; color: #555; }</p>
<p>/* 注目記事：ふんわり可愛いピンクボックス */ .hatena-module-entryunit { background-color: #fff7fa; /* ふんわりピンク背景 */ border: 1.5px solid #f3c1d8; /* やさしいピンクの縁 */ border-radius: 12px; padding: 12px; margin-bottom: 14px; box-shadow: 0 3px 6px rgba(243, 193, 216, 0.2); /* ふんわり影 */ font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; transition: all 0.3s ease; } /* 記事リンクの文字色を優しいピンクに */ .hatena-module-entryunit a { color: #c06c8d; /* 落ち着いたローズピンク */ text-decoration: none; font-weight: bold; display: block; padding: 5px 0; border-bottom: 1px dashed #f3c1d8; /* 下線を点線でやわらかく */ } .hatena-module-entryunit a:hover { color: #e889aa; /* 明るいピンクに変化 */ text-decoration: underline; } /* 「注目記事」見出しタイトル */ .hatena-module-title { background: #f3c1d8; color: #de3c8f; padding: 8px 14px; border-radius: 14px; font-size: 16px; text-align: center; margin-bottom: 14px; letter-spacing: 0.5px; font-weight: bold; }</p>
/* --- カードリンク共通設定 --- */
div[id^="msmaflink-"] {
  margin: 30px auto;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fffdf9;
  max-width: 600px;
}

/* --- Amazon・楽天ボタンのデザイン統一 --- */
div[id^="msmaflink-"] a {
  border-radius: 30px !important;
  font-weight: bold;
  padding: 10px 15px !important;
  transition: all 0.3s ease;
}

/* --- ボタンホバーで少し大きく --- */
div[id^="msmaflink-"] a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* --- 商品名のフォント変更（やさしい雰囲気に） --- */
div[id^="msmaflink-"] .m_link_title {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

/* --- ボタン全体の配置をセンターに --- */
div[id^="msmaflink-"] .m_link_button {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* --- アイキャッチ画像を丸角に --- */
.hatena-fotolife img {
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
} 
/* サイドバー記事一覧の基本スタイル */
.sidebar-article-list ul {
  list-style: none;
  padding: 0;
}

.sidebar-article-list li {
  margin: 8px 0;
}

/* 通常リンクのデザイン */
.sidebar-article-list li a {
  text-decoration: none;
  color: #555;
  font-weight: normal;
}

/* 「今ココ」になったリンクだけ特別にデザイン */
.sidebar-article-list li a.now-here {
  background-color: #ffeaea; /* 背景ピンク */
  padding: 4px 8px;
  border-radius: 8px;
  color: #d14c4c; /* 文字色ピンク */
  font-weight: bold;
}
.sidebar-article-list li a:hover {
  background-color: transparent; /* 背景はそのまま透明！ */
  color: #c06c8d; /* 文字の色だけ変わる（ふわっとピンク系） */
}
/* ▼黒板ボタンのホバー時にふわっと明るく＆ベージュピンクオレンジっぽくする */
.blackboard-button:hover {
  filter: brightness(1.1) sepia(0.2) hue-rotate(-10deg) saturate(1.2);
  transform: scale(1.03);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影をめちゃ薄く */
}
/* すべてのリンクの基本スタイル */
a {
  color: #5c4033; /* こげちゃ色ベースで読みやすく */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* リンクにマウスホバーしたとき */
a:hover {
  color: #cc6699; /* 花染めピンク */
  text-shadow: 1px 1px 2px #fce4ec;
  transform: translateY(-2px); /* 少し浮かせる */
}

/* 記事タイトルの個別調整（記事ページ） */
.entry-title {
  font-family: 'Kiwi Maru', serif;
  font-size: 1.9em;
  font-weight: 600;
  color: #cc6699;
  text-shadow: 1px 1px 2px #fce4ec;
}

/* トップページのタイトル一覧 */
.entry-title-link {
  font-family: 'Kiwi Maru', serif;
  font-weight: 600;
  color: #5c4033;
}

.entry-title-link:hover {
  color: #cc6699;
  text-shadow: 1px 1px 2px #fce4ec;
  transform: translateY(-2px);
}

/* サイドバー項目もホバーでふんわり */
#box2 a:hover,
.sidebar a:hover {
  color: #cc6699;
  text-shadow: 1px 1px 2px #fce4ec;
  transform: translateY(-2px);
} 
/* 記事本文のやさしいフォントに変更 */
.entry-content {
  font-family: 'Zen Maru Gothic', 'Kiwi Maru', sans-serif;
  font-size: 1.05em;
  line-height: 1.9;
  color: #3b3b3b;
} 
.slide-heart-box {
  overflow: hidden;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-left: 3px solid #ffb6c1;
  background-color: #fff0f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.heart-icon {
  display: inline-block;
  animation: swing 0.6s infinite alternate ease-in-out;
  color: #ff69b4;
  font-size: 16px;
  margin-right: 6px;
}

.slide-heart-text {
  animation: slideInHeart 3s ease-out forwards;
  font-size: 13px;
  color: #c71585;
  opacity: 0;
}

@keyframes swing {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(12deg); }
  100% { transform: rotate(-12deg); }
}

@keyframes slideInHeart {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
} 
@keyframes slideInRightSlow {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.thank-you-text {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1s ease-out;
}

.thank-you-text.visible {
  animation: slideInRightSlow 5s ease-out forwards;
} 
.link-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 2px solid #ffe4e1; /* うっすらピンクの枠線 */
  border-radius: 12px;
  background-color: #fffaf7; /* ほんのりオレンジ背景 */
  margin: 20px 0;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1); /* ふんわり影 */
}

.link-card a img {
  width: 160px;
  height: auto;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  animation: pendulum 2.5s ease-in-out infinite; /* 振り子アニメ */
  transform-origin: center top;
}

@keyframes pendulum {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(5deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.link-card-text {
  font-size: 16px;
  color: #333;
}

.link-card-text a {
  color: #ff7f50; /* コーラルオレンジ */
  text-decoration: none;
  font-weight: bold;
}

.link-card-text a:hover {
  text-decoration: underline;
} 
.link-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 2px solid #ffe4e1; /* うっすらピンクの枠線 */
  border-radius: 12px;
  background-color: #fffaf7; /* ほんのりオレンジ背景 */
  margin: 20px 0;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1); /* ふんわり影 */
}

.link-card a img {
  width: 130px;
  height: auto;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  animation: pendulum 2.5s ease-in-out infinite;
  transform-origin: center top;
}

@keyframes pendulum {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(5deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.link-card-text {
  font-size: 16px;
  color: #333;
}

.link-card-text a {
  color: #ff7f50;
  text-decoration: none;
  font-weight: bold;
}

.link-card-text a:hover {
  text-decoration: underline;
} 
.cheer-bounce {
  display: inline-block;
  color: #d65d8b;
  font-weight: bold;
  animation: bounce 1.6s ease-in-out infinite;
}

/* ファイト〜！のぴょんぴょん */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ハートふわふわ */
.heart {
  position: absolute;
  color: #f4a4b5;
  font-size: 18px;
  animation: floatUp 4s ease-in infinite;
  opacity: 0.7;
}

.heart1 { top: 30px; left: 85%; animation-delay: 0s; }
.heart2 { top: 50px; left: 88%; animation-delay: 1s; }
.heart3 { top: 40px; left: 91%; animation-delay: 2s; }

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
  100% { transform: translateY(-20px) scale(1); opacity: 0.5; }
} 
.gray-note-box {
  position: relative;
  background: #f7f7f7;
  border: 1px solid #ccc;
  border-left: 6px solid #999;
  border-radius: 8px;
  padding: 20px 20px 20px 50px;
  margin: 20px 0;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.05);
  line-height: 1.8;
}

/* 左上のアイコン（えんぴつ） */
.gray-note-box::before {
  content: "✏️";
  position: absolute;
  top: -15px;
  left: 10px;
  font-size: 22px;
  animation: swing 1s infinite ease-in-out;
}

/* 点線ライン */
.gray-note-box::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 20px;
  width: calc(100% - 40px);
  height: 1px;
  border-bottom: 1px dotted #aaa;
}

/* ぴょこぴょこアニメーション */
@keyframes swing {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-12deg); }
  100% { transform: rotate(0deg); }
} 
/* タイトル画像エリア */
#title {
  position: relative;
  text-indent: -9999px;
  background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/n/niko-tan/20250505/20250505232455.png) no-repeat center center;
  background-size: cover;
  height: 260px;
  margin-bottom: 20px;

  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 1s ease-out forwards;
  transition: filter 0.4s ease;
}

/* ホバーで明るく */
#title:hover {
  filter: brightness(1.1);
}

/* 鉛筆画像を右上に表示＆ゆらゆらアニメーション */
#title::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 150px;
  width: 70px;
  height: 70px;
  background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/n/niko-tan/20250505/20250505235548.png) no-repeat center center;
  background-size: contain;
  animation: swing 1.5s infinite ease-in-out;
  z-index: 10;
}

/* ゆらゆら動き */
@keyframes swing {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}

/* ふわっと出現のアニメーション */
@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 
@media screen and (max-width: 768px) {
  #title {
    height: auto !important;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center top;
    padding-top: 31.25%; /* ← 画像の高さに合わせて */
  }
} 
/* h3〜h5の下線を徹底的に消す */
h3, h4, h5 {
  border-bottom: none !important;
  box-shadow: none !important;
}

h3::after, h4::after, h5::after {
  content: none !important;
  display: none !important;
}

.shiny-btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  font-weight: bold;
  padding: 8px 20px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  transition: background 0.3s ease;
}

.shiny-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 5%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-20deg);
  z-index: 0;
  pointer-events: none;
  animation: shine 5s infinite linear;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
} 

.gold-highlight {
  color: #bfa046; /* やや落ち着いたゴールド */
  font-weight: bold;
  animation: blink 2.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
} 

.gold-highlight {
  color: #bfa046; /* 控えめゴールド */
  font-weight: bold;
  font-size: 0.8em;
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
} 

.gold-text {
  font-weight: bold;
  font-size: 1.2em;
  background: linear-gradient(to right, #d4af37, #ffd700, #ffec8b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.6);
} 

.fuwari-hover {
  background: #fff;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fuwari-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

/* ASPバナーだけ角を四角に・ゆらゆら対策・余白なし */
.fuwari-hover img,
a[href*="a8.net"] img,
a[href*="moshimo.com"] img,
a[href*="rakuten.co.jp"] img,
a[href*="amazon.co.jp"] img {
  display: block;
  margin: 0;
  border-radius: 0 !important;
  animation: none !important;
} 

.breadcrumb {
  font-size: 13px;
  color: #d36c87;  /* やさしいローズピンク */
  margin-bottom: 8px;
} 


/* 吹き出し全体 */
.balloon-box {
  display: flex;
  align-items: flex-start;
  margin: 1.5em 0;
  font-size: 15px;
}

/* 左吹き出し */
.balloon-left .balloon-icon {
  order: 0;
  margin-right: 10px;
}
.balloon-left .balloon-talk::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 12px solid #f1f8e9;
  border-bottom: 6px solid transparent;
}

/* 右吹き出し */
.balloon-right {
  flex-direction: row-reverse;
}
.balloon-right .balloon-icon {
  order: 1;
  margin-left: 10px;
}
.balloon-right .balloon-talk::before {
  content: "";
  position: absolute;
  top: 14px;
  right: -12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 12px solid #f1f8e9;
  border-bottom: 6px solid transparent;
}

/* 共通アイコン */
.balloon-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 共通吹き出し */
.balloon-talk {
  position: relative;
  background: #f1f8e9;
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 85%;
  color: #333;
  line-height: 1.6;
} 

/* 記事本文内の広告画像にもホバー効果を適用 */
.entry-content a[href*="a8.net"] img,
.entry-content a[href*="af.moshimo.com"] img,
.entry-content a[href*="rakuten.co.jp"] img,
.entry-content a[href*="amazon.co.jp"] img,
.entry-content a[href*="click.linksynergy.com"] img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-content a[href*="a8.net"] img:hover,
.entry-content a[href*="af.moshimo.com"] img:hover,
.entry-content a[href*="rakuten.co.jp"] img:hover,
.entry-content a[href*="amazon.co.jp"] img:hover,
.entry-content a[href*="click.linksynergy.com"] img:hover {
  transform: scale(1.015);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} 


/* ✨ にこり専用レシピカード - 横並び固定＋スマホ対応 */
.nikori-card-kitchen {
  display: flex;
  flex-wrap: nowrap;              /* 横並びで折り返さない */
  align-items: stretch;           /* 中身の高さをカードに合わせる */
  gap: 12px;
  height: 140px;                  /* 全カードの高さを固定 */
  border: 1px solid #f9cfdc;
  border-radius: 12px;
  padding: 10px;
  margin: 14px 0;
  background: #fffaf8;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;               /* 高さを超える部分をカット */
}

.nikori-card-kitchen:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.nikori-card-kitchen img {
  width: 100px;
  height: 100px;                   /* 縦も固定（高さ揃う） */
  object-fit: cover;             /* 中央を切り出してキレイに */
  border-radius: 8px;
  align-self: center;            /* 縦位置を中央に */
}

.nikori-card-kitchen .text-box {
  flex: 1;
  font-size: 19px;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;          /* テキストは最大3行でカット */
  -webkit-box-orient: vertical;
}

/* 📱スマホ対応：縦並びで高さ自動＆テキスト全文表示 */
@media screen and (max-width: 480px) {
  .nikori-card-kitchen {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
  }

  .nikori-card-kitchen img {
    width: 100%;
    aspect-ratio: 1 / 1;  /* ←ここで正方形に統一✨ */
    object-fit: cover;
    border-radius: 8px;
  }

  .nikori-card-kitchen .text-box {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }
} 



/* にこり吹き出し用CSSここから */
.balloon-box {
  display: flex;
  align-items: flex-start;
  margin: 1.5em 0;
  font-size: 15px;
}

.balloon-left .balloon-icon {
  order: 0;
  margin-right: 10px;
}

.balloon-left .balloon-talk::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 12px solid #f1f8e9;
  border-bottom: 6px solid transparent;
}

.balloon-right {
  flex-direction: row-reverse;
}

.balloon-right .balloon-icon {
  order: 1;
  margin-left: 10px;
}

.balloon-right .balloon-talk::before {
  content: "";
  position: absolute;
  top: 14px;
  right: -12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 12px solid #f1f8e9;
  border-bottom: 6px solid transparent;
}

.balloon-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.balloon-talk {
  position: relative;
  background: #f1f8e9;
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 85%;
  color: #333;
  line-height: 1.6;
}
/* にこり吹き出し用CSSここまで */ 


/* よく学び！よく遊べ！をふわふわ浮かせるアニメーション */
/* ぷかぷか浮きながら、くるっと一回転アニメーション */
@keyframes spinFloat {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(180deg) translateY(-6px);
  }
  100% {
    transform: rotate(360deg) translateY(0);
  }
}

.spin-text {
  display: inline-block;
  animation: spinFloat 4s ease-in-out infinite;
} 


/* サイドバー問題集ボタンアニメーション */
@keyframes sparkle {
  0% { box-shadow: 0 0 3px rgba(180, 240, 200, 0.4); background-color: #e0ffe0; }
  50% { box-shadow: 0 0 10px rgba(120, 200, 160, 0.6); background-color: #d0f8d0; }
  100% { box-shadow: 0 0 3px rgba(180, 240, 200, 0.4); background-color: #e0ffe0; }
}

.cute-button {
  display: inline-block;
  padding: 8px 18px;
  background: #e0ffe0;
  color: #339966;
  font-weight: bold;
  text-decoration: none;
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  animation: sparkle 2.5s infinite;
  transition: transform 0.2s ease, background-color 0.3s ease;
  font-size: 0.95em;
  max-width: 100%;
}
.cute-button:hover {
  transform: scale(1.05);
  background-color: #c0f0c0;
} 


@media screen and (max-width: 599px) {
  .gray-note-box {
    font-size: 15px !important;
    line-height: 1.8 !important;
    padding: 16px !important;
    word-break: break-word;
  }
} 



/* ✨ にこり専用Houseworkカード - 横並び固定＋スマホ対応 */
.nikori-card-housework {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  height: 140px;
  border: 1px solid #cdeedf;
  border-radius: 12px;
  padding: 10px;
  margin: 14px 0;
  background: #f3fff8;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.nikori-card-housework:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.nikori-card-housework img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  align-self: center;
}
.nikori-card-housework .text-box {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 📱スマホ対応：縦並びで高さ自動＆テキスト全文表示 */
@media screen and (max-width: 480px) {
  .nikori-card-housework {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
  }
  .nikori-card-housework img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
  }
  .nikori-card-housework .text-box {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }
} 



/* トップページだけ、自動で出てくる「最新記事」＋そのh3見出しを非表示にする */
body.top-page .entry-entries,
body.top-page .archive-entries,
body.top-page .recent-entries,
body.top-page .hatena-module-recent-entries,
body.top-page .hatena-module-category-entries,
body.top-page h3 {
  display: none !important;
} 



/* --- にこさん用：画像付きカード（サイドバー表示向け） --- */
.custom-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 16px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: scale(1.03);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-card img {
  width: 40%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.custom-card .custom-card-title {
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: center;
  color: #333;
}

@media screen and (max-width: 600px) {
  .custom-card {
    flex-direction: row; /* ← スマホでも横並びを維持 */
  }

  .custom-card img {
    width: 40%;
    height: 100px;
  }

  .custom-card .custom-card-title {
    font-size: 13px;
    padding: 12px;
  }
}