@charset "UTF-8";

/*
========================================
  parts.css
  tmpl_ 汎用パーツ（下層ページ共通）
  ★ 使うパーツが出てきたら順番に追記する
  ★ プロジェクトファイルに登録済みの parts.css（完成版）を参照しながら
     必要な部分だけコピーする
========================================
*/


/* ============================================
   テンプレート共通セクション（tmpl_block）
============================================ */
.tmpl_block {
	padding: 120px 0;
	font-size: 1.125rem;
}

/* ★ グレー背景の色は案件に合わせて変更する */
.tmpl_block--bg {
	background: #fbf8f5;
}

/* ★ 黒背景の色は案件に合わせて変更する */
.tmpl_block--dark {
	background: #1a1a1a;
	color: #fff;
}

/* ★ max-widthは案件に合わせて変更する（sec_innerと統一すること） */
.tmpl_block .tmpl_inner {
	margin: 0 auto;
	max-width: 1200px;
}

.tmpl_block .tmpl_inner100per {
	margin: 0 auto;
	max-width: 100%;
}

.tmpl_block .tmpl_inner + .tmpl_inner {
	margin-top: 80px;
}

/* ============================================
   WordPress Gutenberg ブロック幅上書き
   wp:html ブロックのデフォルト max-width を解除
============================================ */
.tmpl_main .wp-block-html {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tmpl_main > .wp-block-html:first-child {
	margin-top: 0;
}


@media screen and (max-width: 1200px) {
	.tmpl_block .tmpl_inner {
		max-width: 90%;
	}
}

@media screen and (max-width: 768px) {
	.tmpl_block {
		padding: 60px 0 70px;
		font-size: 3.8vw;
	}
}


/* ============================================
   本文テキスト
============================================ */
.tmpl_text {
	font-size: 1.125rem;
	color: #333;
	line-height: 2;
	margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
	.tmpl_text {
		font-size: 4vw;
		margin-bottom: 25px;
	}
}


/* ============================================
   下層ページ main（グラデーション背景）
============================================ */
.tmpl_main {
	background: linear-gradient(135deg, #f1fcf4 0%, #fffff9 30%, #ffffff 100%);
	background-size: 100% 800px;
	background-repeat: no-repeat;
	background-color: #ffffff;
	padding-top: 80px; /* fixed header の高さ分 */
}

@media screen and (max-width: 768px) {
	.tmpl_main {
		padding-top: 60px; /* SP header の高さ分 */
	}
}

/* WordPress 管理バー対応 */
body.admin-bar .tmpl_main {
	padding-top: 112px; /* 80px header + 32px admin-bar */
}

@media screen and (max-width: 782px) {
	body.admin-bar .tmpl_main {
		padding-top: 106px; /* 60px header + 46px admin-bar */
	}
}


/* ============================================
   パンくずナビ
============================================ */
.tmpl_breadcrumb_wrap {
	padding: 16px 0;
}

.tmpl_breadcrumb_wrap .tmpl_inner {
	margin: 0 auto;
	max-width: 1200px;
}

@media screen and (max-width: 1200px) {
	.tmpl_breadcrumb_wrap .tmpl_inner {
		max-width: 90%;
	}
}

.tmpl_breadcrumb_list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
}

.tmpl_breadcrumb_item {
	display: flex;
	align-items: center;
	font-size: 0.875rem;
	color: #555;
}

.tmpl_breadcrumb_item + .tmpl_breadcrumb_item::before {
	content: '›';
	margin: 0 8px;
	color: #999;
	font-size: 1rem;
	line-height: 1;
}

.tmpl_breadcrumb_item a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s;
}

.tmpl_breadcrumb_item a:hover {
	color: #009c55;
}

.tmpl_breadcrumb_item:last-child {
	color: #009c55;
}

@media screen and (max-width: 768px) {
	.tmpl_breadcrumb_wrap {
		padding: 12px 0;
	}

	.tmpl_breadcrumb_item {
		font-size: 3.2vw;
	}
}


/* ============================================
   ページタイトルエリア（h1・概要テキスト）
============================================ */
.tmpl_page_header {
	padding: 70px 0 0;
	text-align: center;
}

.tmpl_page_header .tmpl_inner {
	margin: 0 auto;
	max-width: 1200px;
}

@media screen and (max-width: 1200px) {
	.tmpl_page_header .tmpl_inner {
		max-width: 90%;
	}
}

@media screen and (max-width: 768px) {
	.tmpl_page_header {
		padding: 45px 0 0;
	}
}
.tmpl_page_title {
	font-family: "Noto Serif JP", serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #009c55;
	line-height: 1.4;
	margin-bottom: 20px;
	letter-spacing: 0.03em;
	text-align: center;
}

.tmpl_page_desc {
	font-size: 1rem;
	color: #555;
	line-height: 1.8;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.tmpl_page_title {
		font-size: 6.5vw;
		margin-bottom: 16px;
	}

	.tmpl_page_desc {
		font-size: 3.8vw;
	}
}


/* ============================================
   h2エリア（tmpl_h2_wrap）
============================================ */
.tmpl_h2_wrap {
	margin-top: 100px;
	margin-bottom: 60px;
}

/* tmpl_block > tmpl_inner の直下先頭のh2はmargin-topをリセット */
.tmpl_block .tmpl_inner > .tmpl_h2_wrap:first-child {
	margin-top: 0;
}

/* tmpl_stat_wrap 内のh2はpaddingで余白が確保されるためリセット */
.tmpl_stat_wrap > .tmpl_h2_wrap {
	margin-top: 0;
}

.tmpl_h2_wrap--center {
	text-align: center;
}

/* h2：32px → 2rem */
.tmpl_h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #009c55;
	line-height: 1.4;
	margin-bottom: 16px;
	letter-spacing: 0.03em;
}

.tmpl_lead {
	font-size: 1rem;
	color: #555;
	line-height: 1.8;
}

@media screen and (max-width: 768px) {
	.tmpl_h2_wrap {
		margin-bottom: 40px;
	}

	.tmpl_h2 {
		font-size: 5.5vw;
	}

	.tmpl_lead {
		font-size: 3.8vw;
	}
}


/* ============================================
   見出し・リスト類（h3 / h4 / ol / ul / dl）
============================================ */

/* h3：24px → 1.5rem */
.tmpl_h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 24px;
	margin-top: 60px;
}

.tmpl_h3:first-child {
	margin-top: 0;
}

/* h4：20px → 1.25rem */
.tmpl_h4 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 12px;
	margin-top: 32px;
}

.tmpl_h4:first-child {
	margin-top: 0;
}

/* ol 番号付きリスト */
.tmpl_list_ol {
	counter-reset: tmpl-ol;
	margin-bottom: 32px;
	padding-left: 0;
}

.tmpl_list_ol li {
	counter-increment: tmpl-ol;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1rem;
	color: #333;
	line-height: 1.8;
	margin-bottom: 10px;
}

.tmpl_list_ol li::before {
	content: counter(tmpl-ol);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: #009c55;
	color: #fff;
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 700;
	margin-top: 2px;
}

/* ul チェックリスト */
.tmpl_list_check {
	margin-bottom: 32px;
	padding-left: 0;
}

.tmpl_list_check li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 1rem;
	color: #333;
	line-height: 1.8;
	margin-bottom: 10px;
}

.tmpl_list_check li::before {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: #009c55 url(../img/common_icon_check.png) no-repeat center center;
	background-size: 12px auto;
	border-radius: 50%;
	margin-top: 3px;
}

/* dl 定義リスト */
.tmpl_dl {
	margin-bottom: 32px;
}

.tmpl_dl dt {
	font-size: 1rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 4px;
	margin-top: 20px;
}

.tmpl_dl dt:first-child {
	margin-top: 0;
}

.tmpl_dl dd {
	font-size: 1rem;
	color: #333;
	line-height: 1.8;
	padding-left: 1em;
}

/* blockquote 引用（外枠のみ・背景なし） */
.tmpl_blockquote {
	border: 1px solid #009c55;
	padding: 40px 40px;
	margin-bottom: 32px;
}

.tmpl_blockquote p {
	font-size: 1rem;
	color: #333;
	line-height: 1.9;
	font-style: italic;
	margin-bottom: 16px;
}

.tmpl_blockquote cite {
	display: block;
	font-size: 0.875rem;
	color: #555;
	font-style: normal;
}

@media screen and (max-width: 768px) {
	.tmpl_h3 {
		font-size: 5vw;
		margin-top: 40px;
		margin-bottom: 20px;
	}

	.tmpl_h4 {
		font-size: 4.5vw;
		margin-top: 24px;
	}

	.tmpl_list_ol li,
	.tmpl_list_check li,
	.tmpl_dl dt,
	.tmpl_dl dd {
		font-size: 3.8vw;
	}

	.tmpl_blockquote {
		padding: 20px;
	}

	.tmpl_blockquote p {
		font-size: 3.8vw;
	}

	.tmpl_blockquote cite {
		font-size: 3.4vw;
	}
}


/* ============================================
   2カラムレイアウト（tmpl_col）
============================================ */
.tmpl_col--2 {
	display: flex;
	gap: 60px;
	align-items: flex-start;
	margin-top: 80px;
}

/* 左右逆バージョン */
.tmpl_col--reverse {
	flex-direction: row-reverse;
}

/* 画像＋テキストの2カラム：左55% / 右45% */
.tmpl_col--img_text .tmpl_figure {
	flex: 0 0 52%;
}

.tmpl_col--img_text .tmpl_col_body {
	flex: 1;
}

/* figure */
.tmpl_figure img {
	width: 100%;
	display: block;
}

.tmpl_figcaption {
	font-size: 0.875rem;
	color: #666;
	margin-top: 8px;
	line-height: 1.6;
}

/* 小テキスト */
.tmpl_small {
	font-size: 1rem;
	color: #555;
	line-height: 1.9;
	margin-bottom: 24px;
}

/* 注釈テキスト */
.tmpl_note {
	font-size: 0.875rem;
	color: #666;
	font-style: italic;
	line-height: 1.8;
}

@media screen and (max-width: 768px) {
	.tmpl_col--2 {
		flex-direction: column;
		gap: 24px;
		margin-top: 50px;
	}

	.tmpl_col--img_text .tmpl_figure {
		flex: none;
		width: 100%;
	}

	.tmpl_figcaption {
		font-size: 3.2vw;
	}

	.tmpl_small {
		font-size: 3.8vw;
		margin-bottom: 16px;
	}

	.tmpl_note {
		font-size: 3.4vw;
	}
}


/* ============================================
   フローステップ（tmpl_flow）
============================================ */
.tmpl_flow_item {
	display: flex;
	border: 1px solid #009c55;
	overflow: hidden;
}

.tmpl_flow_body {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	flex: 1;
	padding: 32px 36px;
}

.tmpl_flow_num {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #009c55;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.tmpl_flow_text {
	flex: 1;
}

.tmpl_flow_title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 12px;
	line-height: 1.5;
}

.tmpl_flow_desc {
	font-size: 1.125rem;
	color: #333;
	line-height: 1.9;
}

.tmpl_flow_photo {
	flex-shrink: 0;
	width: 200px;
	background-size: cover;
	background-position: center center;
}

.tmpl_flow_photo--01 { background-image: url(../img/home_flow_photo01.jpg); }
.tmpl_flow_photo--02 { background-image: url(../img/home_flow_photo02.jpg); }
.tmpl_flow_photo--03 { background-image: url(../img/home_flow_photo03.jpg); }
.tmpl_flow_photo--04 { background-image: url(../img/home_flow_photo04.jpg); }

/* テンテン（ステップ間区切り） */
.tmpl_flow_dots {
	height: 36px;
	position: relative;
}

.tmpl_flow_dots::before {
	content: '';
	display: block;
	width: 2px;
	height: 100%;
	border-left: 3px dotted #009c55;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

/* コンテンツボックス */
.tmpl_content_box {
	margin-top: 60px;
	background: #e8f7ee;
	border-left: 4px solid #009c55;
	padding: 28px 32px;
	margin-bottom: 32px;
}

.tmpl_content_box_title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
	.tmpl_flow_item {
		flex-direction: column;
	}

	.tmpl_flow_body {
		padding: 24px 20px;
		gap: 16px;
	}

	.tmpl_flow_num {
		width: 36px;
		height: 36px;
		font-size: 4.5vw;
	}

	.tmpl_flow_title {
		font-size: 4.5vw;
		margin-bottom: 8px;
	}

	.tmpl_flow_desc {
		font-size: 4vw;
	}

	.tmpl_flow_photo {
		width: 100%;
		height: 50vw;
	}

	.tmpl_content_box {
		padding: 20px;
	}

	.tmpl_content_box_title {
		font-size: 4.5vw;
	}
}


/* ============================================
   テーブル（tmpl_table）
============================================ */
.tmpl_table_wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 16px;
}

.tmpl_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #009c55;
	font-size: 1rem;
}

/* th */
.tmpl_table thead th {
	background: #e8f7ee;
	color: #009c55;
	font-weight: 700;
	padding: 18px 20px;
	text-align: left;
	border-right: 1px solid #f5efe9;
	border-bottom: 1px solid #f5efe9;
	white-space: nowrap;
}

.tmpl_table thead th:last-child {
	border-right: none;
}

/* td */
.tmpl_table tbody td {
	padding: 18px 20px;
	color: #333;
	background: #ffffff;
	border-right: 1px solid #f5efe9;
	border-bottom: 1px solid #f5efe9;
	line-height: 1.7;
}

.tmpl_table tbody td:last-child {
	border-right: none;
}

.tmpl_table tbody tr:last-child td {
	border-bottom: none;
}

@media screen and (max-width: 768px) {
	.tmpl_table {
		font-size: 3.6vw;
		min-width: 600px;
	}

	.tmpl_table thead th,
	.tmpl_table tbody td {
		padding: 14px 12px;
	}
}


/* ============================================
   カード共通
============================================ */
.tmpl_cards {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 0;
}

/* カード共通パーツ */
.tmpl_card_tag {
	display: inline-block;
	align-self: flex-start;
	background: #e8f7ee;
	color: #009c55;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 4px 12px;
	margin-bottom: 10px;
	white-space: nowrap;
}

.tmpl_card_meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

.tmpl_card_date {
	font-size: 0.875rem;
	color: #009c55;
}

.tmpl_card_read {
	font-size: 0.875rem;
	color: #009c55;
}

.tmpl_card_hr {
	border: none;
	border-top: 1px solid #009c55;
	margin: 16px 0;
}


/* ============================================
   カード（画像付き統合版）tmpl_card_full
============================================ */
.tmpl_card_full {
	flex: 1 1 calc(33.333% - 16px);
	min-width: 280px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
}

/* 画像エリア */
.tmpl_card_full_img {
	width: 100%;
	overflow: hidden;
}

.tmpl_card_full_img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/* 本文エリア */
.tmpl_card_full_body {
	flex: 1;
	padding: 24px 24px 28px;
	display: flex;
	flex-direction: column;
}

.tmpl_card_full_title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
	margin-bottom: 0;
}

.tmpl_card_text {
	font-size: 1rem;
	color: #333;
	line-height: 1.8;
	margin-bottom: 16px;
	flex: 1;
}

/* 補足テキスト（枠付き） */
.tmpl_card_sub {
	font-size: 0.875rem;
	color: #555;
	background: #f7f7f7;
	padding: 8px 12px;
	margin-bottom: 16px;
	line-height: 1.6;
}

/* ボタン */
.tmpl_card_btn {
	display: block;
	text-align: center;
	border: 1px solid #009c55;
	color: #009c55;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 14px;
	transition: background 0.3s, color 0.3s;
	letter-spacing: 0.05em;
}

.tmpl_card_btn:hover {
	background: #009c55;
	color: #fff;
}


/* ============================================
   カード（画像なし・リンクカード）tmpl_card
============================================ */
.tmpl_card {
	flex: 1 1 calc(33.333% - 16px);
	min-width: 280px;
	background: #ffffff;
	border: 1px solid #f5efe9;
	padding: 24px 24px 28px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s;
}

.tmpl_card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	color: inherit;
}

.tmpl_card_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.tmpl_card_cat {
	font-size: 0.8125rem;
	color: #009c55;
	background: #e8f7ee;
	padding: 4px 12px;
	font-weight: 500;
}

.tmpl_card_title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
	margin-bottom: 0;
}

.tmpl_card_excerpt {
	font-size: 1rem;
	color: #333;
	line-height: 1.8;
	flex: 1;
}

@media screen and (max-width: 768px) {
	.tmpl_cards {
		flex-direction: column;
		gap: 16px;
	}

	.tmpl_card_full,
	.tmpl_card {
		width: 100%;
		min-width: 0;
	}

	.tmpl_card_full_title,
	.tmpl_card_title {
		font-size: 4.5vw;
	}

	.tmpl_card_text,
	.tmpl_card_excerpt {
		font-size: 3.8vw;
	}

	.tmpl_card_date,
	.tmpl_card_read,
	.tmpl_card_tag,
	.tmpl_card_cat {
		font-size: 3.2vw;
	}

	.tmpl_card_sub {
		font-size: 3.4vw;
	}

	.tmpl_card_btn {
		font-size: 4vw;
	}
}


/* ============================================
   画像横並び（tmpl_image_row）
============================================ */
.tmpl_image_row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.tmpl_image_item img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}

.tmpl_image_item .tmpl_figcaption {
	margin-top: 10px;
}

@media screen and (max-width: 768px) {
	.tmpl_image_row {
		grid-template-columns: 1fr;
	}

	.tmpl_image_item img {
		height: 56vw;
	}
}


/* ============================================
   アコーディオン（tmpl_accordion）
============================================ */
.tmpl_accordion_list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tmpl_accordion_item {
	border: 1px solid #009c55;
}

/* 質問行 */
.tmpl_accordion_q {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	cursor: pointer;
	user-select: none;
}

/* Q・Aバッジ共通 */
.tmpl_accordion_badge {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
}

.tmpl_accordion_badge--q {
	background: #009c55;
}

.tmpl_accordion_badge--a {
	background: #f5a623;
}

/* 質問テキスト */
.tmpl_accordion_question {
	flex: 1;
	font-size: 1.25rem;
	font-weight: 700;
	color: #009c55;
	line-height: 1.6;
}

/* +/− アイコン */
.tmpl_accordion_icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	position: relative;
	color: #009c55;
	font-size: 1.5rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 回答エリア（デフォルト非表示） */
.tmpl_accordion_body {
	display: none;
	border-top: 1px solid #009c55;
	padding: 24px 28px;
}

.tmpl_accordion_body.is-open {
	display: block;
}

/* 回答行 */
.tmpl_accordion_a {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.tmpl_accordion_answer {
	flex: 1;
	font-size: 1.25rem;
	color: #333;
	line-height: 1.8;
	padding-top: 8px;
}

@media screen and (max-width: 768px) {
	.tmpl_accordion_q {
		padding: 20px;
		gap: 14px;
	}

	.tmpl_accordion_badge {
		width: 34px;
		height: 34px;
		font-size: 3.8vw;
	}

	.tmpl_accordion_question {
		font-size: 4vw;
	}

	.tmpl_accordion_body {
		padding: 20px;
	}

	.tmpl_accordion_answer {
		font-size: 3.8vw;
	}
}


/* ============================================
   ボタン・テキストリンク
============================================ */

/* ゴースト：白背景・緑枠・緑文字（ページリンク用） */
.tmpl_btn_ghost {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.05em;
	transition: background 0.3s, color 0.3s;
	cursor: pointer;
	background: #fff;
	color: #009c55;
	border: 1px solid #009c55;
	padding: 16px 48px;
	font-size: 1rem;
}

.tmpl_btn_ghost:hover {
	background: #009c55;
	color: #fff;
}

/* ボタン横並びラッパー */
.tmpl_btn_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 40px;
}

/* ボタンラップが連続するときは間隔を縮める */
.tmpl_btn_wrap + .tmpl_btn_wrap {
	margin-top: 24px;
}

@media screen and (max-width: 768px) {
	.tmpl_btn_ghost {
		padding: 14px 32px;
		font-size: 4vw;
	}

	.tmpl_btn_wrap {
		gap: 16px;
		margin-top: 30px;
	}

	.tmpl_btn_wrap + .tmpl_btn_wrap {
		margin-top: 16px;
	}
}


/* ============================================
   その他パーツ
   ★ 使う場合は追記する
============================================ */


/* ============================================
   フォーム（tmpl_form）
============================================ */

/* フォーム外枠 */
.tmpl_form_wrap {
	border: 1px solid #009c55;
	padding: 80px 120px 80px;
	margin-bottom: 0;
}

/* 各行 */
.tmpl_form_row {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding: 32px 0;
}

.tmpl_form_row:first-child {
	padding-top: 0;
}

.tmpl_form_row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* ラベルエリア */
.tmpl_form_label_wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	width: 200px;
	padding-top: 12px;
}

.tmpl_form_label {
	font-size: 1.125rem;
	font-weight: 700;
	color: #333;
	line-height: 1.5;
}

/* 必須バッジ */
.tmpl_form_required {
	font-size: 0.75rem;
	font-weight: 700;
	color: #e53935;
	white-space: nowrap;
}

/* 任意バッジ */
.tmpl_form_optional {
	font-size: 0.75rem;
	color: #999;
	white-space: nowrap;
}

/* 入力エリア */
.tmpl_form_field {
	flex: 1;
}

/* テキスト入力 */
.tmpl_form_input {
	width: 100%;
	border: 1px solid #cccccc;
	padding: 12px 16px;
	font-size: 1rem;
	color: #333;
	background: #fff;
	outline: none;
	box-sizing: border-box;
	font-family: inherit;
	transition: box-shadow 0.2s;
}

.tmpl_form_input:focus {
	box-shadow: 0 0 0 3px rgba(0, 156, 85, 0.15);
}

/* ヘルプテキスト */
.tmpl_form_help {
	font-size: 0.875rem;
	color: #888;
	margin-top: 8px;
	line-height: 1.6;
}

.tmpl_form_help--center {
	text-align: center;
	margin-top: 16px;
}

/* セレクト */
.tmpl_form_select_wrap {
	position: relative;
	display: inline-block;
}

.tmpl_form_select_wrap::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #009c55;
	pointer-events: none;
}

.tmpl_form_select {
	border: 1px solid #cccccc;
	padding: 12px 44px 12px 16px;
	font-size: 1rem;
	color: #333;
	background: #fff;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	min-width: 240px;
	cursor: pointer;
	box-sizing: border-box;
	transition: box-shadow 0.2s;
}

.tmpl_form_select:focus {
	box-shadow: 0 0 0 3px rgba(0, 156, 85, 0.15);
}

/* ラジオ・チェックボックス横並び */
.tmpl_form_radio_group,
.tmpl_form_check_group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	padding-top: 10px;
}

.tmpl_form_radio_label,
.tmpl_form_check_label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	color: #333;
	cursor: pointer;
}

.tmpl_form_radio_label input,
.tmpl_form_check_label input {
	width: 18px;
	height: 18px;
	accent-color: #009c55;
	cursor: pointer;
	flex-shrink: 0;
}

/* テキストエリア */
.tmpl_form_textarea {
	width: 100%;
	border: 1px solid #cccccc;
	padding: 12px 16px;
	font-size: 1rem;
	color: #333;
	background: #fff;
	outline: none;
	box-sizing: border-box;
	font-family: inherit;
	resize: vertical;
	min-height: 160px;
	line-height: 1.8;
	transition: box-shadow 0.2s;
}

.tmpl_form_textarea:focus {
	box-shadow: 0 0 0 3px rgba(0, 156, 85, 0.15);
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
	.tmpl_form_wrap {
		padding: 60px 60px 60px;
	}
}

@media screen and (max-width: 768px) {
	.tmpl_form_wrap {
		padding: 36px 24px 40px;
	}

	.tmpl_form_row {
		flex-direction: column;
		gap: 10px;
		padding: 24px 0;
	}

	.tmpl_form_label_wrap {
		width: 100%;
		padding-top: 0;
	}

	.tmpl_form_label {
		font-size: 4vw;
	}

	.tmpl_form_input,
	.tmpl_form_select,
	.tmpl_form_textarea {
		font-size: 4vw;
	}

	.tmpl_form_select {
		min-width: 100%;
	}

	.tmpl_form_radio_group,
	.tmpl_form_check_group {
		gap: 16px;
		padding-top: 0;
	}

	.tmpl_form_radio_label,
	.tmpl_form_check_label {
		font-size: 4vw;
	}

	.tmpl_form_help {
		font-size: 3.2vw;
	}
}

/* ============================================
   数値ハイライト（tmpl_stat_box）
============================================ */

/* h2・カラム全体を包む背景ボックス */
.tmpl_stat_wrap {
	background: #fbf8f5;
	padding: 60px;
	margin-top: 80px;
}

.tmpl_stat_cols {
	display: flex;
	gap: 24px;
}

.tmpl_stat_box {
	flex: 1;
	border: 1px solid #009c55;
	padding: 36px 20px 32px;
	text-align: center;
}

.tmpl_stat_label {
	font-size: 1rem;
	color: #333;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.tmpl_stat_num {
	font-size: 4.5rem;
	font-weight: 500;
	color: #009c55;
	line-height: 1;
	letter-spacing: -0.02em;
}

.tmpl_stat_unit {
	font-size: 1.25rem;
	font-weight: 400;
	vertical-align: bottom;
	letter-spacing: 0.05em;
	padding-bottom: 6px;
	display: inline-block;
	margin-left: 4px;
}

@media screen and (max-width: 768px) {
	.tmpl_stat_wrap {
		padding: 36px 20px;
		margin-top: 50px;
	}

	.tmpl_stat_cols {
		flex-wrap: wrap;
		gap: 16px;
	}

	.tmpl_stat_box {
		flex: none;
		width: calc(50% - 8px);
		padding: 24px 16px 22px;
	}

	.tmpl_stat_label {
		font-size: 3.4vw;
		margin-bottom: 10px;
	}

	.tmpl_stat_num {
		font-size: 11vw;
	}

	.tmpl_stat_unit {
		font-size: 4vw;
	}
}


/* ============================================
   ブログ詳細レイアウト（tmpl_blog_layout）
============================================ */
.tmpl_blog_layout {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

.tmpl_blog_main {
	flex: 0 0 760px;
	min-width: 0;
}

.tmpl_blog_sidebar {
	flex: 0 0 360px;
	min-width: 0;
}

@media screen and (max-width: 1100px) {
	.tmpl_blog_main {
		flex: 1;
	}
	.tmpl_blog_sidebar {
		flex: 0 0 260px;
	}
}

@media screen and (max-width: 768px) {
	.tmpl_blog_layout {
		flex-direction: column;
		gap: 50px;
	}
	.tmpl_blog_main,
	.tmpl_blog_sidebar {
		flex: none;
		width: 100%;
	}
}


/* ============================================
   目次（tmpl_toc）
============================================ */
.tmpl_toc {
	border: 1px solid #009c55;
	padding: 28px 32px 32px;
	margin-bottom: 48px;
}

.tmpl_toc_title {
	font-size: 1rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 16px;
}

.tmpl_toc_list {
	counter-reset: toc-counter;
	padding-left: 0;
}

.tmpl_toc_list li {
	counter-increment: toc-counter;
	border-top: 1px solid #e0e0e0;
	padding: 12px 0;
	font-size: 1rem;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.tmpl_toc_list li::before {
	content: counter(toc-counter) '.';
	color: #009c55;
	font-weight: 700;
	flex-shrink: 0;
}

.tmpl_toc_list li a {
	color: #333;
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.3s;
}

.tmpl_toc_list li a:hover {
	color: #009c55;
}

@media screen and (max-width: 768px) {
	.tmpl_toc {
		padding: 20px;
		margin-bottom: 32px;
	}
	.tmpl_toc_list li {
		font-size: 3.8vw;
	}
}


/* ============================================
   記事見出し（tmpl_content_heading / subheading）
============================================ */
.tmpl_content_heading {
	font-size: 2rem;
	font-weight: 700;
	color: #009c55;
	border-bottom: 1px solid #009c55;
	padding-bottom: 12px;
	margin-bottom: 20px;
	margin-top: 48px;
	line-height: 1.5;
}

.tmpl_content_heading:first-child {
	margin-top: 0;
}

.tmpl_content_subheading {
	font-size: 1.5rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 16px;
	margin-top: 40px;
	line-height: 1.5;
}

.tmpl_content_text {
	font-size: 1.125rem;
	color: #333;
	line-height: 1.8;
	margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
	.tmpl_content_heading {
		font-size: 6vw;
		margin-top: 36px;
	}
	.tmpl_content_subheading {
		font-size: 5vw;
		margin-top: 30px;
	}
	.tmpl_content_text {
		font-size: 4vw;
	}
}


/* ============================================
   記事内CTA（tmpl_content_cta）
============================================ */
.tmpl_content_cta {
	background: #e8f7ee;
	padding: 40px;
	text-align: center;
	margin: 48px 0;
}

.tmpl_content_cta_title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 16px;
}

.tmpl_content_cta_text {
	font-size: 1rem;
	color: #333;
	line-height: 1.8;
	margin-bottom: 0;
}

.tmpl_content_cta .tmpl_btn_wrap {
	margin-top: 24px;
}

@media screen and (max-width: 768px) {
	.tmpl_content_cta {
		padding: 28px 20px;
		margin: 32px 0;
	}
	.tmpl_content_cta_title {
		font-size: 4.5vw;
	}
	.tmpl_content_cta_text {
		font-size: 3.8vw;
	}
}


/* ============================================
   関連記事（tmpl_related）
============================================ */
.tmpl_related {
	margin-top: 48px;
}

.tmpl_related_title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 20px;
}

.tmpl_related_grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.tmpl_related_card {
	display: block;
	background: #fbf7f3;
	padding: 20px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s;
}

.tmpl_related_card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	color: inherit;
}

.tmpl_related_card_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.tmpl_related_card_title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
}

@media screen and (max-width: 768px) {
	.tmpl_related_grid {
		grid-template-columns: 1fr;
	}
	.tmpl_related_card_title {
		font-size: 4vw;
	}
}


/* ============================================
   SNSシェア（tmpl_share）
============================================ */
.tmpl_share {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
	flex-wrap: wrap;
}

.tmpl_share_label {
	font-size: 0.9375rem;
	color: #555;
	white-space: nowrap;
}

.tmpl_share_btns {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.tmpl_share_btn {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.3s;
}

.tmpl_share_btn:hover {
	opacity: 0.8;
}

.tmpl_share_btn--x {
	background: #000;
	color: #fff;
}

.tmpl_share_btn--fb {
	background: #1877f2;
	color: #fff;
}

.tmpl_share_btn--line {
	background: #06c755;
	color: #fff;
}

@media screen and (max-width: 768px) {
	.tmpl_share {
		gap: 12px;
		margin-top: 30px;
	}
	.tmpl_share_label {
		font-size: 3.6vw;
	}
	.tmpl_share_btn {
		font-size: 3.4vw;
		padding: 6px 12px;
	}
}


/* ============================================
   サイドバーウィジェット（tmpl_widget）
============================================ */
.tmpl_widget {
	margin-bottom: 40px;
}

.tmpl_widget_title {
	font-size: 1rem;
	font-weight: 700;
	color: #009c55;
	border-bottom: 1px solid #009c55;
	padding-bottom: 10px;
	margin-bottom: 16px;
}

/* カテゴリーリスト */
.tmpl_widget_cat_list li {
	border-bottom: 1px solid #e0e0e0;
}

.tmpl_widget_cat_list li a {
	display: block;
	padding: 10px 0;
	font-size: 0.9375rem;
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
}

.tmpl_widget_cat_list li a:hover {
	color: #009c55;
}

/* 人気記事リスト */
.tmpl_popular_list {
	counter-reset: popular-counter;
	padding-left: 0;
}

.tmpl_popular_list li {
	counter-increment: popular-counter;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.tmpl_popular_list li::before {
	content: counter(popular-counter);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #009c55;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	margin-top: 2px;
}

.tmpl_popular_list li a {
	font-size: 0.9375rem;
	color: #333;
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.3s;
}

.tmpl_popular_list li a:hover {
	color: #009c55;
}

/* 枠付きウィジェット（資料ダウンロード） */
.tmpl_widget--border {
	background: #faf7f2;
	padding: 24px;
}

.tmpl_widget--border .tmpl_widget_title {
	text-align: center;
}

.tmpl_widget_text {
	font-size: 0.9375rem;
	color: #555;
	line-height: 1.8;
	margin-bottom: 16px;
}

.tmpl_widget--border .tmpl_btn_ghost {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px;
	text-align: center;
}


/* ============================================
   サイドバーCTA（tmpl_sidebar_cta）
============================================ */
.tmpl_sidebar_cta {
	background: #e8f7ee;
	padding: 28px 24px;
	text-align: center;
	margin-bottom: 40px;
}

.tmpl_sidebar_cta_title {
	font-size: 1rem;
	font-weight: 700;
	color: #009c55;
	border-bottom: 1px solid #009c55;
	padding-bottom: 10px;
	margin-bottom: 16px;
	line-height: 1.6;
}

.tmpl_sidebar_cta_text {
	font-size: 0.9375rem;
	color: #333;
	line-height: 1.8;
	margin-bottom: 20px;
}

.tmpl_sidebar_cta .tmpl_btn_primary {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px;
}

@media screen and (max-width: 768px) {
	.tmpl_sidebar_cta_title {
		font-size: 4vw;
	}
	.tmpl_sidebar_cta_text {
		font-size: 3.8vw;
	}
}

/* ============================================
   沿革タイムライン（about）
============================================ */
.history-section {
	max-width: 800px;
	margin: 0 auto;
}

.history-timeline {
	position: relative;
	padding-left: 40px;
}

.history-timeline::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 8px;
	bottom: 8px;
	width: 3px;
	background: linear-gradient(to bottom, #3d6e4a, #a8c5ae);
	border-radius: 2px;
}

.history-item {
	position: relative;
	margin-bottom: 40px;
}

.history-item:last-child {
	margin-bottom: 0;
}

.history-item::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 6px;
	width: 14px;
	height: 14px;
	background: #3d6e4a;
	border: 3px solid #e8f4ea;
	border-radius: 50%;
}

.history-year {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #3d6e4a;
	margin-bottom: 4px;
	letter-spacing: 0.05em;
}

.history-text {
	font-size: 1rem;
	line-height: 1.8;
	color: #333333;
}

/* ============================================
   アクセスマップ（about）
============================================ */
.access-map {
	width: 100%;
	height: 320px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}


/* ============================================
   2列グリッド（サービスステップ・会社概要stat等）
   構成の grid-2 に対応
============================================ */
.tmpl_grid_2 {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 40px;
}

@media screen and (max-width: 768px) {
	.tmpl_grid_2 {
		grid-template-columns: 1fr !important;
		gap: 24px;
	}
}

/* ============================================
   3列グリッド（構成の grid-3 に対応）
============================================ */
.tmpl_grid_3 {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px;
}

@media screen and (max-width: 768px) {
	.tmpl_grid_3 {
		grid-template-columns: 1fr !important;
		gap: 16px;
	}
}

/* ============================================
   4列グリッド（構成の grid-4 に対応）
============================================ */
.tmpl_grid_4 {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px;
}

@media screen and (max-width: 768px) {
	.tmpl_grid_4 {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px;
	}
}
/* ============================================
   設計実績（case_study）専用スタイル
   parts.cssの末尾に追記してください
============================================ */

/* フィルタ */
.case_filter {
	margin-bottom: 60px;
	padding: 24px;
	background: #f7f5f0;
	border-radius: 4px;
}

.case_filter_row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.case_filter_label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: #333;
}

.case_filter_label > span {
	font-weight: 700;
}

.case_filter_label select {
	font-size: 1rem;
	padding: 8px 14px;
	border: 1px solid #ccc;
	background: #fff;
	min-width: 160px;
	font-family: inherit;
}

.case_filter_reset {
	font-size: 0.9rem;
	color: #3d6e4a;
	text-decoration: underline;
}

.case_filter_reset:hover {
	color: #009c55;
}

/* 一覧 */
.case_list {
	display: flex;
	flex-direction: column;
	gap: 60px;
	margin-bottom: 60px;
}

.case_item {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 32px;
	padding: 32px;
	background: #fff;
	border: 1px solid #e6e3dc;
	align-items: start;
}

.case_item_meta {
	border-right: 1px solid #e6e3dc;
	padding-right: 24px;
}

.case_item_no {
	font-family: "Noto Serif JP", serif;
	font-size: 1.5rem;
	color: #3d6e4a;
	margin-bottom: 14px;
	font-weight: 400;
}

.case_item_type,
.case_item_area {
	font-size: 0.95rem;
	color: #333;
	line-height: 1.8;
}

.case_item_title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #333;
	margin-top: 14px;
	line-height: 1.5;
}

.case_item_title a {
	color: inherit;
	text-decoration: none;
}

.case_item_title a:hover {
	color: #009c55;
}

.case_item_summary {
	font-size: 0.9rem;
	color: #555;
	margin-top: 10px;
	line-height: 1.7;
}

/* 写真群（一覧内） */
.case_item_photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.case_photo {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.case_photo img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.case_photo_caption {
	font-size: 0.85rem;
	color: #555;
	padding: 8px 4px 0;
	border-top: 1px solid #e6e3dc;
	margin-top: 8px;
	text-align: center;
	letter-spacing: 0.03em;
}

/* SP対応 */
@media screen and (max-width: 768px) {
	.case_item {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 20px;
	}

	.case_item_meta {
		border-right: none;
		border-bottom: 1px solid #e6e3dc;
		padding-right: 0;
		padding-bottom: 16px;
	}

	.case_item_photos {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.case_photo img {
		height: 140px;
	}

	.case_filter_row {
		gap: 14px;
	}

	.case_filter_label select {
		min-width: 130px;
	}
}

/* 個別ページ */
.case_single_photos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin: 40px 0 60px;
}

.case_single_photo {
	margin: 0;
}

.case_single_photo img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
}

.case_single_photo_caption {
	font-size: 0.95rem;
	color: #333;
	padding: 12px 4px 0;
	border-top: 1px solid #e6e3dc;
	margin-top: 12px;
	text-align: center;
	letter-spacing: 0.03em;
}

.case_single_content {
	margin: 40px 0;
	line-height: 2;
	font-size: 1.05rem;
}

.case_single_back {
	margin-top: 60px;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.case_single_photos {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.case_single_photo img {
		height: 240px;
	}
}

/* ページネーション（既存tmpl_paginationがなければ） */
.tmpl_pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.tmpl_pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #ccc;
	color: #333;
	text-decoration: none;
	font-size: 0.95rem;
}

.tmpl_pagination .page-numbers.current,
.tmpl_pagination .page-numbers:hover {
	background: #3d6e4a;
	color: #fff;
	border-color: #3d6e4a;
}
