@charset "utf-8";
/* 共通スタイル */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.post,
.page {
  margin-bottom: 0 !important;
}

html {
	font-size: 16px;
	overscroll-behavior: none;
}
body {
	font-size: 1rem;
	line-height: 1.6;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	background-color: #FFF;
	color: #000;
	padding-top: 82px;
}

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

a, a:visited {
	color: #000;
	text-decoration: none;
}

ul, ol {
	list-style: none;
}

main {
	background-color: #FFF;
}

/* コンテナ（幅制限＋中央寄せ） */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}
.align-center {
    text-align: center;
}

/* グリッドレイアウト（商品一覧等） */
.grid {
	display: grid;
	gap: 1rem;
}

/* ヘッダー */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 82px;
	background-color: #fff;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.head_line {
    background-color: #73bb2a;
    height: 12px;
}

.logo {
	height: 40px;
	width: 374px;
	margin: 15px 0 0;
}

.site-nav .sns-group {
	text-align: center;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 15px;
}

.site-nav .sns-group a {
	display: inline-block;
	margin: 0 0.5rem;
}

.site-nav {
	margin-top: 15px;
}

.site-nav ul {
	display: flex;
	justify-content: flex-end;
	gap: 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-nav li {
	display: flex;
	align-items: center;
}

.has-submenu {
	position: relative;
}

.has-submenu .submenu {
	position: absolute;
	top: 100%;
	left: -50px;
	background: #fff;
	min-width: 180px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	display: none;
	z-index: 100;
}

.has-submenu:hover .submenu {
	display: block;
}

.submenu li {
	border-bottom: 1px solid #eee;
	transition: background 0.3s;
}

.submenu li:hover {
	background-color: #f0f0f0;
}

.submenu li a {
	display: block;
	width: 100%;
	padding: 0.8rem 1rem;
	white-space: nowrap;
	text-decoration: none;
	color: #333;
}

/*　ページタイトル　*/
.containts_head_line {
    background-color: #73bb2a;
	height: 80px;
	padding-top: 18px;
}

.containts_header {
	color: #FFF;
	letter-spacing: 0.2em;
	font-size: 1.6rem;
	margin: 0;
}

/* お問い合わせフォーム　*/
.contact_sub {
    max-width: 700px;
    margin: auto;
}
.contact-section {
  background: #fff;
  padding: 4rem 0;
}
.contact-form {
  max-width: 700px;
  margin: 80px auto;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .form-submit {
  text-align: center;
}

/*　フッター　*/

.page-top {
  position: sticky;
  bottom: 0;
  width: 100%;
  height: 0;
  z-index: 1000;
  pointer-events: none;
}

.page-top__btn{
  position: absolute;
  right: 50px;
  bottom: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
}

.page-top__btn img {
  width: 120px;
  height: auto;
}

.site-footer {
	background-color: #f5f5f5;
	font-size: 0.9rem;
	color: #333;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
	padding: 2rem 1rem 4rem;
}

.footer-brand {
	flex: 1 1 250px;
}

.footer-brand img {
	width: 120px;
	margin-bottom: 1rem;
}

.footer-nav {
	display: flex;
	flex: 1 1 auto;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 5rem;
}

.footer-col h4 {
	color: #00a73b;
	font-size: 1rem;
	margin-bottom: 0.7rem;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 0.4rem;
}

.footer-col ul li a {
	text-decoration: none;
	color: #333;
}

.footer-bottom {
	background-color: #73ba2b;
	text-align: center;
	color: #fff;
	font-size: 0.8rem;
	padding: 1rem;
}

.footer-bottom p {
	margin-bottom: 0!important;
}

.footer-sns {
	display: flex;
}

.footer-sns a {
	display: inline-block;
	margin: 0 0.5rem;
}

.footer-sns img {
	width: 40px;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
}

.grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

.flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.section-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 2rem;
	text-align: center;
	color: #006bae;
	border-top: solid 2px #006bae;
	border-bottom:  solid 2px #006bae;
	padding: 3px 20px;
	display: inline-block;
	min-width: 250px;
}

/* レスポンシブ構造基礎 */

@media (max-width: 768px) {
	
	body {
		padding-top: 60px;
	}
	
	h2 {
		padding: 2px 15px;
	}
	
	.section-title {
		font-size: 1.2rem;
		margin-bottom: 1.5rem;
	}
	
	.text-block {
		display: inline-block;
	}
	
	.flex {
		flex-direction: column;
		gap: 1rem;
	}
	
	.site-header {
		height: 60px;
	}
	
	.logo {
		height: 30px;
		width: 280px;
		margin-top: 8px;
	}

	.site-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		transform: translateY(-120%);
		transition: transform 0.3s ease;
		z-index: 1050;
		padding: 1rem 2rem 5rem;
		overflow-y: auto;
	}

	.site-nav.open {
		display: block;
		transform: translateY(0);
		background: #fff;
	}

	.site-nav ul {
		display: flex;
		flex-direction: column;
		gap: 0.2rem;
	}

	.site-nav li {
		display: block;
		width: 100%;
		padding: 0.5rem 1rem;
		border-bottom: 1px solid #ccc;
	}
	
	.site-nav a {
		display: block;
		padding: 0.5rem 0;
	}
	
	.site-nav ul li a {
		font-size: 1.1rem;
		color: #333;
		text-decoration: none;
	}

	.site-nav .submenu {
		position: inherit;
		display: block;
		margin-left: 3rem;
		margin-top: 0.3rem;
		box-shadow: none;
	}
	
	.site-nav .submenu li {
		border-bottom: none;
	}

	.site-nav .submenu li a {
		font-size: 0.95rem;
		padding: 0 1rem;
	}
	
/*	ハンバーガーボタン　*/
	
	.nav-toggle {
		display: block;
		width: 24px;
		height: auto;
		background: none;
		border: none;
		cursor: pointer;
		z-index: 1100;
		margin-top: 5px;
	}

	.nav-toggle .bar {
		display: block;
		width: 24px;
		height: 3px;
		margin-bottom: 4px;
		background: #333;
		border-radius: 2px;
	}
	
	.containts_head_line {
		height: 60px;
		padding-top: 10px;
	}
	
	.containts_header {
		margin: 0 !important;
	}
	
/* フッター　*/
	
    .page-top__btn {
        right: 20px;
    }
    
	.footer-inner {
		flex-direction: column;
		align-items: center;
	}

	.footer-nav {
		display: block;
		padding: 2rem;
	}

	.footer-col {
		display: block;
	}
}
