/* <system section="theme" selected="98012380861710503"> */
/*
Responsive: yes
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');
*, *:before, *:after {box-sizing:border-box;}
body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	color: var(--color10);
	font-family: "Montserrat", sans-serif;
	font-feature-settings : "pwid" 1;
	line-height: 1.8;
}

/**** カラー設定 ****/
@supports(--css: variables) {
:root {
--color0: #fff;	/* color1上にあるテキストカラー */
--color1: #333;	/* 濃い色（枠線など） */
--color2: #eee;	/* 薄い色 */
--colorlink: #4285f4;	/* リンクカラー */
--color10: #252525;	/* メインのテキストカラー */
--color20: #fff;	/* メインの背景カラー */
}
}


::selection {
	background: var(--color10);
	color: var(--color20);
}
::-moz-selection {
	background: var(--color10);
	color: var(--color20);
}
a{
	outline: none;
	color: var(--color10);
	text-decoration: none;
	transition: all 0.2s ease;
}
a:hover{
	text-decoration: underline;
}
a img,img{
	border: none;
	vertical-align: bottom;
}
p{
	margin :1.5rem 0;
	padding: 0 0 0 0;
}
h1,h2,h3,h4,h5,h6{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	font-size: 100%;
}
small{
	font-size: 0.75rem;
}
b{
	font-weight: bold;
}
ul, ol{
	margin: 1.5rem 0;
	padding: 0 0 0 1.5rem;
}
li{
	margin-bottom: 0.5em;
}
dt{
	margin-top: 1rem;
}
p:first-child,
ul:first-child,
ol:first-child,
li:first-child{
	margin-top: 0;
}
p:last-child,
ul:last-child,
ol:last-child,
li:last-child{
	margin-bottom: 0;
}
p:empty{
	display: none;
}

hr{
	border-style: solid;
	border-width: 0;
	border-top: 3px solid var(--color1);
}
hr.dot{
	border-top: 6px dotted var(--color1);
}
hr.dash{
	border-top: 4px dashed var(--color1);
}

#globalheader-container{
	background: var(--color1);
	color: var(--color0);
}


/**** レイアウト ****/
#container-inner{
	position: relative;
	padding: 0 1rem;
}
#content{
	padding: 0 0 0 0;
}
#wrapper{
	padding: 0 0 0 0;
}
#box2{
	display: flex;
	flex-wrap: wrap;
	padding: 0 0 0 0;
}
#box2-inner{
	width: 100%;
}


/* ブログタイトル */
#blog-title{
	border: 6px solid var(--color1);
	margin: 2rem auto;
	background: var(--color20);
	box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
	max-width: 1060px;
}
.header-image-enable #blog-title #blog-title-inner{
	background-size: cover;
	height: auto;
}
#blog-title-content{
	padding: 1rem;
	text-align: center;
}
#title{
	font-size: 1.8rem;
	font-weight: bold;
}
#title a{
	color: var(--color10);
}
#blog-description{
	font-size: .85rem;
	color: var(--color10);
}

#top-editarea{}
#top-box{
	position: relative;
	border: 6px solid var(--color1);
	margin: 0 0 2rem 0;
	padding: 1rem;
	background: var(--color20);
	box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
}

/* エントリー */

.entry,
.archive-entry{
	position: relative;
	border: 6px solid var(--color1);
	margin: 0 0 2rem 0;
	padding: 0 1rem 1rem 1rem;
	background: var(--color20);
	box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
}
.entry-content{}
.page-entry .breadcrumb{
	margin: 0 0 0 0;
}

.entry-header{
	margin-bottom: 1.5rem;
}
.entry-header a{
	color: var(--color10);
}
.date{
	margin: 0 0 0.8rem -1rem;
	font-size: 0.8rem;
	color: var(--color0);
}
.date a{
	display: inline-block;
	color: var(--color0);
	font-weight: bold;
	padding: 0 0.5rem;
	background: var(--color1);
	border-right: 6px solid var(--color1);
	border-bottom: 4px solid var(--color1);
}
.date a::before{
	content: '\f043';
	font-family: blogicon;
	font-weight: normal;
}
.entry-title{
	margin: 0 0 0.3rem 0;
	text-align: center;
}
.entry-title-link{
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.3;
	word-break: break-all;
}
.page-entry .entry-title-link{
	font-size: 2rem;
}
.entry-categories{
	text-align:center;
}
.categories a{
	display: inline-block;
	background: var(--color2);
	color: var(--color1);
	font-size: 0.7rem;
	margin:0 2px 0 0;
	padding:2px 8px;
}
.categories a:last-of-type{
	margin:0 0 0 0;
}
.entry-content a.entry-see-more{
	display: block;
	background:var(--color1);
	border:6px solid var(--color1);
	font-size: 0.8rem;
	font-weight: bold;
	color: var(--color0);
	text-decoration: none;
	text-align: center;
	line-height: 3;
}
.entry-content a.entry-see-more::before{
	content: '\f024';
	font-family: blogicon;
	color: var(--color0);
	margin-right: 0.4em;
}
.entry-content a.entry-see-more:hover{
	color: var(--color1);
	background: var(--color20);
	text-decoration: none;
}
.entry-content a.entry-see-more:hover::before{
	color: var(--color1);
}
.page-index .comment-box,.page-index .author,.page-index .entry-footer-time,.page-index .entry-footer{
	display: none;
}

/* 記事編集ボタン */
.entry-header-menu a{
	position: absolute;
	z-index: 2;
	display: inline-block;
	padding: .2rem 1.5rem;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
	background: #333;
	line-height: 3;
} 
.entry-header-menu a{
	color: #fff;
}

:not(.page-index) .social-buttons{
	margin-bottom: 2rem;
}

/* コメント */
.comment-box{
	position: relative;
	margin: 1.5rem 0 0 0;
}
.comment{
	margin: 0 0 0 0;
	padding:0 0 0 0;
}
.comment li{
	list-style-type: none;
	margin: 1.5rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.comment li .comment-user-name{
	width: 100%;
	display: flex;
	margin: 0 0 0 0;
}
.comment li .hatena-id-icon{
	width: 64px;
	height: 64px;
	margin: 0 8px 12px 0;
}
.comment li .comment-user-id{
	font-size: .75rem;
	display: block;
	line-height: 1.3;
}

.comment li .comment-content{
	position: relative;
	background: var(--color2);
	border-radius: .8em;
	width: 100%;
	padding: 0 1em;
}
.comment li .comment-content::before{
	position: absolute;
	top: -12px;
	left: 32px;
	content: '';
	border-top: 16px solid transparent;
	border-left: 16px solid var(--color2);
}
.comment li .comment-content p{
	margin: 1em 0;
	line-height: 1.6;
}
.comment li .comment-metadata{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	font-size: 0.8rem;
	text-align: right;
	width: 100%;
}
.leave-comment-title{
	display: inline-block;
	padding: 0.8em 1em 1.0em 1em;
	line-height: 1;
	background: var(--color0);
	color: var(--color1);
	border: 4px solid var(--color1);
}
.leave-comment-title:hover{
	background: var(--color1);
	color: var(--color0);
	text-decoration: none;
}
.leave-comment-title::before{
	position: relative;
	top: 0.3rem;
	content: "\f01d";
	font-family: blogicon;
	font-size: 1.5rem;
	line-height: 1rem;
	margin: 0 0.2em 0 0;
}

@media screen and (min-width: 900px){
.comment li .comment-user-name{width:64px;display:block;}
.comment li .hatena-id-icon{margin:0 0 0.2em 0;}
.comment li .comment-user-id .user-name-nickname{display:block;}
.comment li .comment-user-id{text-align:center;}
.comment li .comment-content{width:calc(100% - 80px);}
.comment li .comment-content::before{top:32px;left:-12px;border-top:16px solid var(--color2);border-left:12px solid transparent;}
}

.page-entry .entry-footer{margin:1.5rem 0 0 0;}
.page-entry .entry-footer-section{text-align:right;margin: 0 0 0 0;}

/* 見出し */
.entry-content h2{font-size:1.5rem;padding:0.7rem 0.5rem;margin:4rem 0 1.6rem 0;text-align:center;background:var(--color1);color:var(--color0);}
.entry-content h3{font-size:1.5rem;margin:1.8rem 0 1rem 0;padding:0 0 0 1.2em;position:relative;line-height:1.4;}
.entry-content h3::before{content:'';position:absolute;top:0;left:0;display:block;background:var(--color1);width:0.6em;height:0.6em;}
.entry-content h3::after{content:'';position:absolute;top:0.25em;left:0.25em;display:block;background:var(--color1);width:0.6em;height:0.6em;filter: opacity(50%);}

.entry-content h4{font-size:1.1rem;margin-top:1.5rem;padding:0 0 0 0.5em;border-left:6px solid var(--color1);}
.entry-content h5{margin-top:1.5rem;}
.entry-content h6{margin-top:1.5rem;}

.entry-content h3 + p{margin-top:1rem}
.entry-content h4 + p{margin-top:0.75rem}
.entry-content h5 + p{margin-top:0.5rem}
.entry-content h6 + p{margin-top:0.5rem}

.entry-content p{overflow:hidden;}
.entry-content a{color:var(--colorlink);text-decoration:underline;}

.entry-content .hatena-image-left,
.entry-content .hatena-image-right{
	max-width: 60%;
}


/* 目次 */
.table-of-contents{
	position:relative;
	border:3px solid var(--color1);
	padding:1rem 2rem;
}
.table-of-contents::before{
	content:'INDEX';
	position:absolute;
	top:-0.9rem;
	left:1rem;
	padding:0 0.6rem;
	font-weight:bold;
	background:var(--color20);
}
.table-of-contents li{
	margin: 0 0 0 0;
}
.table-of-contents ul{
	margin: 0 0 0 0;
}
.table-of-contents a{
	text-decoration:none;
}


.hatena-asin-detail{border: 3px solid var(--color1);position: relative;padding:0.8em 0.6em 0.8em 0.6em;}
.hatena-asin-detail .hatena-asin-detail-image{float: right;}
.hatena-asin-detail .hatena-asin-detail-info{flex: 1;}
.hatena-asin-detail .hatena-asin-detail-info li{margin: 0 0 0 0;}
.hatena-asin-detail::before{position:absolute;top:-2px;right:-2px;content:'\f034';font-family:blogicon;width:1.5rem;height:1.5rem;line-height:1.6rem;text-align:center;font-size:0.8rem;background:var(--color1);color:var(--color0);}
.hatena-rakuten-detail::before{content:'\f722';}

@media screen and (min-width: 900px){
.hatena-asin-detail{display: flex;padding:0.8em 1.5em 0.8em 0.6em;}
.hatena-asin-detail .hatena-asin-detail-image{float: none;}
}

blockquote{margin:1.5rem 0;padding:1.5em 1.5em 1.5em 3em;position:relative;font-size:90%;background-color:var(--color1);filter: brightness(470%);}
blockquote p{margin:1.5em 0;filter: brightness(26%);}
blockquote cite{display:block;font-style:oblique;font-size:0.8em;filter: brightness(26%);}
blockquote::before{
	position: absolute;
	top: 0;
	left: 0.4em;
	z-index: 2;
	font-family: blogicon;
	content:'\f704';
	font-size: 2em;
	color: var(--color1);
	height: 100%;
	filter: brightness(90%);
}

table{width:100%;border-collapse:collapse;margin:0 0 1.8em 0;}
th{border:1px solid #ccc;background:#eee;padding:0.5em;}
td{border:1px solid #ccc;padding:0.5em;}

pre.code{margin:1.5rem 0;padding:2.5em 1em 1em 1em;border:4px solid var(--color1);line-height:1.2;position:relative;
background: -webkit-linear-gradient(var(--color1), var(--color1) 2em, var(--color20) 2em, var(--color20) 100%);
background: linear-gradient(var(--color1), var(--color1) 2em, var(--color20) 2em, var(--color20) 100%);
}
pre.code::before{content:'\f038\0020'attr(data-lang);font-family:blogicon;position:absolute;top:0;left:0.5em;color:var(--color20);line-height:2;}

.exlink{border:1px solid #ccc;background:#f8f8f8;padding:0.7em;margin:0 0 1em 0;}
.exlink::before{content:"\f009";font-family:blogicon;margin-right:0.3em;}
.flexbox{-webkit-display:flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between;}
.flexbox span:not(:first-of-type){margin-left:1%;}
.waku{border:1px solid #ccc;padding:1em;margin:1em 0;border-radius:2px;}
.animecite{display:block;font-size:80%;color:#666;margin-bottom:1.5em;}
.page-index .entry-content .animecite{display:none;}


/* 一覧表示形式 */
.archive-header-category{
	border: 6px solid var(--color1);
	margin: 0 0 2rem 0;
	padding: 1rem;
	background: var(--color20);
	box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
}
.archive-header-category .archive-heading{
	margin:0 0 0 0;
}
.archive-header-category .archive-heading::before{
	font-family: blogicon;
	font-weight: normal;
	content: '\f022';
	margin-right:0.3em;
}
.archive-entry-header .entry-title{
	text-align: left;
}
.archive-entry .categories{
	margin-bottom: 1rem;
}
.page-archive .entry-thumb{
	float: right;
	margin: 0 0 0 10px;
}




/* ページャー */
.pager a{display:block;border:6px solid var(--color1);margin:1.5rem 0;padding:1rem 1rem 1rem 3rem;background:var(--color20);box-shadow:8px 8px 0 rgba(0,0,0,0.2);}
.page-index .pager a{text-align:center;font-size:0;text-decoration:none;color:var(--color1);padding:1rem 1rem 1rem 1rem;}
.page-index .pager a::before{display:inline-block;font-family: blogicon;content:'\f008';font-size:0.8rem;margin-right:0.3em;}
.page-index .pager a::after{display:inline-block;content:'MORE POSTS';font-size:0.8rem;padding:1em 0;font-weight:bold;}
.page-index .pager a:hover{background:var(--color1);color:var(--color0);}

.pager-arrow{display:none;}
.pager-prev, .pager-next{position:relative;display:block;}
.page-entry .pager-prev::before, .page-entry .pager-next::before{position:absolute;top:calc(50% - 0.8em);left:1rem;font-family: blogicon;font-size:3rem;opacity:0.1;}
.page-entry .pager-prev::before{content:'\f005';}
.page-entry .pager-next::before{content:'\f006';}

@media screen and (min-width: 768px){
.page-entry .pager{
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	margin:1.5rem 0;
}
.page-entry .pager a{
	margin:0 0;height:100%;padding:1rem 1rem 1rem 1rem;
}
.page-entry .pager-prev, .page-entry .pager-next{width:48.5%;}
.page-entry .pager-prev{}
.page-entry .pager-next::before{left: auto;right:1.5rem;}
.page-entry .pager .pager-next{text-align:right;}
}


/* サイドバー */
.hatena-module{border:6px solid var(--color1);margin:0 0 2rem 0;background:var(--color20);box-shadow:8px 8px 0 rgba(0,0,0,0.2);}
.hatena-module:last-of-type{position: sticky;top:1rem;}
.hatena-module-title{color:var(--color0);font-size:1.2rem;background:var(--color1);border-bottom:2px solid var(--color1);font-weight:bold;margin:0 0 1rem 0;padding:0 0.5rem;line-height:2;text-transform:uppercase;text-align:center;letter-spacing:2px;}
.hatena-module-title a{color:var(--color0);}
.hatena-module-title::before{font-family: blogicon;font-weight:normal;}
.hatena-module-profile .hatena-module-title::before{content: '\f016';}
.hatena-module-search-box .hatena-module-title::before{content: '\f01a';}
.hatena-module-category .hatena-module-title::before{content: '\f022';}
.hatena-module-recent-comments .hatena-module-title::before{content: '\f01d';}
.hatena-module-archive .hatena-module-title::before{content: '\f039';}
.hatena-module-entries-access-ranking .hatena-module-title::before{content: '\f050';}
.hatena-module-links .hatena-module-title::before{content: '\f042';}
.hatena-module-recent-entries .hatena-module-title::before{content: '\f031';}
.hatena-module-related-entries .hatena-module-title::before{content: '\f019';}
.hatena-module-body{margin:1rem;line-height:1.5;}
.hatena-module-body a{}
.hatena-module-body a:hover{}


.search-form{position:relative;overflow:hidden;background:var(--color2);}
.search-form:after{content:"\f01a";font-family:blogicon;position:absolute;right:0;height:3rem;width:3rem;text-align:center;font-size:0.9rem;line-height:3rem;color:var(--color1);}
.search-module-input{border:0px;width:calc(100% - 3rem);height:3rem;font-size:0.9rem;line-height:3rem;padding:0 1em;background:var(--color2);}
.search-module-button{border:0px;background:transparent;color:transparent;position:absolute;right:0;height:3rem;width:3rem;z-index:2;}
.search-module-button:hover{cursor:pointer;}

.hatena-module-profile .profile-icon{float:left;margin:0 .5em 0 0;}
.profile-activities, .profile-description{clear:both;}

.hatena-urllist{margin:0 0 0 0;padding:0 0 0 1.4em;}
.hatena-urllist li{}
.hatena-urllist li a{color:var(--color10);}
.hatena-urllist li:first-child{}
.hatena-urllist li:last-child{}
.urllist-item-inner{}
.urllist-image{}
.urllist-date-link{}
.urllist-date-link a{display:block;overflow:hidden;font-weight:bold;font-size:1rem;line-height:1;border-bottom:2px solid var(--color1);margin-bottom:0.3em;}
.urllist-title{display:block;overflow:hidden;word-break:break-all;font-size:0.9rem;}
.recent-entries-item{}
.recent-entries-item:last-of-type{}
.urllist-with-thumbnails{padding:0 0 0 0;}
.archive-module-months{margin-top:0;}

.recent-comments{padding-left: 0;list-style-type:none;}
.recent-comments a{font-size:90%;}
.recent-comments .user-id{display:block;}
.recent-comments .hatena-id-icon{width:32px;height:32px;}

/* 関連記事 */
.entry-footer .hatena-module-related-entries{border:0;box-shadow:0 0 0;}
.entry-footer .hatena-module-related-entries .hatena-module-title{font-size:0;border-bottom:0;}
.entry-footer .hatena-module-related-entries .hatena-module-title::before{font-size:1.5rem;}
.entry-footer .hatena-module-related-entries .hatena-module-title::after{content:'Related entries';font-family: "Montserrat", sans-serif;font-weight:bold;font-size:1.5rem;}
.entry-footer .hatena-module-related-entries .hatena-module-body{margin:0 0 0 0;}
.entry-footer .related-entries-title{font-weight:bold;font-size:110%;}
.entry-footer .related-entries-item a{}
.entry-footer .related-entries-item a:hover{}
.entry-footer .related-entries-entry-body{}


/* アーカイブ */



/* フッター */
#footer{background:var(--color1);text-align:center;padding:2rem 0;color:var(--color0);}
#footer a{color:var(--color0);}
#footer a:hover{color:var(--color0);}
#footer-inner{}
.footer-address{}
.footer-address img{vertical-align:baseline;}
.services{margin:0 0 0 0;padding:0 0 0 0;}


/* ********メディアクエリ******** */


@media screen and (min-width: 768px){
#content-inner{display:flex;justify-content:space-between;}
#wrapper{width:calc(100% - 330px);}
#box2{width:300px;}
#blog-title-content{
	padding-top: calc(1rem + (100vw - 768px) * 0.1);
	padding-bottom: calc(1rem + (100vw - 768px) * 0.1);
}
.page-archive .entry-thumb{
	width: 180px;
	height: 180px;
}
}

@media screen and (min-width: 900px){
.entry,
.archive-entry{
	padding: 0 1.5rem 1.5rem 1.5rem;
}
.date{
	margin: 0 0 0.8rem -1.5rem;
}
}

@media screen and (min-width: 1112px){
#content{max-width:1060px;margin:0 auto;}
#content-inner{}
#wrapper{width:730px;}
#main{}
#box2{width:300px;}
#blog-title-content{
	padding-top: calc(1rem + 32.4px);
	padding-bottom: calc(1rem + 32.4px);
}
#top-box{max-width:1060px;margin-right: auto;margin-left: auto;}
.entry,
.archive-entry{
	padding: 0 2rem 2rem 2rem;
}
.date{
	margin: 0 0 0.8rem -2rem;
}
.hatena-module-body a{}
.hatena-module-body a:hover{}

}


/* </system> */

/* <system section="background" selected="custom"> */
body{ background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/f/f0u0sso/20260205/20260205015421.png'); background-repeat: repeat; background-color:transparent; background-attachment: fixed; background-position: left top;}
/* </system> */

body {
  color:#907f98;
  font-family:"M PLUS 1";
}

#wrapper {
  width: calc(100% - 330px);
  order: 2; /* デフォルトではメインコンテンツを後ろに */
}

#box2 {
  width: 300px;
  order: 1; /* デフォルトではサイドバーを前に */
}

#content-inner {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

/* 768px以下の画面幅の場合 */
@media screen and (max-width: 768px) {
  #wrapper {
    width: 100%; /* 幅を100%に戻す */
    order: 1; /* メインコンテンツを前に */
  }

  #box2 {
    width: 100%; /* 幅を100%に戻す */
    order: 2; /* サイドバーを後ろに */
  }

  #content-inner {  
    }
}

.header-image-enable #blog-title #blog-title-inner {
  height: 0;
  padding-top: 30%; /* 調整 */
  overflow: hidden;
  position: relative; /* 子要素の基準点とする */
}

#blog-title {
  border-color: #E3D7E9 !important;
  max-width: 100%;
  background-size: cover;
  max-height: 333px;
  background-position: center; 
  max-height: none;
  margin-bottom: 0 !important; /* 下マージンを 0 に */
  padding-bottom: 0 !important; /* 下パディングを 0 に */
  }

#blog-title-content {
  position: absolute; /* `#blog-title-inner` 内に絶対配置 */
  top: 50%; /* 縦方向中央 */
  left: 50%; /* 横方向中央 */
  transform: translate(-50%, -50%); /* 中央揃え */
  text-align: center;
  width: 100%; /* 必要に応じて調整 */
}

#title a {
  color: #fff !important;
  background-color: rgba(227, 215, 233, 0.8);
  padding: 0.3em 0.3em;
  text-shadow: none !important;
  font-family: "DotGothic16";
  font-size: 50%;
}

#blog-description {
  background-color: rgba(227, 215, 233, 0.8) !important;
  color: #fff !important;
  padding: 0.2em 0.5em !important;
  display: inline-block !important;
  text-shadow: none !important;
  font-size: 40%;
}

#top-box {
  border-color: #E3D7E9; /* カテゴリートップ */
  }
  
div.hatena-module {
  border-color: #E3D7E9 ; /* サイドバー枠 */
  height: auto !important; 
  overflow: hidden; /* はみ出し防止 */
}

.hatena-module {
  background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/f/f0u0sso/20260205/20260205024422.jpg');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 40px 50px;
}
  
div.hatena-module-title {
  background-color:#E3D7E9; /* サイドバータイトル */
  border-bottom-color: #E3D7E9;
  }

.blog-controlls-subscribe-btn, .blog-controlls-subscribe-btn:visited {
  background-color: rgba(250,215,233,0.8);
}

.blog-controlls-subscribe-btn:hover {
  background-color: #E3D7E9;
}

.entry,.archive-entry {
  border-color: #E3D7E9;
}

.archive-header-category {
  border-color: #E3D7E9; /* カテゴリーヘッダー */
  }

section {
  border-color: #E3D7E9;
}

div.entry-content {
  background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/f/f0u0sso/20260205/20260205024422.jpg');
  background-repeat: no-repeat;
  background-position: bottom right;
  padding-bottom: 40px !important;
}

.entry-content a {
  color:#E3D7E9;
}

.date a{
  background-color: #E3D7E9;
  border-right: #E3D7E9;
  border-bottom: #E3D7E9;
}

.entry-title a {
	color: #ca4d86;
}

.categories a {
  display: inline-block;
  background: #FAEF9B !important;
  color: #b68954;
  font-size: 0.7rem;
  margin: 0 2px 0 0;
  padding: 2px 8px;
  border-radius: 10px;
}

.page-index .pager a {
  color: #E3D7E9;
}

.page-index .pager a:hover {
  background-color: #E3D7E9 !important; 
  color: #ffffff; 
  text-decoration: none; 
}

.page-index .comment-box,.page-index .author,.page-index .entry-footer-time,.page-index .entry-footer{
	display: block;
}

.leave-comment-title,.pager a{
  border-color: #E3D7E9;
}

.leave-comment-title a:hover{
  color: #ffffff;
  color10: #E3D7E9;
  background-color: #E3D7E9;
}

.pager a:hover{
  color: #ffffff;
  color10: #E3D7E9;
  background-color: #E3D7E9;
}

.page-entry .pager-prev::before, .page-entry .pager-next::before {
 color: #E3D7E9;
}

.leave-comment-title {
  display: inline-block;
  padding: 0.8em 1em 1.0em 1em;
  line-height: 1;
  background-color: #ffffff; 
  color: #E3D7E9; 
  border: 4px solid #E3D7E9; 
}

.leave-comment-title:hover {
  background-color: #E3D7E9; 
  color: #ffffff; 
  text-decoration: none; 
}

.search-form, .search-module-input, .search-module-button {
  background: rgba(227,215,215,0.4);
}

#footer {
  background: #E3D7E9;
}


.comment li .comment-content {
  background : #ffeebb !important;
}

.comment li .comment-content::before {
  top:32px;
  left:-12px;
  border-top:16px solid #ffeebb !important;
  border-left:12px solid transparent;
}


/* ==================シャドウ削除================== */
#blog-title {
  box-shadow: none !important;
}

.entry,
.archive-entry {
  box-shadow: none !important;
}

.hatena-module {
  box-shadow: none !important;
}

.archive-header-category {
  box-shadow: none !important;
}

#top-box {
  box-shadow: none !important; /* カテゴリートップ */
}

.page-index .pager a {
  box-shadow: none !important;
}

.pager a {
  box-shadow: none !important;
}

/* ==================ここまで================== */


/* ==================グローバルナビ================== */

#menu{
 width: 100%;
 margin: 10px auto;
 background: #000;
   box-sizing: border-box;
}

#menu-inner{
  margin-top: 0 !important;
 width: 100%;
 height: 40px;/*メニューバーの太さ*/
 margin: 0 auto;
 background: #E3D7E9;/*メニューバーの背景色*/
 box-sizing: border-box;
}

#menu-btn{display: none;}

#menu-content {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0;
  width: 100%;
  /* height: 100%; を削除 */
  list-style-type: none;
  justify-content: space-around;
  box-sizing: border-box;
}

#menu-content > li {
  position: relative;
  height: auto; /* auto に戻す */
  text-align: center;
  width: 50%;
  flex-grow: 1;
  box-sizing: border-box;
}

#menu-content > li > a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* auto に戻す */
  width: 100%;
  line-height: 40px; /* これは維持 */
  background: #E3D7E9 !important;
  color: #fff;
  font-size: 70%;
  text-decoration: none;
  z-index: 2;
  box-sizing: border-box;
}

#menu-content > li > a:hover {
  background: #fff !important; /* 選択時の背景色 */
  color: #E3D7E9 !important; /* 選択時の文字色 */
}

/*** 横幅が狭いときのメニュー ***/
@media screen and (max-width: 768px) { /* こちらのブレークポイントも修正 */
  #menu-inner {
    width: 100%;
    height: auto;
  }

  #btn-content {
    text-align: right;
  }

  #menu-btn {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    background: #E3D7E9;
    color: #fff;
    font-size: 70%;
  }

  #menu-content {
    display: none;
    width: 100%; /* 親要素の幅に合わせる */
    flex-direction: column; /* 縦並びにする */
  }

  #menu-content > li {
    width: 100%; /* 親要素の幅に合わせる */
    height: auto; /* 内容に合わせて自動調整 */
  }

  #menu-content > li > a {
    width: 100%; /* 親要素の幅に合わせる */
    line-height: 40px; /* 必要に応じて調整 */
    padding: 0;
    text-decoration: none;
    display: block; /* 幅いっぱいに表示 */
  }
}

@media screen and (min-width: 769px) {
  #menu-content {
    display: none !important; /* メニューを非表示にする */
  }
}

@media screen and (min-width: 769px) {
  #menu-content {
    display: flex !important;
    flex-direction: row !important; /* 横並びにする */
    justify-content: center !important; /* 中央揃えなど */
    /* その他の配置に関するスタイル */
  }

  #menu-content > li {
    width: auto !important; /* 必要に応じて幅を調整 */
    /* その他のリストアイテムのスタイル */
  }
}


/* ==================ナビ終================== */


/* ==================影の分幅追加================== */

/* 769px以上のPC表示 */
@media screen and (min-width: 1051px) {
  #content-inner {
    display: flex;
    justify-content: space-between;
  }
  #wrapper {
    width: calc(100% - 330px) !important; 
  }
  #box2 {
    width: 300px !important;
  }
}

/* 1050px以下のスマホ表示 */
@media screen and (max-width: 1050px) {
  #content-inner {
    display: block; /* 横並びを解除して縦に並べる */
  }
  #wrapper {
    width: 100% !important;
    order: 1;
  }
  #box2 {
    width: 100% !important;
    order: 2;
    margin-top: 20px; /* 記事とサイドバーの間に少し隙間を作る */
  }
}

/* ==================サイドバー枠の調整================== */
#box2-inner {
  display: block !important;
}

.hatena-module {
  width: 100% !important; /* 横幅をサイドバーの幅に揃える */
  box-sizing: border-box !important;
  display: block !important;
  margin-bottom: 20px !important; /* 項目ごとの隙間 */
}

/* サイドバーの背景画像と余白の調整 */
.hatena-module {
  height: auto !important; /* 中身に合わせて高さを変える */
  background-size: 90px auto !important; /* 画像の比率を維持 */
  background-attachment: scroll !important;
  min-height: 100px; /* 画像が切れない最低限の高さ（必要に応じて調整） */
}

/* カテゴリ一覧ページなどの特定の表示で余白を詰めたい場合 */
.hatena-module-body {
  padding-bottom: 10px; /* 中身のすぐ下で枠が終わるように */
}

/* サイドバーの各項目内の余計な下余白を消す */
.hatena-module-body {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* 枠自体の下余白をリセットし、背景画像の位置を調整 */
.hatena-module {
  padding-bottom: 20px !important; /* 画像を表示するための最低限の余白だけ確保 */
  height: auto !important;
}

/* サイドバーが記事の長さに引きずられるのを止める */
#content-inner {
  align-items: flex-start !important; /* これが重要：上揃えにして、下への伸びを解除 */
}

#box2 {
  height: fit-content !important; /* 中身の分だけで高さを止める */
}

.hatena-module {
  height: auto !important;
  min-height: 0 !important;
}
