@charset "UTF-8";
/* ==========================================================
   印刷・加工の相談室（.sd-）
   ブランド色：青 #004DA0 / 黄 #FDE90A / 背景グレー #F3F3F3
   カテゴリ色は --sd-cat で各要素に渡す
   ========================================================== */
.sd {
	--sd-blue: #004DA0;
	--sd-blue-dark: #003a7a;
	--sd-yellow: #FDE90A;
	--sd-gray: #F3F3F3;
	--sd-line: #DDE3EA;
	--sd-text: #333;
	--sd-cat: var(--sd-blue);
	max-width: 960px;
	margin: 0 auto 80px;
	padding: 0 16px;
	box-sizing: border-box;
	color: var(--sd-text);
	line-height: 1.8;
}
.sd *, .sd *::before, .sd *::after { box-sizing: border-box; }
.sd a { color: inherit; text-decoration: none; }
.sd ul { list-style: none; margin: 0; padding: 0; }
.sd .sd-icon { width: 1em; height: 1em; flex: none; }
.sd .pc { display: inline; }
@media (max-width: 767px) { .sd .pc { display: none; } }

/* パンくず（サイト共通の nav / a のスタイルを打ち消して1行表示） */
.sd .sd-breadcrumb { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: auto; height: auto; margin: 16px 0 24px; padding: 0; background: none; border: 0; font-size: 12px; line-height: 1.6; color: #555; text-align: left; }
.sd .sd-breadcrumb a, .sd .sd-breadcrumb span { display: inline; float: none; width: auto; margin: 0; padding: 0; background: none; border: 0; font-size: 12px; color: inherit; }
.sd .sd-breadcrumb a:hover { color: var(--sd-blue); text-decoration: underline; }

/* ---------- ヒーロー ---------- */
.sd-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 48px 24px 40px;
	border-radius: 16px;
	background:
		radial-gradient(circle at 8% 20%, rgba(253, 233, 10, .9) 0 34px, transparent 35px),
		radial-gradient(circle at 92% 78%, rgba(255, 255, 255, .14) 0 70px, transparent 71px),
		radial-gradient(circle at 85% 12%, rgba(255, 255, 255, .10) 0 26px, transparent 27px),
		linear-gradient(135deg, #0a5cb8 0%, var(--sd-blue) 55%, var(--sd-blue-dark) 100%);
	color: #fff;
}
.sd-hero::after { /* 下部の5色ライン（CMYK＋特色のイメージ） */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: linear-gradient(90deg, #00A0E9 0 20%, #E4007F 20% 40%, var(--sd-yellow) 40% 60%, #3EAA5A 60% 80%, #F39800 80%);
}
.sd-hero__en { margin: 0 0 6px; font-size: 12px; letter-spacing: .2em; font-weight: 700; opacity: .8; }
.sd-hero__title { margin: 0; font-size: 36px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; color: #fff; }
.sd-hero__title span {
	display: inline-block; margin-left: 4px; padding: 0 10px; border-radius: 6px;
	background: var(--sd-yellow); color: var(--sd-blue); transform: rotate(-2deg);
}
.sd-hero__lead { margin: 16px 0 24px; font-size: 15px; }

/* 検索 */
.sd-search { display: flex; max-width: 560px; margin: 0 auto; border-radius: 999px; background: #fff; padding: 4px; box-shadow: 0 6px 20px rgba(0, 30, 80, .25); }
.sd-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 18px; font-size: 15px; outline: none; color: var(--sd-text); }
.sd-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--sd-yellow); color: var(--sd-blue); font-weight: 700; padding: 0 22px; font-size: 15px; cursor: pointer; }
.sd-search button:hover { filter: brightness(.95); }
.sd-search button .sd-icon { width: 18px; height: 18px; }

/* ---------- カテゴリナビ ---------- */
.sd-catnav { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 28px 0 8px; }
.sd-catnav a {
	display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%;
	padding: 16px 6px 12px; border-radius: 12px; background: #fff;
	border: 2px solid var(--sd-line); border-bottom: 4px solid var(--sd-cat);
	text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sd-catnav a:hover, .sd-catnav a[aria-current="page"] { transform: translateY(-3px); border-color: var(--sd-cat); box-shadow: 0 6px 14px rgba(0, 0, 0, .08); }
.sd-catnav a[aria-current="page"] { background: color-mix(in srgb, var(--sd-cat) 8%, #fff); }
.sd-catnav__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sd-cat); color: #fff; }
.sd-catnav__icon .sd-icon { width: 22px; height: 22px; }
.sd-catnav__name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.sd-catnav__count { font-size: 11px; color: #777; }

/* ---------- グループ・リスト ---------- */
.sd-group { margin-top: 48px; }
.sd-group__title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 0 0 10px;
	font-size: 22px; line-height: 1.4; color: var(--sd-blue); border-bottom: 3px solid var(--sd-gray); position: relative;
}
.sd-group__title::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 80px; height: 3px; background: var(--sd-cat); }
.sd-group__title small { margin-left: auto; font-size: 13px; font-weight: 400; color: #777; }
.sd-group__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sd-cat); color: #fff; }
.sd-group__icon .sd-icon { width: 18px; height: 18px; }

.sd-list { display: grid; gap: 10px; }
.sd-card a {
	display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 14px;
	background: var(--sd-gray); border-radius: 10px; border: 2px solid transparent;
	transition: background .15s, border-color .15s;
}
.sd-card a:hover { background: #fff; border-color: var(--sd-cat); }
.sd-card__q { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--sd-blue); color: #fff; font: 700 20px/1 Arial, sans-serif; }
.sd-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sd-card__title { font-size: 16px; font-weight: 700; color: var(--sd-blue); line-height: 1.5; }
.sd-card__excerpt { font-size: 13px; color: #666; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.sd-card__arrow { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--sd-cat); transition: transform .15s; }
.sd-card a:hover .sd-card__arrow { transform: translateX(3px); background: var(--sd-cat); color: #fff; }
.sd-card__arrow .sd-icon { width: 14px; height: 14px; }

.sd-chip {
	display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
	padding: 1px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.8;
	color: var(--sd-cat); background: color-mix(in srgb, var(--sd-cat) 12%, #fff);
}
/* カード内のカテゴリ表示は検索結果のときだけ（カテゴリ見出しと重複するため） */
.sd-card .sd-chip { display: none; }
.sd-group--search .sd-card .sd-chip { display: inline-flex; }
.sd-chip--icon .sd-icon { width: 13px; height: 13px; }

.sd-more { margin: 14px 0 0; text-align: right; }
.sd-more a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--sd-blue); }
.sd-more a:hover { text-decoration: underline; }
.sd-more .sd-icon { width: 14px; height: 14px; }
.sd-empty { padding: 24px; background: var(--sd-gray); border-radius: 10px; }

/* ---------- 個別ページ ---------- */
.sd-roomname { margin: 0 0 12px; }
.sd-roomname a {
	display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--sd-blue); color: #fff;
	font-size: 13px; font-weight: 700;
}
.sd-roomname a::before { content: "●"; color: var(--sd-yellow); margin-right: 6px; font-size: 10px; vertical-align: 2px; }

.sd-qa { border-radius: 16px; overflow: hidden; border: 2px solid var(--sd-line); background: #fff; }
.sd-question {
	display: flex; gap: 20px; align-items: flex-start; padding: 32px;
	background: linear-gradient(transparent 0, transparent calc(100% - 6px), var(--sd-cat) calc(100% - 6px)), var(--sd-gray);
}
.sd-question__mark {
	display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 14px;
	background: var(--sd-blue); color: #fff; font: 700 34px/1 Arial, sans-serif; box-shadow: 4px 4px 0 var(--sd-yellow);
}
.sd-question__title { margin: 8px 0 0; font-size: 28px; line-height: 1.5; color: var(--sd-blue); font-weight: 700; }

.sd-answer { padding: 32px; }
.sd-answer__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sd-answer__mark {
	display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
	background: var(--sd-yellow); color: var(--sd-blue); font: 700 28px/1 Arial, sans-serif;
}
.sd-answer__staff { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #666; font-weight: 700; }
.sd-answer__staff img { border-radius: 50%; }

.sd-point {
	position: relative; margin: 0 0 24px; padding: 18px 20px 16px; border-radius: 12px;
	background: color-mix(in srgb, var(--sd-yellow) 22%, #fff); border: 2px dashed color-mix(in srgb, #E2C800 70%, #fff);
}
.sd-point__label {
	position: absolute; top: -13px; left: 16px; margin: 0; padding: 0 10px; border-radius: 4px;
	background: var(--sd-blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 24px;
}
.sd-point__text { margin: 0; font-size: 17px; font-weight: 700; }

/* 本文（エディタ出力） */
.sd-entry { font-size: 16px; }
.sd-entry > *:first-child { margin-top: 0; }
.sd-entry p { margin: 0 0 1.2em; }
.sd-entry p:empty { display: none; }
/* 見出し：サイト共通の h2/h3 スタイル（青帯・白文字など）を打ち消して上書き */
.sd .sd-entry h2, .sd .sd-entry h3, .sd .sd-entry h4 {
	position: relative; width: auto; height: auto; min-height: 0; float: none;
	margin: 1.8em 0 .8em; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
	color: var(--sd-blue); font-weight: 700; line-height: 1.5; text-align: left; text-indent: 0; letter-spacing: normal;
}
.sd .sd-entry h2::before, .sd .sd-entry h2::after,
.sd .sd-entry h3::before, .sd .sd-entry h3::after,
.sd .sd-entry h4::before, .sd .sd-entry h4::after { content: none; display: none; }
.sd .sd-entry h2 { font-size: 20px; padding: 8px 14px; border-left: 6px solid var(--sd-cat); background: var(--sd-gray); }
.sd .sd-entry h3 { font-size: 18px; padding: 0 0 4px 22px; border-bottom: 2px dotted var(--sd-cat); }
.sd .sd-entry h3::before { content: ""; display: block; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--sd-cat); }
.sd .sd-entry h4 { font-size: 16px; }
.sd-entry strong { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sd-yellow) 70%, #fff) 62%); }
.sd-entry a { color: var(--sd-blue); text-decoration: underline; }
.sd-entry ul, .sd-entry ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.sd-entry ul { list-style: disc; }
.sd-entry img { max-width: 100%; height: auto; border-radius: 8px; }
.sd-entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 14px; }
.sd-entry th, .sd-entry td { border: 1px solid var(--sd-line); padding: 8px 12px; }
.sd-entry th { background: var(--sd-gray); }
.sd-updated { margin: 24px 0 0; font-size: 12px; color: #888; text-align: right; }

/* ---------- お問い合わせ導線 ---------- */
.sd-cta {
	display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center;
	margin-top: 48px; padding: 28px 32px; border-radius: 16px;
	background: var(--sd-yellow); color: var(--sd-blue);
}
.sd-cta__title { margin: 0; font-size: 20px; font-weight: 700; }
.sd-cta__text { margin: 4px 0 0; font-size: 14px; color: var(--sd-text); }
.sd-cta__tel { text-align: right; }
.sd-cta__tel a { display: block; font: 700 30px/1.2 Arial, sans-serif; letter-spacing: .02em; }
.sd-cta__tel a::before { content: "☎ "; font-size: 22px; }
.sd-cta__tel span { font-size: 12px; }
.sd-cta__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.sd-cta__btns a {
	display: block; padding: 14px 10px; border-radius: 999px; text-align: center; font-weight: 700;
	background: #fff; color: var(--sd-blue); border: 2px solid var(--sd-blue); transition: transform .15s;
}
.sd-cta__btns a.is-primary { background: var(--sd-blue); color: #fff; }
.sd-cta__btns a:hover { transform: translateY(-2px); }

.sd-back { margin: 40px 0 0; text-align: center; }
.sd-back a {
	display: inline-block; padding: 12px 40px; border-radius: 999px; border: 2px solid var(--sd-blue);
	color: var(--sd-blue); font-weight: 700;
}
.sd-back a::before { content: "‹ "; }
.sd-back a:hover { background: var(--sd-blue); color: #fff; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
	.sd-catnav { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
	.sd-hero { padding: 36px 16px 32px; border-radius: 12px; }
	.sd-hero__en { font-size: 10px; letter-spacing: .08em; }
	.sd-hero__title { font-size: 26px; }
	.sd-hero__lead { font-size: 14px; text-align: left; }
	.sd-search button span { display: none; }
	.sd-search button { padding: 0 16px; }
	.sd-catnav { grid-template-columns: repeat(2, 1fr); }
	.sd-catnav a { flex-direction: row; justify-content: flex-start; padding: 10px 12px; text-align: left; }
	.sd-catnav__icon { width: 34px; height: 34px; }
	.sd-catnav__icon .sd-icon { width: 18px; height: 18px; }
	.sd-catnav__name { font-size: 13px; }
	.sd-catnav__count { margin-left: auto; }
	.sd-group__title { font-size: 18px; }
	.sd-card a { gap: 12px; padding: 12px; }
	.sd-card__q { width: 32px; height: 32px; font-size: 16px; }
	.sd-card__title { font-size: 15px; }
	.sd-question { padding: 20px 16px; gap: 14px; }
	.sd-question__mark { width: 44px; height: 44px; font-size: 24px; border-radius: 10px; box-shadow: 3px 3px 0 var(--sd-yellow); }
	.sd-question__title { font-size: 20px; }
	.sd-answer { padding: 20px 16px; }
	.sd-answer__mark { width: 40px; height: 40px; font-size: 22px; }
	.sd-point__text { font-size: 15px; }
	.sd-cta { grid-template-columns: 1fr; padding: 24px 16px; }
	.sd-cta__tel { text-align: left; }
	.sd-cta__btns { grid-template-columns: 1fr; }
}
