/* <system section="theme" selected="report"> */
@charset "UTF-8";html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #cccccc;margin:1em 0;padding:0}input,select{vertical-align:middle}body{font-family:Helvetica Neue,Helvetica,Arial,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,ＭＳ Ｐゴシック,MS PGothic,sans-serif;background:transparent;color:#222}a{color:#456898}a:hover{color:#073472}.clearfix{display:block;*zoom: 1}.clearfix:after{display:block;visibility:hidden;font-size:0;height:0;clear:both;content:"."}#globalheader-container{background:#fff;border-bottom:1px solid #ccc;position:sticky;top:0}#container{width:810px;text-align:center;margin:0 auto;background:#fff;padding:0 30px}#container-inner{text-align:left}#blog-title{padding:70px 0}#title{display:inline-block;*display: inline;*zoom: 1;font-size:24px}#title a{text-decoration:none;color:#222}#blog-description{display:inline-block;*display: inline;*zoom: 1;font-size:12px;margin-left:1em}.header-image-enable #blog-title #title{padding:20px 0 0 20px}.header-image-enable #blog-title,.header-image-only #blog-title{padding:30px 0}#content-inner:after{content:".";display:block;clear:both;height:0;visibility:hidden}#wrapper{width:560px;float:left}.entry{margin-bottom:80px}.entry-header{margin-bottom:20px;position:relative}.date{font-size:13px;font-weight:700;padding-bottom:5px;border-bottom:1px solid #ccc;margin-bottom:15px}.date a{color:#000;text-decoration:none}.entry-title{margin-bottom:15px;line-height:1.3}.entry-title a{font-size:20px;color:#222;text-decoration:none}.categories{font-size:12px}.categories a{margin-right:.5em}.entry-header-menu{position:absolute;top:0;right:0;font-size:13px}.entry-footer{margin-top:20px;font-size:13px}.entry-footer-section,.social-buttons{margin-bottom:15px}.pager{font-size:14px;margin:15px 0;text-align:left;display:block;*zoom: 1}.pager:after{display:block;visibility:hidden;font-size:0;height:0;clear:both;content:"."}.pager-next,.pager-prev{display:inline-block;max-width:250px;line-height:1.5}.pager-next{float:right}.pager-prev{float:left}#footer{width:830px;margin:0 auto;text-align:center;padding:10px 20px;background:#fff;line-height:1.3;font-size:13px}#footer img{vertical-align:middle}.entry-comment{border-bottom:1px solid #dfdfdf;list-style:none;padding-bottom:15px;margin-bottom:15px}.comment-user-name .hatena-id-icon{vertical-align:middle;margin-right:.2em}.comment-user-name{margin-bottom:7px}.comment-user-name a{color:#222;font-weight:700}.comment-content{line-height:1.5em;margin-bottom:7px;word-wrap:break-word}.comment-user-name,.comment-content{font-size:14px}.comment-metadata,.comment-metadata a{color:#aaa}.leave-comment-title{font-size:13px;font-weight:700;margin:10px 0}.leave-comment-title:hover{text-decoration:underline}.entry-content{font-size:15px;line-height:1.7}.entry-content p{margin:.7em 0 1em}.entry-content img{max-width:100%}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin:1em 0 .5em;line-height:1.7}.entry-content h1{font-size:160%}.entry-content h2{font-size:150%}.entry-content h3{font-size:140%}.entry-content h4{font-size:120%}.entry-content h5{font-size:110%}.entry-content h6{font-size:100%}.entry-content h1,.entry-content h2,.entry-content h3{border-bottom:1px dotted #999}.entry-content ul,.entry-content ol,.entry-content dd{margin:0 0 0 1.5em;padding:0}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.footnote-number{scroll-margin-top:56px}.entry blockquote{padding:10px;margin:1em 0;border:1px solid #ccc}.entry blockquote p{margin-top:0;margin-bottom:0}.entry-content table{border-collapse:collapse;border-spacing:0}.entry-content table th,.entry-content table td{border:1px solid #ddd;padding:5px 10px}.entry-content table th{background:#fafafa}pre{font-size:12px;padding:10px;border:1px solid #ccc}.entry-content a:visited{color:#aaa}a.keyword{text-decoration:none;border-bottom:1px solid #DEDEDE;color:#222}pre.lang-aa{font-size:14px;line-height:15px}.hatena-asin-detail li{line-height:1.4}#box2{width:220px;float:right;font-size:14px;word-wrap:break-word}.hatena-module{margin-bottom:30px}.hatena-module-title{font-size:15px;font-weight:700;margin-bottom:20px}.hatena-module-title a{color:#222;text-decoration:none}.hatena-module-title a:hover{text-decoration:underline}.hatena-module .profile-icon{margin-bottom:5px}.hatena-module .id{display:block;margin-bottom:5px}.profile-description{font-size:12px;margin-bottom:5px}.hatena-module-body li{list-style:none;margin-bottom:.7em}.hatena-module-body{line-height:1.5}.urllist-item{padding-bottom:10px;border-bottom:1px solid #ddd}form.search-form input{border:1px solid #ccc;vertical-align:middle}.search-form .search-module-input{width:180px;padding:3px;margin:0;font-size:12px}.search-form .search-module-button{height:23px;width:23px;border:none;text-indent:-999px;cursor:pointer;background:url(https://cdn.blog.st-hatena.com/images/theme/search_g.png?version=91d3b8c0bf02af55874bccc694cbb2) 50% 50% no-repeat}.page-about dt{font-size:16px;font-weight:700;border-bottom:1px solid #ccc;margin-bottom:5px;padding-bottom:2px}.page-about dd{margin-left:0;margin-bottom:30px}.page-about .entry-content img.profile-icon{height:16px;width:16px}.page-archive #main{padding:0;margin:0 auto;text-align:center}.page-archive #main-inner{font-size:14px;text-align:left}.page-archive .date{border:none;margin-bottom:10px;padding-bottom:0}.page-archive .categories{margin-bottom:10px}.page-archive .entry-title{font-size:18px;border-bottom:1px solid #ccc;padding-bottom:2px;margin-bottom:10px}.page-archive .entry-title a{color:#000;text-decoration:none}.page-archive .entry-title a:hover{text-decoration:underline}.page-archive p{line-height:1.5;margin-bottom:1em}.page-archive #main-inner section{margin-bottom:30px}.page-archive #main-inner .entry-title{font-size:14px;line-height:1.5;color:#000;text-decoration:none}.page-archive #main-inner .entry-title:hover{text-decoration:underline}.page-archive #main-inner ul{list-style:none;margin:0;padding:0}.page-archive #main-inner li{margin:0;padding:0 0 10px}.page-archive #main-inner li .categories{margin-top:10px}.breadcrumb{margin-bottom:20px;font-size:14px}

/* </system> */

/* <system section="background" selected="FFD8D8"> */
body{background:#FFD8D8;}
/* </system> */

/* コードブロックの折り返し禁止・スクロール・5行制限 */
.entry-content pre.code {
    background-color: #fff5f5;
    white-space: pre !important;
    overflow-x: auto !important; /* 横スクロールを許可 */
    overflow-y: auto !important; /* 縦スクロールを許可 */
    word-wrap: normal !important;
    
    /* 5行分の高さに制限（1行を約1.6倍の高さとして計算） */
    max-height: calc(1.6em * 5 + 20px) !important; 
    box-sizing: border-box;
}

/* --- スクロールバーのカスタマイズ --- */

/* 1. スクロールバー全体の横幅・高さ */
.entry-content pre.code::-webkit-scrollbar {
    width: 12px;  /* 縦スクロールバーの太さ */
    height: 12px; /* 横スクロールバーの太さ */
}

/* 2. スクロールバーの背景（トラック）の色の指定 */
.entry-content pre.code::-webkit-scrollbar-track {
    background: #fff5f5 !important; /* ←ここにお好みの背景色を指定（現在は薄いグレー） */
    border-radius: 4px;
}

/* 3. スクロールバーの動くつまみ（ハンドル）の部分 */
.entry-content pre.code::-webkit-scrollbar-thumb {
    background: #ffd8d8 !important; /* つまみの色（少し濃いめのグレー） */
    border-radius: 4px;
}

/* 4. つまみをホバーしたときの色 */
.entry-content pre.code::-webkit-scrollbar-thumb:hover {
    background: #ffd8d8 !important;
}

/* ==========================================
   記事タイトル (h1) の再カスタマイズ（1行ベース・極淡カラー）
   ========================================== */
.entry-title,
.entry-title a {
    color: #7e5c6e !important;            /* さらに明るく！グレーを混ぜてトーンを落としたソフトなアッシュローズ */
    font-size: 1.25em !important;         /* 1.45emからさらに縮小。本文やh2とのバランスを取った控えめなサイズ */
    font-weight: bold !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;    /* 横幅に収まりやすくするため、文字間隔を標準に近づける */
    text-decoration: none !important;
    transition: color 0.2s ease;
}

/* タイトルにマウスを乗せたときのホバー効果 */
.entry-title a:hover {
    color: #ffb3c1 !important;            /* サクラピンクにふわっと変化 */
}

/* ==========================================
   記事内見出し（h2, h3, h4）桜色カスタマイズ
   ========================================== */
/* 大見出し (h2) : サクラピンクのしっかりとした下線のみ */
.entry-content h2 {
    position: relative;
    padding: 8px 0 !important;
    background: transparent !important;   /* 背景を透明（なし）に */
    color: #5c2c35 !important;
    font-size: 1.4em !important;
    font-weight: bold !important;
    border-left: none !important;         /* 左線をなしに */
    border-bottom: 4px solid #ffb3c1 !important; /* 太めのサクラピンク下線 */
    margin: 40px 0 20px 0 !important;
}

/* 中見出し (h3) : 下線にサクラピンクを適用 */
.entry-content h3 {
    position: relative;
    padding: 8px 0 8px 5px !important;
    color: #6b3540 !important;            /* 文字色 */
    font-size: 1.25em !important;
    font-weight: bold !important;
    border-bottom: 2px solid #ffb3c1 !important; /* 大見出しの縦線と同じサクラピンクの下線 */
    border-left: none !important;
    background: transparent !important;
    margin: 30px 0 15px 0 !important;
}

/* 小見出し (h4) : しっかり読める濃さのくすみピンクに調整 */
.entry-content h4 {
    position: relative;
    padding: 5px 0 5px 18px !important;
    color: #926482 !important;            /* 視認性の高い、濃いくすみピンクに変更 */
    font-size: 1.1em !important;
    font-weight: bold !important;
    margin: 20px 0 12px 0 !important;
    background: transparent !important;
    border: none !important;
}

/* h4の左側に小さな正方形のアイコンを表示 */
.entry-content h4::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: #a87998;            /* 文字色よりほんの少しだけ明るい同系色の四角 */
    border-radius: 1px;
}

/* ==========================================
   記事トップの日時 (date) のカスタマイズ
   ========================================== */

/* 日時の文字色をh3と同等の濃いくすみピンクに変更 */
.date a {
    color: #5c2c35 !important;            /* h3と同じチェリー・ココアローズ色 */
    font-weight: bold !important;
}

/* 日時の下にある境界線をサクラピンクに変更 */
.date.entry-date {
    border-bottom: 2px solid #ffb3c1 !important; /* h2・h3の基準色と同じサクラピンクの線 */
    padding-bottom: 5px !important;
}

/* ==========================================
   ページ全体のリンクカラーのカスタマイズ
   ========================================== */

/* 通常時のリンクの色（青からローズピンク系へ） */
.entry-content a,
.entry-content a:visited,
.categories a,
.categories a:visited {
    color: #b35267;            /* 青色を廃止し、桜色と調和する少し濃いめのチェリーローズ */
    text-decoration: underline; /* リンクであることが一目でわかるよう下線を維持 */
    transition: color 0.2s ease;          /* 色の変化を滑らかにする */
}

/* マウスを乗せたとき（ホバー時）の色 */
.entry-content a:hover,
.categories a:hover{
    color: #ffb3c1;            /* 見出しや日時の基準色と同じ「サクラピンク」にふわっと変化 */
    text-decoration: underline;
}

/* （おまけ）サイドバーの最新記事などのリンクも同系色に馴染ませる */
.hatena-module-body a {
    color: #7e5c6e;            /* タイトルで使用したアッシュローズで優しく */
}
.hatena-module-body a:hover {
    color: #ffb3c1;            /* ホバー時はサクラピンク */
}

/* ==========================================
   折りたたみブロック (details / summary) のカスタマイズ
   ========================================== */

/* ブロック全体の調整 */
.entry-content details {
    margin: 15px 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease;
}

/* 見出し部分（summary）のデザイン */
.entry-content summary {
    position: relative;
    padding: 8px 10px 8px 30px !important; /* 左側に矢印用の余白を確保 */
    color: #6b3540 !important;            /* h3と同じチェリー・ココアローズ色 */
    font-size: 1.15em !important;         /* 本文より少し大きく、見出しらしいサイズに */
    font-weight: bold !important;
    cursor: pointer;                      /* マウスを乗せると指先マークに */
    list-style: none !important;          /* ブラウザ標準の矢印を消去 */
    outline: none;
    transition: color 0.2s ease;
    border-bottom: 1px dashed #ffe5ec !important; /* うっすらとした桜色の下線 */
}

/* 読者向けにホバー時のエフェクトを追加 */
.entry-content summary:hover {
    color: #ffb3c1 !important;            /* マウスホバーでサクラピンクにふわっと変化 */
}

/* Safariなど一部ブラウザ向けの標準矢印消去 */
.entry-content summary::-webkit-details-marker {
    display: none !important;
}

/* --- 自作の洗練された矢印マーク（▶） --- */
.entry-content summary::before {
    content: "▶";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);          /* 垂直中央に配置 */
    color: #ffb3c1;                       /* 矢印の色をサクラピンクに */
    font-size: 0.85em;
    transition: transform 0.2s ease;      /* 回転を滑らかに */
}

/* 開いている状態（▼）の矢印の動き */
.entry-content details[open] summary::before {
    transform: translateY(-50%) rotate(90deg); /* 90度回転させて下向きにする */
    color: #b35267;                       /* 開いたときは少し濃いローズにしてアクセントに */
}