@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ===== ITさぽーとぐんま 配布用スタイル（D シンプル｜公共サイト風） =====
   このファイル1枚で全ページに適用できます。
   既存の styles.css をこの内容に置き換えてご利用ください。
   ====================================================== */

/*
============================================================================
  テーマ D — シンプル（公共サイト風）
  落ち着いたグリーン × 温かみのあるベージュ。装飾を抑えた信頼感のある配色。
  ※ base-simple.css と組み合わせて使用します。
============================================================================
*/
:root {
	--font-head: "Noto Sans JP", system-ui, sans-serif;
	--font-body: "Noto Sans JP", system-ui, sans-serif;

	/* 背景・面 */
	--bg: #f3f4f1;
	--surface: #ffffff;

	/* 文字 */
	--ink: #2c3531;
	--ink-soft: #61706a;
	--heading: #1f4a40;
	--heading-2: #2a5e52;
	--heading-band: #f1f6f3;

	/* 罫線 */
	--border: #e3e7e3;
	--border-strong: #cdd5d0;

	/* アクセント */
	--accent: #2f7d6b;
	--accent-strong: #235f51;
	--accent-2: #c98a3c;

	/* リンク */
	--link: #1f6b5b;
	--link-hover: #2f9b83;

	/* 情報ボックス */
	--info-bg: #eef5f2;
	--info-border: #cfe0d9;

	/* ナビ帯 */
	--nav-bg: #235f51;
	--nav-accent: #c98a3c;
	--nav-ink: #ffffff;
	--nav-ink-hover: #ffffff;
	--nav-hover: #2f7d6b;
	--nav-divider: rgba(255, 255, 255, .18);

	/* テーブル */
	--table-head: #2f7d6b;
	--table-head-ink: #ffffff;
	--table-head-border: #2f7d6b;
	--table-stripe: #f3f7f5;

	/* サイド見出し */
	--side-head-bg: #f1f6f3;
	--side-head-ink: #1f4a40;

	/* ボタン */
	--btn-ink: #ffffff;

	/* フッター */
	--footer-bg: #1f4a40;
	--footer-ink: #d6e2dd;
	--footer-link: #e2b06a;
}


/*
============================================================================
  ITさぽーとぐんま — シンプル・ベース（公共サイト風）
  装飾とモーションを最小限に。フラットで読みやすく、行政サイト的な構造。
  配色・フォントは theme-simple.css の :root 変数で指定。
============================================================================
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	color: var(--ink);
	background: var(--bg);
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.85;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "palt" 1;
}

/* ---- 見出し ---- */
h1, h2, h3, h4, h5, h6 {
	color: var(--heading);
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.5;
	margin: 1.6em 0 .6em;
}
h2 {
	font-size: 22px;
	padding: 8px 0 10px 16px;
	border-left: 7px solid var(--accent);
	border-bottom: 2px solid var(--border-strong);
	background: var(--heading-band);
	margin-top: 1.7em;
}
h3 {
	font-size: 18px;
	color: var(--heading-2);
	padding-left: 12px;
	border-left: 4px solid var(--accent-2);
}
h4 { font-size: 16.5px; }
h5 { font-size: 15.5px; color: var(--heading-2); }
h6 { font-size: 14.5px; color: var(--ink-soft); }

p { margin: .9em 0; }
strong { color: var(--heading); font-weight: 700; }
.color1 { color: var(--accent); font-weight: 700; }

/* ---- リスト ---- */
ul, ol { margin: .8em 0 .8em 1.6em; }
li { margin: .35em 0; }
#main ul { list-style: none; margin-left: .2em; }
#main ul li { position: relative; padding-left: 1.4em; }
#main ul li::before {
	content: "";
	position: absolute; left: .15em; top: .72em;
	width: 8px; height: 8px;
	background: var(--accent);
}
#main ol { margin-left: 1.7em; }
#main ol li { padding-left: .2em; }

/* ---- リンク ---- */
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; transition: color .15s linear; }
a:hover { color: var(--link-hover); }

/* ---- 画像 ---- */
img { max-width: 100%; height: auto; border: none; }
#main p.img { text-align: center; }
#main p.img img { display: inline-block; border: 1px solid var(--border); }

/* ---- コンテナ ---- */
#container {
	max-width: 1080px;
	margin: 0 auto;
	background: var(--surface);
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	min-height: 100vh;
}

/* ---- ヘッダー ---- */
#header {
	background: var(--surface);
	border-top: 6px solid var(--accent);
	padding: 18px 28px 16px;
	text-align: center;
}
#header h1 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--ink-soft);
}
#header h1 a { color: inherit; text-decoration: none; }
#header h1 a:hover { text-decoration: underline; }
#logo { margin-top: 8px; }
#logo img { display: inline-block; max-height: 58px; }

/* ---- グローバルメニュー（横帯ナビ） ---- */
#menu {
	background: var(--nav-bg);
	border-bottom: 3px solid var(--nav-accent);
	position: sticky; top: 0; z-index: 50;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
#menu ul {
	list-style: none; margin: 0 auto; padding: 0;
	display: flex !important; flex-wrap: wrap; justify-content: center;
	max-width: 1080px; width: 100%;
}
#menu li { margin: 0; }
#menu li::before { display: none; }
#menu a {
	display: block;
	padding: 14px 26px;
	color: var(--nav-ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border-right: 1px solid var(--nav-divider);
	transition: background-color .15s linear;
}
#menu li:first-child a { border-left: 1px solid var(--nav-divider); }
#menu a:hover { background: var(--nav-hover); color: var(--nav-ink-hover); }

/* ---- パンくず ---- */
.breadcrumb {
	margin: 14px 28px 0;
	padding: 8px 0;
	font-size: 13px;
	color: var(--ink-soft);
}
.breadcrumb a { color: var(--link); }
.breadcrumb span { color: var(--ink-soft); margin: 0 6px; }
.breadcrumb strong { color: var(--ink); }

/* ---- コンテンツ 2カラム ---- */
#contents {
	display: flex; gap: 34px;
	padding: 20px 28px 40px;
	align-items: flex-start;
}
#main { flex: 1; min-width: 0; background: var(--surface); }
#main > .breadcrumb:first-child { margin: 0 0 14px; padding-top: 0; }

/* ---- ページタイトル ---- */
.page-title {
	border-bottom: 3px solid var(--accent);
	padding: 4px 0 14px;
	margin: 0 0 22px;
}
.page-title h1 { margin: 0; font-size: 26px; color: var(--heading); line-height: 1.4; }
.page-title p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ---- 情報ボックス ---- */
.info-box {
	margin: 24px 0;
	padding: 18px 22px;
	background: var(--info-bg);
	border: 1px solid var(--info-border);
	border-left: 5px solid var(--accent);
}
.info-box h3 { border: none; padding-left: 0; margin-top: 0; color: var(--heading); }
.info-box p { margin-bottom: 0; }

/* ---- テーブル ---- */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 22px 0;
	font-size: 15px;
	border: 1px solid var(--border-strong);
}
table th, table td { text-align: left; vertical-align: top; }
table th {
	background: var(--table-head);
	color: var(--table-head-ink);
	padding: 13px 15px;
	font-weight: 700;
	border: 1px solid var(--table-head-border);
}
table td {
	padding: 12px 15px;
	border: 1px solid var(--border);
	color: var(--ink);
}
table tbody tr:nth-child(even) td { background: var(--table-stripe); }

/* ---- フォーム ---- */
input, textarea, select {
	font-size: 16px; font-family: inherit;
	padding: 11px 13px; color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: 4px;
	transition: border-color .15s linear;
}
input:focus, textarea:focus, select:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
	border-color: var(--accent);
}
button, input[type="submit"], .btn {
	display: inline-block;
	padding: 12px 28px;
	border: none; border-radius: 4px;
	background: var(--accent);
	color: var(--btn-ink);
	font-family: var(--font-head);
	font-weight: 700; font-size: 16px; cursor: pointer;
	text-decoration: none;
	transition: background-color .15s linear;
}
button:hover, input[type="submit"]:hover, .btn:hover { background: var(--accent-strong); }

/* ---- サイドバー ---- */
#sub { width: 270px; flex: none; }
#sub section {
	background: var(--surface);
	border: 1px solid var(--border-strong);
	margin-bottom: 18px;
}
#sub h3 {
	margin: 0;
	padding: 11px 16px;
	border: none;
	background: var(--side-head-bg);
	color: var(--side-head-ink);
	font-size: 15.5px;
	border-bottom: 2px solid var(--accent);
}
#sub section > :not(h3) { margin-left: 16px; margin-right: 16px; }
#sub section > p { margin-top: 12px; margin-bottom: 12px; font-size: 14px; }
.submenu { list-style: none; margin: 0; padding: 0; }
.submenu li { margin: 0; }
.submenu li::before { display: none; }
.submenu a {
	display: block;
	padding: 11px 16px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500; font-size: 14.5px;
	border-bottom: 1px solid var(--border);
	border-left: 4px solid transparent;
	transition: background-color .15s linear, border-color .15s linear;
}
.submenu a::before { content: "▸ "; color: var(--accent); }
.submenu li:last-child a { border-bottom: none; }
.submenu a:hover { background: var(--info-bg); border-left-color: var(--accent); color: var(--link-hover); }

/* ---- フッター ---- */
#footer {
	background: var(--footer-bg);
	color: var(--footer-ink);
	text-align: center;
	padding: 22px 28px;
	font-size: 12.5px;
	line-height: 1.8;
}
#footer a { color: var(--footer-link); }
#footer .pr { display: inline-block; margin-top: 5px; opacity: .85; font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* ---- レスポンシブ ---- */
@media (max-width: 820px) {
	#contents { flex-direction: column; padding: 18px; gap: 22px; }
	#sub { width: 100%; }
	#menu ul { flex-direction: column; }
	#menu a { border-right: none; border-bottom: 1px solid var(--nav-divider); text-align: center; }
	#menu li:first-child a { border-left: none; }
}
@media (max-width: 480px) {
	body { font-size: 15px; }
	.breadcrumb { margin: 12px 18px 0; }
	.page-title h1 { font-size: 22px; }
	h2 { font-size: 20px; }
}
