@charset "UTF-8";



/****************************************************
 * リンクデザイン｜イメージリンクの基本設定
 ****************************************************/

a img {
	transition: all .3s;
}
a img:hover {
	opacity: .7;
}



/****************************************************
 * リンクデザイン｜関連記事
 ****************************************************/

.linkRelation {
	color: var(--link);
	text-decoration: none!important;
	transition: all .3s;
}
.linkRelation:hover {
	color: var(--link-hover);
}
.linkRelation::before {
	content: "関連記事";
	color: #FFF;
	background-color: var(--blue);
	margin-right: .7em;
	padding: .3em .7em .4em;
}



/****************************************************
 * リンクデザイン｜外部サイトのリンクをリンクとして見られたくないときに使う
 ****************************************************/

.linkExternal,
.linkExternal:hover {
	color: inherit;
	font-weight: inherit;
}



/****************************************************
 * リンクデザイン｜商品紹介（ECサイト）
 ****************************************************/

.linkEC {
	background: linear-gradient(to right, #FFF, #F5F7FA);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	width: 100%;
	padding: 16px;
	box-sizing: border-box;
}
.linkEC p,
.linkEC br {
	display: none;
}
.linkEC-title {
	display: block;
	color: #777;
	font-size: 100%;
	font-weight: bold;
	width: 100%;
	text-decoration: none;
	text-align: center;
	line-height: 1.6;
}
.linkEC-title:hover{
	color: #1A80DA;
	opacity: .7;
}
.linkEC-code {
	display: block;
	font-size: 85%;
	margin-top: .5em;
}
.linkEC-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 2em;
}
.linkEC-image {
	flex: 0 0 40%;
/* 	max-height: 200px; */
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.linkEC-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s;
}
.linkEC-image:hover img {
	transform: scale(1.05);
}
.linkEC-links {
	flex: 0 0 60%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.linkEC-button {
	display: block;
	color: #FFF;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	padding: 10px 0;
	border-radius: 4px;
}
.linkEC-button:hover {
	color: #FFF;
	opacity: 0.7;
}
/* 各ECサイトボタンの色調整 */
.linkEC-amazon	{ background-color: #A1C9D5; }
.linkEC-rakuten	{ background-color: #EE8379; }
.linkEC-yahoo	{ background-color: #F5C475; }
.linkEC-mercari	{ background-color: #999999; }






