@charset "utf-8";
/* ==========================================================================
   base.css  (2026 リニューアル版)
   - 旧テンプレの ID / クラス名・配色・画像をそのまま継承
   - HTML5 + レスポンシブ対応（PC: 2カラム / 〜768px: 1カラム）
   - IE6〜9 向けハック（*height, _height, \9 など）は削除
   ========================================================================== */

/* ---------- 基本 ---------- */
html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

*, *::before, *::after {
	box-sizing: border-box;
}

* {
	margin: 0; padding: 0;
}

a:focus-visible, button:focus-visible {
	outline: 2px solid #a8e13a;
	outline-offset: 2px;
}

body {
	font-size: 13px;
	background: #cecece url(../images/bg.png) repeat-x left top;
	color: #444;
	font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "Noto Sans JP", sans-serif;
	/* 画面下の固定ナビにフッターが隠れないように */
	padding-bottom: 50px;
}

body.pdr {
	background: #fff;
}

ul, li {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: #688f00;
}

a:hover {
	color: #000;
}

p {
	margin: 0 0 15px;
	line-height: 1.6em;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

/* 旧マークアップの <div align="center"> 対策 */
[align="center"] {
	text-align: center;
}
[align="center"] img {
	margin-left: auto;
	margin-right: auto;
}

.wrap {
	max-width: 1036px;
	margin: 0 auto;
	background: #fff;
}

/* ---------- ヘッダー ---------- */
#header_area {
	max-width: 1036px;
	padding: 0 20px 20px;
	margin: 0 auto;
	position: relative;
	background: #fff;
}

#header_area .mainimg,
#header_area > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 996 / 310; /* layout.js の hero.width/height で上書き */
	object-fit: cover;
	object-position: center top;
	margin: 0;
}

#header_areain {
	position: absolute;
	top: 42%;
	left: 20px;
	background: url(../images/herf_bg.png);
	background-color: rgba(0, 0, 0, .55);
	margin: 0;
	z-index: 100;
}

#header_areapdr {
	max-width: 996px;
	height: 130px;
	padding: 0;
	margin: 0 auto;
	position: relative;
}

#header_areain h1, #header_areapdr h1 {
	margin: 0 50px 0 0;
	font-size: 24px;
	line-height: 1.3;
	padding: 6px 10px 6px 20px;
}

#header_areain h1,
h1 a {
	color: #fff;
}

h1 a:hover {
	color: #a8e13a;
}

#header_areain h2, #header_areapdr h2 {
	margin: 0 50px 10px 0;
	font-size: 13px;
	font-weight: normal;
	padding: 0 10px 0 20px;
	color: #cccccc;
	background-image: url(../images/h3_bg.png);
}

/* ---------- ナビ（画面下に固定） ---------- */
#nav {
	background: url(../images/menu_bg_bg.png);
	background-color: rgba(0, 0, 0, .8);
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 0;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
	width: 100%;
	z-index: 1000;
}

#nav ul {
	max-width: 996px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	background: url(../images/menu_bg.png);
	background-size: 100% 100%;
}

#nav ul li {
	margin: 0;
	padding: 0;
	flex: 1 1 0;
	min-width: 0;
	font-size: 12px;
	font-weight: bold;
}

#nav ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 0;
	padding: 4px 4px;
	min-height: 27px;
	color: #a8e13a;
}

#nav ul li a:hover,
#nav ul li a[aria-current="page"] {
	background: rgba(168, 225, 58, .25);
	color: #fff;
}

/* スマホ用メニューボタン（PCでは非表示） */
#nav .nav_toggle {
	display: none;
}

/* ---------- コンテナ（2カラム） ---------- */
#conteiner {
	max-width: 1036px;
	margin: 0 auto;
	background: #fff;
	padding: 20px 20px 0;
	display: grid;
	grid-template-columns: 265px minmax(0, 1fr);
	grid-template-areas:
		"side main"
		"foot foot";
	column-gap: 40px;
}

#main_contents {
	grid-area: main;
	min-width: 0;
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

#side_contents {
	grid-area: side;
	min-width: 0;
	margin: 0;
	padding: 0;
}

#footer_area {
	grid-area: foot;
}

/* 本文中の画像・表がはみ出さないように */
#main_contents img {
	max-width: 100%;
	height: auto;
}
#main_contents table {
	max-width: 100%;
}

.text_area, .news_area, .resite_area, .sm_area {
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
	display: block;
	overflow: hidden;
}

.resite_area {
	padding-bottom: 40px;
}

.text_area h3, .news_area h3, .resite_area h3, .sm_area h3 {
	background: #c7ff33 url(../images/h3_bg.png) no-repeat left top;
	margin: 0;
	color: #fff;
	font-size: 14px;
	padding: 8px 12px 8px 15px;
	min-height: 30px;
	line-height: 1.4;
}

.resite_area h3 {
	margin-bottom: 15px;
}

.text_area p {
	margin: 0 15px;
	padding-top: 15px;
}

.sm_area ul, .text_area ul {
	margin: 10px 15px;
}

.news_area dl {
	margin: 8px 15px 10px 15px;
	overflow: hidden;
}

.news_area dt {
	font-size: 13px;
	padding: 5px 3px 0 0;
	margin: 0;
	color: #999;
}

.news_area dd {
	padding: 0 5px 5px 0;
	margin: -1px 0 0 0;
	border-bottom: 1px solid #aaa;
}

.resite_area p {
	font-size: 14px;
	margin: 5px 15px 0 15px;
	padding: 0;
	font-weight: bold;
	color: #688f00;
}

.resite_area div {
	margin: 2px 15px 0 15px;
	padding: 0 0 3px 15px;
	border-bottom: 1px solid #aaa;
}

.sm_area ul li, .text_area ul li {
	margin: 0 0 10px 0;
	padding: 0 0 0 18px;
	background: url(../images/li.gif) no-repeat 0 7px;
}

/* ---------- サイドバー ---------- */
#side_contents h4 {
	background: #8e8e8e url(../images/h4_bg.png) no-repeat left top;
	margin: 0;
	color: #fff;
	font-size: 13px;
	padding: 8px 12px 8px 15px;
	min-height: 30px;
	line-height: 1.4;
}

.recosite_area {
	margin: 0;
	padding: 15px 0 0 0;
	line-height: 1.6;
}

.recosite_area img {
	display: block;
	margin: 0 auto;
	border: 1px dotted #444;
}

.recosite_area p {
	display: block;
	max-width: 187px;
	margin: 5px auto 0 auto;
	color: #444;
	font-weight: bold;
	font-size: 13px;
	padding: 0;
	line-height: 120%;
}

.recosite_area div {
	display: block;
	max-width: 187px;
	margin: 0 auto;
	padding-bottom: 10px;
	color: #666;
}

.recosite_area h2 {
	font-size: 18px;
}

/* ---------- サイド：コンテンツメニューボックス ---------- */
.side_menu {
	margin: 0 0 30px;
	border: 1px solid #ddd;
	border-top: 0;
	background: #fff;
}

#side_contents .side_menu h4 {
	margin: 0;
}

.side_menu_cat {
	margin: 0;
	padding: 6px 12px 5px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: .1em;
	color: #688f00;
	background: #f4f9e6;
	border-left: 4px solid #a8e13a;
	border-bottom: 1px solid #e3edc8;
	line-height: 1.4;
}

.side_menu ul {
	margin: 0;
	padding: 0;
}

.side_menu li + li {
	border-top: 1px dotted #ccc;
}

.side_menu li a {
	display: block;
	position: relative;
	padding: 9px 28px 9px 26px;
	background: url(../images/li.gif) no-repeat 13px 15px;
	color: #444;
	line-height: 1.35;
	transition: background-color .15s;
}

/* 右端の矢印 */
.side_menu li a::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -4px;
	border-top: 2px solid #a8e13a;
	border-right: 2px solid #a8e13a;
	transform: rotate(45deg);
	transition: right .15s;
}

.side_menu_name {
	display: block;
	font-size: 13px;
	font-weight: bold;
	color: #688f00;
}

.side_menu_sub {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	color: #888;
}

.side_menu li a:hover {
	background-color: #f4f9e6;
}
.side_menu li a:hover .side_menu_name {
	color: #000;
}
.side_menu li a:hover::after {
	right: 9px;
}

/* 表示中のページ */
.side_menu li a[aria-current="page"] {
	background-color: #f4f9e6;
	box-shadow: inset 4px 0 0 #688f00;
}
.side_menu li a[aria-current="page"] .side_menu_name {
	color: #333;
}

/* ---------- フッター ---------- */
#footer_area {
	clear: both;
	width: 100%;
	padding: 0;
	margin: 0 auto;
}

#footer_area p {
	display: block;
	text-align: center;
	padding: 30px 0 40px 0;
	margin: 0 auto;
	color: #555;
}

/* ---------- ヘッダー：画像を拡大しないモード（layout.js の hero.fit: 'contain'） ---------- */
#header_area .mainimg_box {
	background: #000;
}
#header_area .mainimg_box .mainimg {
	width: 100%;
	margin: 0 auto;
	object-fit: contain;
}

/* ---------- ヘッダー：タイトルを画像の下に出すモード（layout.js の hero.title: 'below'） ---------- */
#header_area.title_below #header_areain {
	position: static;
	background-color: #222;
}
#header_area.title_below #header_areain h1 {
	margin: 0;
	padding: 10px 20px;
	font-size: 22px;
}

/* ---------- 本文：インライン指定のない見出し・リスト ---------- */
.text_area > h2:not([style]) {
	margin: 10px 0 15px;
	padding: 6px 12px 6px 14px;
	font-size: 18px;
	line-height: 1.4;
	color: #333;
	border-left: 6px solid #a8e13a;
	border-bottom: 2px solid #c7ff33;
	background: #f7fbef;
}
.text_area > h2:not([style]) ~ h2:not([style]) {
	margin-top: 30px;
}
.text_area > h3,
.text_area > p > h3 {
	margin: 20px 0 12px;
}
.text_area > h4 {
	background: #8e8e8e url(../images/h4_bg.png) no-repeat left top;
	background-size: 100% 100%;
	color: #fff;
	font-size: 13px;
	padding: 8px 12px 8px 15px;
	margin: 20px 0 0;
}
.text_area > dl {
	margin: 8px 15px 20px;
}
.text_area > dl dt {
	padding: 5px 3px 0 0;
	color: #999;
}
.text_area > dl dd {
	padding: 0 5px 5px 0;
	border-bottom: 1px solid #aaa;
}
.text_area ins.adsbygoogle {
	margin: 20px 0;
}

/* ---------- 共有ボタン ---------- */
.share_area {
	clear: both;
	margin: 30px 0 20px;
	padding: 14px 15px;
	border-top: 2px solid #c7ff33;
	background: #f7fbef;
}
.share_label {
	margin: 0 0 8px;
	font-weight: bold;
	font-size: 13px;
	color: #688f00;
}
.share_area ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.share_area li {
	flex: 1 1 110px;
}
.share_area a {
	display: block;
	padding: 8px 6px;
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	color: #fff;
	border-radius: 3px;
	background: #444;
}
.share_area a:hover { opacity: .85; color: #fff; }
.share_area .share_x      { background: #111; }
.share_area .share_hatena { background: #00a4de; }
.share_area .share_line   { background: #06c755; }
.share_area .share_fb     { background: #1877f2; }

/* ---------- サイド：任意HTMLの箱 / フォロー ---------- */
.side_menu_html {
	padding: 12px;
}
.side_follow {
	display: block;
	padding: 8px;
	text-align: center;
	font-weight: bold;
	color: #fff;
	background: #111;
	border-radius: 3px;
}
.side_follow:hover { color: #a8e13a; }

/* ---------- ページトップ ---------- */
#pagetop {
	position: fixed;
	right: 16px;
	bottom: 70px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .75);
	color: #a8e13a;
	font-size: 20px;
	font-weight: bold;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}
#pagetop.is-show {
	opacity: 1;
	visibility: visible;
}
#pagetop:hover { color: #fff; }

/* ==========================================================================
   タブレット（〜1036px）
   ========================================================================== */
@media (max-width: 1036px) {
	#conteiner {
		grid-template-columns: 220px minmax(0, 1fr);
		column-gap: 24px;
	}
	#nav ul li {
		font-size: 11px;
	}
}

/* ==========================================================================
   スマホ（〜768px）：1カラム、メニューは下部ボタンで開閉
   ========================================================================== */
@media (max-width: 768px) {
	body {
		font-size: 15px;
		background: #fff;
		padding-bottom: 60px;
	}

	#header_area {
		padding: 0 0 12px;
	}

	/* h1 は画像の上に重ねず、画像の下に帯として表示 */
	#header_areain {
		position: static;
		background-color: #222;
	}
	#header_areain h1 {
		font-size: 18px;
		margin: 0;
		padding: 10px 12px;
	}

	#conteiner {
		display: block;
		padding: 0 12px;
	}

	#main_contents {
		font-size: 15px;
		line-height: 1.75;
	}

	.text_area p {
		margin: 0 4px;
	}
	.news_area dl,
	.sm_area ul, .text_area ul {
		margin-left: 4px;
		margin-right: 4px;
	}
	.resite_area p,
	.resite_area div {
		margin-left: 4px;
		margin-right: 4px;
	}

	/* 本文の float 画像は回り込みを解除して中央に */
	#main_contents img {
		float: none !important;
		margin: 10px auto 15px !important;
	}

	/* インラインで大きく指定された文字・行間を抑える */
	#main_contents [style*="line-height : 50px"],
	#main_contents [style*="line-height:50px"] {
		line-height: 1.5 !important;
	}
	#main_contents font[style*="200%"] {
		font-size: 150% !important;
	}

	#side_contents {
		margin-top: 10px;
	}
	#pagetop {
		right: 12px;
		bottom: 64px;
	}
	#header_area.title_below #header_areain h1 {
		font-size: 18px;
		padding: 10px 12px;
	}
	.text_area > h2:not([style]) {
		font-size: 17px;
	}
	.text_area > dl {
		margin-left: 4px;
		margin-right: 4px;
	}
	#side_contents h4 {
		background-size: 100% 100%;
	}
	/* スマホでは車種を2列に並べてタップしやすく */
	.side_menu ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.side_menu_wide ul {
		grid-template-columns: 1fr;
	}
	.side_menu_wide li:nth-child(odd) {
		border-right: 0;
	}
	.side_menu_wide li a {
		min-height: 48px;
	}
	.side_menu li + li {
		border-top: 0;
	}
	.side_menu li {
		border-bottom: 1px dotted #ccc;
	}
	.side_menu li:nth-child(odd) {
		border-right: 1px dotted #ccc;
	}
	.side_menu li a {
		min-height: 56px;
		padding: 10px 24px 10px 24px;
		background-position: 11px 17px;
	}
	.side_menu_name {
		font-size: 15px;
	}
	.side_menu_sub {
		font-size: 12px;
	}
	.recosite_area br + br {
		display: none;
	}

	/* --- ナビ --- */
	#nav {
		padding: 0;
		padding-bottom: env(safe-area-inset-bottom);
		background: #111;
	}
	#nav ul {
		width: 100%;
	}
	/* 本文先頭の小見出し帯（インライン 11px）をスマホでは読める大きさに */
	#main_contents .text_area > h2[style] {
		font-size: 13px !important;
		padding: 4px 8px;
	}
	#nav .nav_toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		height: 48px;
		border: 0;
		background: transparent;
		color: #a8e13a;
		font: inherit;
		font-weight: bold;
		font-size: 14px;
		letter-spacing: .1em;
		cursor: pointer;
	}
	#nav .nav_toggle .bar,
	#nav .nav_toggle .bar::before,
	#nav .nav_toggle .bar::after {
		display: block;
		width: 18px;
		height: 2px;
		background: #a8e13a;
		position: relative;
		transition: transform .2s;
	}
	#nav .nav_toggle .bar::before,
	#nav .nav_toggle .bar::after {
		content: "";
		position: absolute;
		left: 0;
	}
	#nav .nav_toggle .bar::before { top: -6px; }
	#nav .nav_toggle .bar::after  { top: 6px; }
	#nav.is-open .nav_toggle .bar { background: transparent; }
	#nav.is-open .nav_toggle .bar::before { transform: translateY(6px) rotate(45deg); }
	#nav.is-open .nav_toggle .bar::after  { transform: translateY(-6px) rotate(-45deg); }

	#nav ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		background: none;
		max-height: 70vh;
		overflow-y: auto;
		border-bottom: 1px solid #333;
	}
	#nav ul li {
		font-size: 13px;
		border-top: 1px solid #333;
	}
	#nav ul li:nth-child(odd) {
		border-right: 1px solid #333;
	}
	#nav ul li a {
		min-height: 48px;
		padding: 6px 8px;
	}
	/* JS 有効時のみ折りたたむ（JS 無効でもメニューは見える） */
	.js #nav ul {
		display: none;
	}
	.js #nav.is-open ul {
		display: grid;
	}
	/* ボタンをリストの下に置く（親指で押しやすい位置） */
	#nav {
		display: flex;
		flex-direction: column-reverse;
	}
}

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