@charset "UTF-8";

/*
========================================
  common.css
  全ページ共通スタイル
  ・reset.cssの内容を先頭に統合済み
  ・Google Fontsはfunctions.phpで読み込むため@importを削除
========================================
*/


/* ============================================
   ベースリセット（旧reset.cssより統合）
============================================ */
*, *::before, *::after {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-style: normal;
	box-sizing: border-box;
}

html {
	scroll-padding-top: 80px; /* ヘッダー高さに合わせて変更 */
	overflow-x: hidden;
	overflow-y: scroll;
}

body {
	font-size: 100%;
}

img {
	vertical-align: bottom;
	max-width: 100%;
}

li {
	list-style: none;
}


/* ============================================
   ベーススタイル
============================================ */
body {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	color: #333;
	background: #fff;
}

a { color: #333; text-decoration: none; }
a:hover { color: #009c55; }

p, li {
	line-height: 1.8;
}

@media screen and (min-width: 768px) {
	img { width: auto; }
}

@media screen and (max-width: 767px) {
	.pcOnly { display: none !important; }
}
@media screen and (min-width: 768px) {
	.spOnly { display: none !important; }
}

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

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

@media screen and (max-width: 1200px) {
	.sec_inner { max-width: 96%; }
	.sec_inner100 { max-width: 100%; }
}

@media screen and (max-width: 768px) {
	.sec_inner { max-width: 90%; }
	.sec_inner100 { max-width: 100%; }
}

/* マージンユーティリティ */
.mt00  { margin-top:   0 !important; }
.mt10  { margin-top:  10px !important; }
.mt20  { margin-top:  20px !important; }
.mt30  { margin-top:  30px !important; }
.mt40  { margin-top:  40px !important; }
.mt50  { margin-top:  50px !important; }
.mt60  { margin-top:  60px !important; }
.mt70  { margin-top:  70px !important; }
.mt80  { margin-top:  80px !important; }
.mt90  { margin-top:  90px !important; }
.mt100 { margin-top: 100px !important; }

.mb00  { margin-bottom:   0 !important; }
.mb10  { margin-bottom:  10px !important; }
.mb20  { margin-bottom:  20px !important; }
.mb30  { margin-bottom:  30px !important; }
.mb40  { margin-bottom:  40px !important; }
.mb50  { margin-bottom:  50px !important; }
.mb60  { margin-bottom:  60px !important; }
.mb70  { margin-bottom:  70px !important; }
.mb80  { margin-bottom:  80px !important; }
.mb90  { margin-bottom:  90px !important; }
.mb100 { margin-bottom: 100px !important; }


/* ============================================
   ヘッダー
============================================ */
.site_header {
	display: block !important;
	visibility: visible !important;
	background: #fff !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	z-index: 9999 !important;
	border-bottom: 1px solid #e0e0e0;
}

/* WordPress 管理バー対応 */
body.admin-bar .site_header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site_header {
		top: 46px !important;
	}
}


.header_inner {
	display: flex;
	align-items: center;
	height: 80px;
	padding: 0 0 0 20px;
}

/* ロゴ */
.header_logo {
	flex-shrink: 0;
	margin-right: 30px;
}

.header_logo a {
	display: block;
}

.header_logo img {
	height: 48px;
	width: auto;
}

/* PCナビ */
.gnavi {
	flex: 1;
}

.nav_list {
	display: flex;
	gap: 0;
}

.nav_item a {
	display: block;
	padding: 8px 14px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
	white-space: nowrap;
	position: relative;
}

.nav_item a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: #009c55;
	transition: width 0.3s ease;
}

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

.nav_item a:hover::after {
	width: calc(100% - 28px);
}

/* ============================================
   ドロップダウンサブメニュー（PCナビ）
============================================ */
.nav_item--has_sub {
	position: relative;
}

/* 親リンクの右に小さい▼マーク */
.nav_item--has_sub > a {
	padding-right: 24px;
}

.nav_item--has_sub > a::before {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	opacity: 0.55;
	transition: opacity 0.3s, transform 0.3s;
}

.nav_item--has_sub:hover > a::before {
	opacity: 1;
	transform: translateY(-30%) rotate(45deg);
}

/* サブメニュー本体 */
.nav_submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	min-width: 240px;
	border: 1px solid #e6e3dc;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	padding: 8px 0;
	z-index: 100;
	list-style: none;
	margin: 0;
}

.nav_item--has_sub:hover .nav_submenu,
.nav_item--has_sub:focus-within .nav_submenu {
	display: block;
}

.nav_submenu_item {
	list-style: none;
}

.nav_submenu_item a {
	display: block;
	padding: 12px 22px;
	font-size: 0.9rem;
	font-weight: 400;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}

.nav_submenu_item a::after {
	display: none; /* 親リンクの下線エフェクトを子に継承させない */
}

.nav_submenu_item a:hover {
	background: #f4fcf0;
	color: #009c55;
}

/* PC右側：電話＋お問い合わせ */
.header_contact {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* 電話（PCはspan・クリック無効、SPはheader_sp_telで対応） */
.header_tel {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 20px;
	color: #333;
	white-space: nowrap;
	cursor: default;
}

.header_tel_icon {
	width: 20px;
	height: auto;
}

.header_tel_num {
	font-size: 1.125rem;
	font-weight: 700;
	color: #009c55;
}

/* お問い合わせボタン：アイコン上・テキスト下の縦並び */
.header_contact_btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 80px;
	padding: 0 22px;
	background: #009c55;
	color: #fff;
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.3s;
}

.header_contact_btn:hover {
	background: #007a42;
	color: #fff;
}

.header_contact_icon {
	width: 22px;
	height: auto;
}

/* ハンバーガー（SP用・PC時は非表示） */
.hamburger {
	display: none;
}

/* SP右側ボタン（PC時は非表示） */
.header_sp_contact {
	display: none;
}

/* SPナビ */
.gnavi_sp {
	display: none;
	position: fixed;
	top: 60px;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 9998;
	border-top: 1px solid #e0e0e0;
}

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

.gnavi_sp .nav_list {
	display: flex;
	flex-direction: column;
}

.gnavi_sp .nav_item {
	border-bottom: 1px solid #e0e0e0;
}

.gnavi_sp .nav_item a {
	display: block;
	padding: 16px 5%;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #333;
	text-decoration: none;
}

.gnavi_sp .nav_item a:hover {
	color: #009c55;
}

/* SPナビ：サブメニューはインデントで常時表示 */
.gnavi_sp .nav_submenu {
	display: block;
	position: static;
	transform: none;
	background: #fafafa;
	border: none;
	box-shadow: none;
	min-width: auto;
	padding: 0;
	margin: 0;
}

.gnavi_sp .nav_submenu_item {
	border-bottom: 1px solid #e6e3dc;
}

.gnavi_sp .nav_submenu_item:last-child {
	border-bottom: none;
}

.gnavi_sp .nav_submenu_item a {
	display: block;
	padding: 14px 5% 14px calc(5% + 20px);
	font-size: 0.875rem;
	color: #666;
	white-space: normal;
}

.gnavi_sp .nav_submenu_item a::before {
	content: '└ ';
	margin-right: 6px;
	color: #999;
}

/* SPでは親リンクの▼マークは非表示（インデントで分かる） */
.gnavi_sp .nav_item--has_sub > a::before {
	display: none;
}

.gnavi_sp .nav_item--has_sub > a {
	padding-right: 5%;
}

/* main上部余白（PC） */
@media screen and (min-width: 769px) {
	main {
		margin-top: 80px;
	}
}


/* ============================================
   ヘッダー SP
============================================ */
@media screen and (max-width: 768px) {
	.site_header {
		height: 60px;
	}

	.header_inner {
		height: 60px;
		padding: 0;
		justify-content: space-between;
	}

	/* ロゴ中央 */
	.header_logo {
		position: absolute;
		left: 41%;
		transform: translateX(-50%);
		margin-right: 0;
	}

	.header_logo img {
		height: 36px;
	}

	/* PCナビ非表示 */
	.gnavi {
		display: none;
	}

	/* PC電話＋問い合わせ非表示 */
	.header_contact {
		display: none;
	}

	/* ハンバーガー表示 */
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 60px;
		height: 60px;
		padding: 0 18px;
		cursor: pointer;
		flex-shrink: 0;
	}

	.hamburger_line {
		display: block;
		width: 24px;
		height: 2px;
		background: #333;
		border-radius: 2px;
		transition: all 0.3s;
	}

	.hamburger.is-open .hamburger_line--top {
		transform: translateY(8px) rotate(45deg);
	}
	.hamburger.is-open .hamburger_line--mid {
		opacity: 0;
		width: 0;
		transform: scaleX(0);
	}
	.hamburger.is-open .hamburger_line--btm {
		transform: translateY(-8px) rotate(-45deg);
	}

	/* SP右側ボタン表示 */
	.header_sp_contact {
		display: flex;
		align-items: center;
		flex-shrink: 0;
	}

	.header_sp_tel {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 50px;
		height: 60px;
		background: #e9f7ed;
		text-decoration: none;
	}

	.header_sp_tel img {
		width: 22px;
		height: auto;
	}

	.header_sp_mail {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 50px;
		height: 60px;
		background: #009c55;
		text-decoration: none;
	}

	.header_sp_mail img {
		width: 22px;
		height: auto;
	}

	main {
		margin-top: 60px;
	}
}


/* ============================================
   フッター CTAエリア
============================================ */
.footer_cta {
	position: relative;
	background: url(../images/common_bg_footer.png) no-repeat center center;
	background-size: cover;
	padding: 80px 20px 100px;
	text-align: center;
	overflow: hidden;
}

.footer_cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 100, 60, 0.8);
}

.footer_cta_inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
}

.footer_cta_title {
	font-family: "Noto Serif JP", serif;
	font-size: 2.5rem;
	font-weight: 400;
	color: #fff;
	margin-bottom: 24px;
	letter-spacing: 0.05em;
}

.footer_cta_lead {
	font-size: 1rem;
	color: #fff;
	line-height: 2;
	margin-bottom: 50px;
	letter-spacing: 0.03em;
}

/* 枠囲みボックス */
.footer_cta_box {
	border: 1px solid rgba(255, 255, 255, 0.6);
	padding: 40px 50px 50px;
	text-align: left;
}

.footer_cta_box_lead {
	font-size: 1.125rem;
	color: #fff;
	margin-bottom: 36px;
	letter-spacing: 0.03em;
	line-height: 1.8;
	text-align: center;
}

/* メール・電話 横並び */
.footer_cta_contact {
	display: flex;
	gap: 0;
}

/* メールボタン */
.footer_cta_mail {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex: 1;
	background: #009c55;
	color: #fff;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 40px 20px;
	letter-spacing: 0.05em;
	transition: background 0.3s;
}

.footer_cta_mail:hover {
	background: #007a42;
	color: #fff;
}

/* 電話エリア */
.footer_cta_tel {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #f5f5e8;
	padding: 30px 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer_cta_tel_num {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 2rem;
	font-weight: 700;
	color: #009c55;
	margin-bottom: 8px;
	letter-spacing: 0.05em;
	text-decoration: none;
	pointer-events: none;
}

.footer_cta_tel_hours {
	font-size: 0.875rem;
	color: #555;
	margin-bottom: 4px;
}

.footer_cta_tel_note {
	font-size: 0.8125rem;
	color: #777;
}

.footer_cta_icon {
	width: 28px;
	height: auto;
	flex-shrink: 0;
}


/* ============================================
   フッターナビ
============================================ */
.footer_nav_area {
	background: #009c55;
	padding: 40px 20px;
	border-bottom: 2px solid #1fb06e;
}

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

.footer_nav_list {
	display: flex;
	justify-content: center;
	gap: 0;
	flex-wrap: wrap;
}

.footer_nav_item a {
	display: block;
	padding: 8px 24px;
	font-size: 0.9375rem;
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.3s;
}

.footer_nav_item a:hover {
	opacity: 0.7;
	color: #fff;
}


/* ============================================
   フッター下部
============================================ */
.footer_bottom {
	background: #009c55;
	padding: 36px 20px;
}

.footer_bottom_inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.footer_company {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.footer_address,
.footer_tel {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
}

.footer_copy {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
}


/* ============================================
   フッター SP
============================================ */
@media screen and (max-width: 768px) {
	.footer_cta {
		padding: 60px 5% 70px;
	}

	.footer_cta_title {
		font-size: 6.5vw;
		margin-bottom: 20px;
	}

	.footer_cta_lead {
		font-size: 3.6vw;
		margin-bottom: 36px;
	}

	.footer_cta_box {
		padding: 24px 20px 30px;
	}

	.footer_cta_box_lead {
		font-size: 3.8vw;
		margin-bottom: 24px;
	}

	.footer_cta_contact {
		flex-direction: column;
		gap: 0;
	}

	.footer_cta_mail {
		font-size: 4.5vw;
		padding: 28px 16px;
		gap: 12px;
	}

	.footer_cta_tel {
		padding: 24px 16px;
	}

	.footer_cta_tel_num {
		font-size: 6vw;
		pointer-events: auto;
	}

	.footer_cta_tel_hours {
		font-size: 3.2vw;
	}

	.footer_cta_tel_note {
		font-size: 3vw;
		text-align: center;
	}

	.footer_cta_icon {
		width: 22px;
	}

	.footer_nav_area {
		padding: 30px 5%;
	}

	.footer_nav_list {
		flex-direction: column;
		gap: 0;
	}

	.footer_nav_item {
		border-bottom: 2px solid #1fb06e;
	}

	.footer_nav_item a {
		padding: 14px 0;
		font-size: 4vw;
	}

	.footer_bottom {
		padding: 30px 5% 86px;
	}

	.footer_bottom_inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.footer_company {
		font-size: 4vw;
	}

	.footer_address,
	.footer_tel {
		font-size: 3.4vw;
	}

	.footer_copy {
		font-size: 3vw;
	}
}


/* ============================================
   ボタン共通
============================================ */
.tmpl_btn_primary,
.tmpl_btn_secondary,
.tmpl_btn_large {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.05em;
	transition: background 0.3s, color 0.3s, opacity 0.3s;
	cursor: pointer;
}

/* プライマリ：緑塗り・白文字 */
.tmpl_btn_primary {
	background: #009c55;
	color: #fff;
	border: 1px solid transparent;
	padding: 16px 48px;
	font-size: 1rem;
}

.tmpl_btn_primary:hover {
	background: #007a42;
	color: #fff;
}

/* セカンダリ：薄緑背景・緑文字 */
.tmpl_btn_secondary {
	background: #e8f7ee;
	color: #009c55;
	border: 1px solid transparent;
	padding: 16px 48px;
	font-size: 1rem;
}

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

/* 大サイズ修飾子 */
.tmpl_btn_large {
	background: #009c55;
	color: #fff;
	border: 1px solid transparent;
	padding: 28px 0;
	font-size: 1.375rem;
	width: 43%;
}

.tmpl_btn_large:hover {
	background: #007a42;
	color: #fff;
}

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

	.tmpl_btn_large {
		padding: 20px 40px;
		font-size: 5vw;
		width: 100%;
	}
}


/* ============================================
   Gutenberg wp:button ブロック スタイル上書き
   WordPressデフォルト（黒丸ボタン）を各カスタムクラスで上書き
============================================ */

/* --- 共通リセット --- */
.wp-block-button.tmpl_btn_primary  > .wp-block-button__link,
.wp-block-button.tmpl_btn_secondary > .wp-block-button__link,
.wp-block-button.tmpl_btn_large    > .wp-block-button__link,
.wp-block-button.tmpl_btn_ghost    > .wp-block-button__link,
.wp-block-button.customer_btn      > .wp-block-button__link,
.wp-block-button.tmpl_card_btn     > .wp-block-button__link,
.wp-block-button.info_btn          > .wp-block-button__link {
	border-radius: 4px;
	font-weight: 700;
	font-family: inherit;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}

/* --- tmpl_btn_primary（塗りつぶし・緑） --- */
.wp-block-button.tmpl_btn_primary > .wp-block-button__link {
	background-color: #009c55;
	color: #fff;
	border: 2px solid #009c55;
	padding: 16px 48px;
	font-size: 1rem;
}
.wp-block-button.tmpl_btn_primary > .wp-block-button__link:hover {
	background-color: #007a42;
	border-color: #007a42;
	color: #fff;
}

/* --- tmpl_btn_secondary（アウトライン・緑） --- */
.wp-block-button.tmpl_btn_secondary > .wp-block-button__link {
	background-color: #fff;
	color: #009c55;
	border: 2px solid #009c55;
	padding: 10px 24px;
	font-size: 1rem;
}
.wp-block-button.tmpl_btn_secondary > .wp-block-button__link:hover {
	background-color: #009c55;
	color: #fff;
}

/* --- tmpl_btn_large（大サイズ・緑） --- */
.wp-block-button.tmpl_btn_large > .wp-block-button__link {
	background-color: #009c55;
	color: #fff;
	border: 2px solid #009c55;
	padding: 20px 64px;
	font-size: 1.25rem;
}
.wp-block-button.tmpl_btn_large > .wp-block-button__link:hover {
	background-color: #007a42;
	border-color: #007a42;
	color: #fff;
}

/* --- tmpl_btn_ghost（アウトライン・白地） --- */
.wp-block-button.tmpl_btn_ghost > .wp-block-button__link {
	background-color: #fff;
	color: #009c55;
	border: 2px solid #009c55;
	padding: 12px 32px;
	font-size: 1rem;
}
.wp-block-button.tmpl_btn_ghost > .wp-block-button__link:hover {
	background-color: #009c55;
	color: #fff;
}

/* --- customer_btn（ターゲット別ガイドのボタン） --- */
.wp-block-button.customer_btn > .wp-block-button__link {
	background-color: transparent;
	color: #009c55;
	border: 2px solid #009c55;
	padding: 14px 32px;
	font-size: 1rem;
	display: block;
	text-align: center;
	width: 100%;
}
.wp-block-button.customer_btn > .wp-block-button__link:hover {
	background-color: #009c55;
	color: #fff;
}

/* --- info_btn（お役立ち情報「すべて見る」） --- */
.wp-block-button.info_btn > .wp-block-button__link {
	background-color: #009c55;
	color: #fff;
	border: 2px solid #009c55;
	padding: 16px 48px;
	font-size: 1rem;
}
.wp-block-button.info_btn > .wp-block-button__link:hover {
	background-color: #007a42;
	border-color: #007a42;
	color: #fff;
}

/* --- tmpl_card_btn（カード内ボタン） --- */
.wp-block-button.tmpl_card_btn > .wp-block-button__link {
	background-color: transparent;
	color: #009c55;
	border: 2px solid #009c55;
	padding: 10px 20px;
	font-size: 0.875rem;
}
.wp-block-button.tmpl_card_btn > .wp-block-button__link:hover {
	background-color: #009c55;
	color: #fff;
}

/* --- ボタン中央寄せ（tmpl_btn_wrap内） --- */
.tmpl_btn_wrap .wp-block-buttons {
	justify-content: center;
}
