@charset "utf-8";
/* GizaStoreApp の説明ページ用（product/giza_store*.html だけで読む）
   サイト共通の style.css の上に重ねる。色はサイトの水色（#7acbdf）に合わせる。 */

:root {
	--gs-blue: #2f8fb0;
	--gs-blue-light: #e8f6fa;
	--gs-orange: #e8833a;
	--gs-orange-light: #fdf1e7;
	--gs-green: #3a9a5b;
	--gs-green-light: #e9f6ee;
	--gs-line: #dcdcdc;
	--gs-text: #555;
}

/* パンくず */
.gs-crumb {
	font-size: 13px;
	margin: 0 0 1em;
	color: #888;
}
.gs-crumb a { color: var(--gs-blue); }

/* ページの最初のあいさつの箱 */
.gs-lead {
	background: var(--gs-blue-light);
	border-left: 6px solid var(--gs-blue);
	padding: 1em 1.2em;
	margin: 0 0 1.5em;
	border-radius: 4px;
	color: var(--gs-text);
}
.gs-lead strong { color: #333; }

/* 役割のバッジ */
.gs-badge {
	display: inline-block;
	font-size: 12px;
	line-height: 1.6;
	padding: 0 0.6em;
	margin: 0 0.2em 0.2em 0;
	border-radius: 1em;
	white-space: nowrap;
	font-weight: bold;
}
.gs-badge.owner { background: #fde3e3; color: #b23b3b; }
.gs-badge.manager { background: var(--gs-orange-light); color: #b2611f; }
.gs-badge.staff { background: var(--gs-green-light); color: #2c7a47; }
.gs-badge.customer { background: #eee; color: #666; }

/* できることの一覧表 */
table.gs-table {
	width: 100%;
	background: #fff;
	margin: 0.5em 0 1.5em;
	font-size: 14px;
	line-height: 1.7;
}
table.gs-table th, table.gs-table td {
	border: 1px solid var(--gs-line);
	padding: 0.7em 0.8em;
	vertical-align: top;
	text-align: left;
}
table.gs-table thead th {
	background: #555;
	color: #fff;
	font-weight: normal;
}
table.gs-table tr.gs-group th {
	background: var(--gs-blue-light);
	color: #2a6f88;
	font-size: 15px;
}
table.gs-table td.gs-name { font-weight: bold; color: #333; white-space: nowrap; }
table.gs-table td.gs-more { white-space: nowrap; }
table.gs-table a.gs-go {
	display: inline-block;
	background: var(--gs-blue);
	color: #fff;
	text-decoration: none;
	padding: 0.1em 0.8em;
	border-radius: 3px;
	font-size: 13px;
}
table.gs-table a.gs-go:hover { background: #7acbdf; color: #fff; }

/* 画面の地図（階層） */
.gs-tree {
	background: #fff;
	border: 1px solid var(--gs-line);
	border-radius: 6px;
	padding: 1em 1.2em;
	margin: 0.5em 0 1.5em;
	line-height: 1.9;
}
.gs-tree ul { margin: 0; padding: 0 0 0 1.4em; list-style: none; }
.gs-tree > ul { padding-left: 0; }
.gs-tree li { position: relative; }
.gs-tree ul ul li::before {
	content: "";
	position: absolute;
	left: -1em;
	top: 0.95em;
	width: 0.7em;
	border-top: 1px solid #bbb;
}
.gs-tree ul ul { border-left: 1px solid #bbb; margin-left: 0.3em; }
.gs-tree .gs-top { font-weight: bold; color: #333; }
.gs-tree a { color: var(--gs-blue); }

/* 目次（ページの中の章へ） */
.gs-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}
.gs-toc li a {
	display: block;
	background: #fff;
	border: 1px solid var(--gs-blue);
	color: var(--gs-blue);
	border-radius: 2em;
	padding: 0.2em 1em;
	font-size: 14px;
	text-decoration: none;
}
.gs-toc li a:hover { background: var(--gs-blue); color: #fff; }

/* 1 つの画面の説明のまとまり */
.gs-screen {
	background: #fff;
	border: 1px solid var(--gs-line);
	border-radius: 6px;
	padding: 1.2em 1.4em;
	margin: 0 0 1.5em;
}
.gs-screen h3 {
	font-size: 18px;
	color: #333;
	border-bottom: 2px solid var(--gs-blue);
	padding-bottom: 0.3em;
	margin: 0 0 0.6em;
}
.gs-screen h4 {
	font-size: 15px;
	color: #333;
	margin: 1em 0 0.3em;
}
.gs-screen .gs-where {
	font-size: 13px;
	color: #888;
	margin: 0 0 0.8em;
}
.gs-screen .gs-where b { color: #333; font-weight: bold; }
#main .gs-screen .gs-where a { color: var(--gs-blue); text-decoration: underline; text-underline-offset: 2px; }
#main .gs-screen .gs-where a:hover { text-decoration: none; }
.gs-screen ul.gs-list { list-style: none; padding: 0; margin: 0.3em 0 0.8em; }
.gs-screen ul.gs-list li { padding-left: 1.3em; position: relative; }
.gs-screen ul.gs-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--gs-blue);
	font-weight: bold;
}

/* グループの見出し（設定の「お店」「スタッフ」など） */
h3.gs-group {
	font-size: 20px;
	color: #fff;
	background: var(--gs-blue);
	padding: 0.4em 0.8em;
	border-radius: 4px;
	margin: 2em 0 1em;
}

/* スクリーンショット */
figure.gs-shot {
	margin: 0.8em 0 1em;
	text-align: center;
}
figure.gs-shot img {
	width: 100%;
	max-width: 900px;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
figure.gs-shot.small img { max-width: 560px; }
figure.gs-shot figcaption {
	font-size: 13px;
	color: #777;
	margin-top: 0.5em;
	line-height: 1.6;
	text-align: left;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* 手順 */
ol.gs-steps {
	counter-reset: gs-step;
	list-style: none;
	padding: 0;
	margin: 0.5em 0 1em;
}
ol.gs-steps > li {
	counter-increment: gs-step;
	position: relative;
	padding: 0.2em 0 0.8em 2.8em;
	min-height: 2.2em;
}
ol.gs-steps > li::before {
	content: counter(gs-step);
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 1.9em;
	height: 1.9em;
	line-height: 1.9em;
	text-align: center;
	background: var(--gs-orange);
	color: #fff;
	border-radius: 50%;
	font-weight: bold;
}

/* ひとことの箱 */
.gs-point, .gs-note {
	border-radius: 6px;
	padding: 0.8em 1em 0.8em 3em;
	margin: 0.8em 0;
	position: relative;
	line-height: 1.8;
	font-size: 14px;
}
.gs-point { background: var(--gs-green-light); }
.gs-point::before { content: "💡"; position: absolute; left: 0.9em; top: 0.7em; font-size: 18px; }
.gs-note { background: var(--gs-orange-light); }
.gs-note::before { content: "⚠️"; position: absolute; left: 0.9em; top: 0.7em; font-size: 18px; }

/* 推奨構成のカード */
.gs-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1em;
	margin: 0.8em 0 1em;
}
.gs-card {
	border: 1px solid var(--gs-line);
	border-radius: 6px;
	padding: 1em;
	background: #fcfcfc;
}
.gs-card h4 { margin: 0 0 0.4em; color: var(--gs-blue); font-size: 16px; }
.gs-card p { margin: 0; font-size: 14px; line-height: 1.8; }
.gs-card img { max-height: 120px; width: auto; display: block; margin: 0.4em auto; }

/* 次のページへ */
.gs-pager {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	margin: 2em 0 1em;
	flex-wrap: wrap;
}
.gs-pager a {
	display: block;
	flex: 1 1 200px;
	background: #fff;
	border: 1px solid var(--gs-line);
	border-radius: 6px;
	padding: 0.8em 1em;
	text-decoration: none;
	color: var(--gs-blue);
	font-size: 14px;
}
.gs-pager a.next { text-align: right; }
.gs-pager a:hover { border-color: var(--gs-blue); }
.gs-pager small { display: block; color: #999; font-size: 12px; }

/* スマホ */
@media screen and (max-width: 640px) {
	table.gs-table, table.gs-table thead, table.gs-table tbody, table.gs-table tr, table.gs-table th, table.gs-table td {
		display: block;
		width: auto;
	}
	table.gs-table thead { display: none; }
	table.gs-table tr { border-bottom: 1px solid var(--gs-line); }
	table.gs-table td { border: none; border-left: 1px solid var(--gs-line); border-right: 1px solid var(--gs-line); padding: 0.3em 0.8em; }
	table.gs-table td.gs-name { padding-top: 0.7em; }
	table.gs-table td.gs-more { padding-bottom: 0.8em; }
	.gs-screen { padding: 1em; }
	figure.gs-shot img { border-radius: 6px; }
}

/* サイト共通の style.css の #main の指定を打ち消す（あちらの方が優先されるため #main を付ける） */
#main .list figure.gs-shot { float: none; width: auto; }
#main .list .gs-toc li a,
#main .list .gs-tree a,
#main .list table.gs-table a,
#main .gs-pager a,
#main .gs-card a,
#main .gs-screen a,
#main .gs-point a,
#main .gs-note a,
#main .gs-lead a {
	overflow: visible;
	margin: 0;
}
#main .list .gs-tree a,
#main .list table.gs-table td a:not(.gs-go),
#main .gs-screen a:not(.gs-go),
#main .gs-point a,
#main .gs-note a,
#main .gs-lead a { display: inline; padding: 0; }
#main .list .gs-toc li a { display: block; padding: 0.2em 1em; }
#main .list table.gs-table a.gs-go { display: inline-block; padding: 0.1em 0.8em; }
#main .gs-pager a { padding: 0.8em 1em; }
#main .list .gs-toc li a::before,
#main .list .gs-tree a::before,
#main .list table.gs-table a::before,
#main .gs-pager a::before,
#main .gs-card a::before,
#main .gs-screen a::before,
#main .gs-point a::before,
#main .gs-note a::before,
#main .gs-lead a::before { content: none; }
#main .list .gs-tree a:hover,
#main .list table.gs-table a:hover,
#main .gs-screen a:hover { background: none; }
#main .list table.gs-table a.gs-go:hover { background: #7acbdf; }
#main .list .gs-toc li a:hover { background: var(--gs-blue); }

#main .gs-screen h3 {
	font-size: 18px;
	border: none;
	border-bottom: 2px solid var(--gs-blue);
	padding: 0 0 0.3em;
	margin: 0 0 0.6em;
}
#main .gs-screen h3::first-letter { border: none; padding: 0; }
#main h3.gs-group {
	font-size: 18px;
	border: none;
	padding: 0.4em 0.8em;
	margin: 2em 0 1em;
}
#main h3.gs-group::first-letter { border: none; padding: 0; }
#main .gs-screen p.gs-where { padding: 0; }
#main .gs-card h4, #main .gs-screen h4 { margin-left: 0; border-left: none; padding-left: 0; }
@media screen and (max-width: 800px) {
	#main .gs-screen h3, #main h3.gs-group { font-size: 16px; }
}
