/*
記事詳細ページ（single.php / single-news.php）のSNSシェア・あとで読むアイコン
*/

.article-tools {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

.article-tools a:hover,
.article-tools button:hover {
	opacity: 0.7;
}

.article-tools button {
	padding: 0;
	border: none;
	background: none;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* インライン要素の行下スペースを消し、SVGの箱＝アイコンの見た目サイズにする */
.article-tools svg {
	display: block;
}

/* しおりアイコン。width を auto にすると viewBox の縦横比から幅が決まるため、
   高さだけを X・Facebook と同じ値に合わせればよい */
.article-clip {
	height: 18px;
	width: auto;
}

.a-tooltip {
	position: relative;
	/* インラインのベースライン基準だとアイコンが上にずれるため flex にする */
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.a-tooltip:hover .a-tooltip-text {
	opacity: 1;
	visibility: visible;
}

.a-tooltip-text {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 32px;
	display: inline-block;
	padding: 3px;
	white-space: nowrap;
	font-size: 10px;
	line-height: 1.3;
	background: #333333;
	color: #ffffff;
	border-radius: 2px;
	transition: 0.3s ease-in;
	box-shadow: 0 1px 2px #0000004d;
	z-index: auto;
}

.x-share {
	width: 18px;
	height: 18px;
	background-color: #000000;
	padding: 4px;
	border-radius: 2px;
}

.fb-share {
	width: 18px;
	height: 18px;
}
