:root {
	--main-font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Segoe UI", "Meiryo", sans-serif;
	--main-width: 800px;/* コンテンツの最大横幅設定 */
	--largeimg-size: 680px;/* 大きな縦長画像の表示サイズ */
	--miniimg-size: 200px;/* 小さな画像のサムネサイズ */

	--text-color-10: color-mix(in srgb, var(--main-text-color) 10%, transparent);
	--text-color-15: color-mix(in srgb, var(--main-text-color) 15%, transparent);
	--text-color-20: color-mix(in srgb, var(--main-text-color) 20%, transparent);
	--text-color-30: color-mix(in srgb, var(--main-text-color) 30%, transparent);
	--text-color-40: color-mix(in srgb, var(--main-text-color) 40%, transparent);
	--text-color-50: color-mix(in srgb, var(--main-text-color) 50%, transparent);
	--text-color-70: color-mix(in srgb, var(--main-text-color) 70%, transparent);
	--radius: 1rem;
	--radius-mini: calc( var(--radius) * 0.3 );
}

body { background: linear-gradient(#C7EDFF, #FFD6E3); transition: background 1s linear; }

/*リンク設定*/
.comment a { color: #ff3489; text-decoration: none; }
.comment a:hover { color: #ffa043; transition: 0.5s; text-decoration: none; }
.comment a img:hover { opacity: .5; transition: .5s; }

a { text-decoration: none !important; }
.comment a [target~="_blank"]:before{ margin-right: .3em; text-decoration: none; }

/*テキスト設定*/
em{
    margin: 0;
    padding: 0 0.5em;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, #FFD6E3 50%);
}

/*動画*/
.embeddedmovie {
  display: block;
  width: 100%;
}

.embeddedmovie iframe.embeddedmovie {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

/*画像*/
.comment > .embeddedimage {
  display: block;
  margin: .5em auto;
}

/*X*/
.twitter-tweet {
	margin: 10px auto;
}

/*記事*/
article {
	border-radius: 50px 0 50px 0;
	border: 1px solid var(--os2);
	margin-bottom: 3rem;
	padding: 8% 8% 5%;
}

/*記事 ハッシュタグ*/
.comment > .taglink {
	display: none;
	overflow: hidden;
}
.onelogtag {
	text-align: right;
	font-size: smaller;
	margin-top: 1.5em;
}
.onelogtag a {
	color: #ff3489;
}
.onelogtag a:hover { color: #ffa043; transition: 0.5s; text-decoration: none; }

/* 絵文字設定 */
.comment > .cemoji img {
    display: inline-block;
    margin: 0 0.125em;
}
.cemoji {font-size: 1.25rem;}
.ce-vava { font-size: 4rem;}

/*記事 日付*/
.oneloginfo{
	border-bottom: none;
	border-top: 1px solid var(--os2);
	margin-top: .5em;
	margin-bottom: 0;
	padding-top: 10px;
	padding-bottom: 0;
	opacity: .5;
}

/*記事間日付*/
.dateseparator {
	background: var(--os2);
	color: var(--sub-bg-color);
	text-align: center;
	border-radius: 50px 0 0 0;
	margin: 7.5rem 0 0;
	padding: 1.5em 0;
}
.dateseparator + article {
	border-radius: 0px 0 50px 0;
	padding: 5% 8%;
}
.dateseparator:first-of-type {
	margin: 0;
}


/*記事NO*/
.postid {
	border: 1px solid;
	border-radius: 3px;
	padding: 0 .25em;
	margin-right: 1em;
}

/*先頭固定記事用*/
.logstatus-fixed {
	border-radius: 50px 0 50px 0 !important;
	padding: 8% 8% 5% !important;
	margin-bottom: 7.5rem;
}
.logstatus-fixed > .oneloginfo {
    border-top: none;
}
.logstatus-fixed > .oneloginfo > .postdate,
.logstatus-fixed > .oneloginfo > .postid,
.fixedseparator {
	display: none;
}


/*プルダウン設定*/
select.catpull,
select.hashtagpull {
	border: 1px solid var(--main-text-color);
	background-color: var(--sub-bg-color);
	color: var(--main-text-color);
	vertical-align: bottom;
	width: 100%;
	height: 2rem;
}
input.catpullsubmit,
input.hashtagpullsubmit{
	border: none;
	background-color: var(--main-text-color);
	color: var(--sub-bg-color);
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: bold;
	height: 2rem;
	letter-spacing: 2px;
	padding: 0 0.5rem 0 0.6rem;
	vertical-align: bottom;
}

.datelimit-year {
	font-weight: bold;
}
.datelimit-month {
	font-size: smaller;
}

/*カレンダー*/
aside table.calendar {
	margin-top: 0;
}
.cal_move_month {
	text-align: center;
}
aside table.calendar a {
	color: #ff3489;
}
aside table.calendar a:hover {
	color: #ffa043;
	background: var(--os1);
	transition: .5s;
}

/*ハッシュタグリスト*/
aside > .hashtaglist {
	grid-column: span 2;
}
aside > .hashtaglist > .hashtaglist {
	border: 1px solid var(--main-text-color);
	background-color: rgb(var(--main-text-rgb), 0.15);
	padding: 10px 15px;
	font-size: .8rem;
	font-weight: normal;
	height: 150px;
	overflow: auto;
}
aside > .hashtaglist > .hashtaglist .num {
	display:inline-block;
	font-size: .6rem;
	margin-left: .25em;
}
aside > .hashtaglist > .hashtaglist a:hover {
	color: #ffa043;
	transition: .5s;;
}

/*ページャー*/
.prevlink {
	margin-right: 5px;
}

.pagelist {
	background-color: rgb(var(--main-text-rgb), 0.15);
	padding: 10px 15px;
	margin-top: 1.5em;
}
.pagelist > summary {
	list-style: none;
	list-style-type: none;
	cursor: pointer;
	margin-bottom: .5em;
	text-align: center;
}


/*ユーリティリンク*/
.utilitylinks,
.urandom,
.utilitylinks > ul > li > ul > li:last-child {
	margin-bottom: 1em;
}
.utilitylinks > ul > li > ul {
	padding-left: 1em;
}

/*調整用ボタン*/
article {
	position: relative;
}
.edit_btn {
	position: absolute;
	top: -1.5em;
	right: -1.5em;
	font-size: 3rem;
}

/*サイドメニュー
----------------------------------------------*/
/*基本設定*/
.menu-button { position: fixed; top: 10px; right: 10px; background: none; border: none; font-size: 35px; cursor: pointer; z-index: 1001; color: var(--main-text-color); }
.menu-panel { position: fixed; top: 0; right: -350px; width: 300px; height: 100%; background: var(--accent2); box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1); padding: 20px;transition: right 0.3s ease; z-index: 1000; }
.menu.open .menu-panel { right: 0; }
@media (max-width: 599px){
	.menu-panel {background: #C7EDFF;}
}

.cattree a:hover { color: #ff3489; transition: 0.5s;}

.catlink + .num { display: inline; font-size: smaller; padding-left: .5em; }
.cattree > li { padding-left: 1em;}
.depth1 > li > a::before {
  font-family: 'Line Awesome Free';
  content: "\f6e2";
  display: inline-block;
  margin-right: 0.25em;
}
.depth2 > li > a::before,
.depth3 > li > a::before {
  font-family: 'Line Awesome Free';
  content: "\f043";
  display: inline-block;
  margin-right: 0.25em;
}

/*中央メニュー*/
.cattree_head { display: flex; justify-content: center; flex-wrap: wrap; }
.cattree_head > li:first-child { padding-left: 0;}


/* cardlink -------------------------------------------- */
.cardlink {
	display: block;
	font-size: 0.9rem;
	font-weight: normal;
	margin: 0.5em auto 0;
	text-decoration: none;
	vertical-align: middle;
	width: 100%;
}
.cardlink::before{
	display: none;
}
.cardlinkbox {
	background-color: #FFF;
	border: 1px solid #CFD9DE;
	border-radius: var(--radius-mini);
	display: flex;
}
.cardlinkbox:hover {
	background-color: #F7F9F9; /* 背景色 */
	border-color: #ffa043;        /* 枠線色 */
	transition: .5s;
}
.cardlinkimage {
	aspect-ratio: 1.91 / 1;
	background-image: url(imgforskin/noimage.webp);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: var(--radius-mini) 0 0 var(--radius-mini);
	height: auto;
	width: 100%;
}
.cardlinktextbox {
	display: flex;
	flex-direction: column;
	padding: 0.7em 1em 1em;
}
.cardlinktitle,
.cardlinkdescription,
.cardlinkurl {
	display: -webkit-box;			/* -webkit-line-clampを使うために必要な記述 */
	line-clamp: 1;					/* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
	overflow: hidden;				/* 表示量を制限する場合に必須の記述 */
	text-overflow: ellipsis;		/* 省略記号(三点リーダー) */
	-webkit-line-clamp: 1;			/* 1行だけ見せる (今のブラウザにはこちらが必要) */
	-webkit-box-orient: vertical;	/* -webkit-line-clampを使うために必要な記述 */
}
.cardlinktitle {
	font-weight: bold;
}
.cardlinkdescription {
	line-height: 1.4;
	color: var(--text-color-70);
	line-clamp: 2;
	-webkit-line-clamp: 2;
}
.cardlinkurl {
	border-top: 1px dotted var(--text-color-30);
	color: var(--text-color-70);
	font-size: 0.8em;
	margin-top: 0.5em;
	padding-top: 0.2em;
}

.cardsize-S {
	flex-direction: row-reverse;
	.cardlinkimage {
		border-radius: 0 var(--radius-mini) var(--radius-mini) 0;
		height: 120px;
		width: unset;
	}
	.cardlinktextbox {
		border-right: 1px solid var(--text-color-30);
		flex: 1;
		justify-content: center;
		padding: 0em 1em;
	}
}
@media (max-width: 599px) {
	.cardsize-S{
		font-size: 0.85rem;
	}
	.cardsize-S .cardlinkimage {
		aspect-ratio: 1 / 1;
	}
}

.cardlink:has(.cardsize-L){
	max-width: 550px;
}
.cardsize-L {
	flex-direction: column;

	.cardlinkimage{
		border-radius: var(--radius-mini) var(--radius-mini) 0 0;
	}
	.cardlinktextbox {
		border-top: 1px solid var(--text-color-30);
	}
}