/* はがきDo：パンくず・ブログ著者欄・記事末尾の導線・文例・FAQ */

.hagaki-breadcrumb {
	margin: 0 0 20px;
	font-size: 12px;
	color: #666;
}
.hagaki-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hagaki-breadcrumb li + li::before {
	content: "›";
	margin: 0 6px;
	color: #999;
}
.hagaki-breadcrumb a {
	color: #2b4f82;
}

.hagaki-entry-meta span {
	margin-right: 16px;
}

/* 著者欄 */
.hagaki-author-box {
	margin: 50px 0 30px;
	padding: 24px;
	border: 1px solid #d6dde8;
	background: #f6f8fb;
}
.hagaki-author-box p {
	margin: 0 0 8px;
	line-height: 1.8;
}
.hagaki-author-box__label {
	font-size: 12px;
	color: #666;
}
.hagaki-author-box__name {
	font-size: 18px;
	font-weight: bold;
}
.hagaki-author-box__name span {
	font-size: 12px;
	font-weight: normal;
	color: #666;
}
.hagaki-author-box__title {
	font-size: 13px;
	color: #2b4f82;
}
.hagaki-author-box__text {
	font-size: 14px;
}
.hagaki-author-box__link {
	text-align: right;
	font-size: 14px;
}

/* 商品カード */
.hagaki-item-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.hagaki-item-card a {
	display: block;
	color: #333;
	text-decoration: none;
}
.hagaki-item-card img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 8px;
	border: 1px solid #eee;
}
.hagaki-item-card__name {
	display: block;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.5;
}
.hagaki-item-card__price {
	display: block;
	font-size: 12px;
	color: #b3261e;
}

/* 記事末尾の導線 */
.hagaki-cta {
	margin: 30px 0;
}
.hagaki-cta__title {
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 3px solid #2b4f82;
	font-size: 18px;
}
.hagaki-cta__more {
	text-align: right;
	font-size: 14px;
}
.hagaki-cta__boxes {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}
.hagaki-cta__box {
	padding: 20px;
	border: 2px solid #2b4f82;
}
.hagaki-cta__box p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.8;
}
.hagaki-cta__box-title {
	font-size: 16px !important;
	font-weight: bold;
	color: #2b4f82;
}
.hagaki-cta__button {
	margin: 0 !important;
	text-align: center;
}
.hagaki-cta__button a,
.entry-content .hagaki-button a {
	display: inline-block;
	padding: 10px 24px;
	background: #2b4f82;
	color: #fff !important;
	text-decoration: none;
	font-weight: bold;
}

/* 記事内・商品説明：文例ボックス */
.entry-content .hagaki-bunrei,
.item-description .hagaki-bunrei {
	margin: 16px 0 24px;
	padding: 20px 24px;
	border-left: 4px solid #2b4f82;
	background: #f6f8fb;
	line-height: 2;
}

/* 記事内：FAQ */
.hagaki-faq dt {
	margin-top: 20px;
	font-weight: bold;
	color: #2b4f82;
}
.hagaki-faq dt::before {
	content: "Q. ";
}
.hagaki-faq dd {
	margin: 8px 0 0;
	padding-bottom: 16px;
	border-bottom: 1px dotted #ccc;
	line-height: 1.9;
}
.hagaki-faq dd::before {
	content: "A. ";
	font-weight: bold;
}

/* 記事内の表 */
.entry-content .hagaki-table table,
.item-description .hagaki-table table {
	width: 100%;
	border-collapse: collapse;
}
.entry-content .hagaki-table th,
.entry-content .hagaki-table td,
.item-description .hagaki-table th,
.item-description .hagaki-table td {
	padding: 10px;
	border: 1px solid #d6dde8;
	font-size: 14px;
	vertical-align: top;
}
.entry-content .hagaki-table th,
.item-description .hagaki-table th {
	background: #eef2f8;
}

/* 商品ページ：カート下の詳しい説明 */
.hagaki-item-detail {
	clear: both;
}
.hagaki-item-detail h3 {
	margin: 1.5em 0 .8em !important;
	padding-left: 10px !important;
	border-left: 4px solid #2b4f82 !important;
	font-size: 1.1em !important;
	font-weight: bold !important;
}
.hagaki-item-detail ul {
	margin-left: 1.5em;
	list-style: disc;
}

@media screen and (max-width: 767px) {
	.hagaki-item-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
