@charset "utf-8";

/* 共通の設定 */
html {
	font-size: 16px;
}

body {
	margin: auto;
	font-family: 'Zen Maru Gothic', 'Nunito', 'Sawarabi Gothic', sans-serif;
	background-color: #FEFEFB;
	font-weight: 400;
	color: #15310F;
	font-size: 16px;
}

main {
	margin-top: 47px;
}

.inner {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.wrapper {
	text-align: center;
	width: 100%;
}

/* ここからヘッダーの設定 */
.header {
	width: 100%;
	background-color: #4BA037;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1px 12px;
	color: white;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	gap: 12px;
}

.logo-area {
	display: flex;
	align-items: center;
}

.logo {
	width: 40px;
	height: auto;
}

.title-text {
	flex-direction: column;
	text-align: center;
}

.title-text .jp-title {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
	font-family: 'Sawarabi Gothic', sans-serif;
}

.title-text .en-title {
	font-size: 12px;
	margin: 0;
	font-family: 'Nunito', sans-serif;
	opacity: 0.8;
}

/* ハンバーガーメニュー（モバイル表示） */
.hbg {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
}

.hbg span {
	display: block;
	height: 3px;
	background-color: white;
	border-radius: 2px;
}

/* ナビゲーション（モバイルでは非表示） */
.main-nav {
	margin-left: auto
}

/* pc */
@media (min-width: 768px) {
	.title-text {
		text-align: left;
		align-items: flex-start
	}

	/* PCではハンバーガー非表示 */
	.hbg {
		display: none;
	}

	.main-nav {
		display: block;
	}

	.main-nav ul {
		display: flex;
		gap: 24px;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.main-nav a {
		color: white;
		text-decoration: none;
		font-size: 14px;
		transition: opacity 0.3s;
	}

	.main-nav a:hover {
		opacity: 0.7;
	}
}

/* ハンバーガーメニューのアニメーション */
.hbg {
	transition: transform 0.3s ease;
}

.hbg.active span:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.hbg.active span:nth-child(2) {
	opacity: 0;
}

.hbg.active span:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

.hbg span {
	transition: all 0.3s ease;
}

/* モバイルメニューのスタイル */
.main-nav {
	position: fixed;
	top: 47px;
	right: -100%;
	width: 240px;
	height: auto;
	background-color: #4BA037;
	transition: right 0.3s ease;
	overflow-y: auto;
	z-index: 99;
}

.main-nav.open {
	right: 0;
}

.main-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-nav ul li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav ul li a {
	display: block;
	color: white;
	text-decoration: none;
	padding: 20px;
	font-size: 16px;
	transition: background-color 0.3s;
}

.main-nav ul li a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* メニューが開いている時のオーバーレイ */
body.menu-open::before {
	content: "";
	position: fixed;
	top: 47px;
	left: 0;
	width: 100%;
	height: calc(100vh - 47px);
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 98;
}

/* PC表示時は既存のスタイルを維持 */
@media (min-width: 768px) {
	.main-nav {
		position: static;
		width: auto;
		height: auto;
		background-color: transparent;
	}

	.main-nav ul {
		display: flex;
	}

	.main-nav ul li {
		border-bottom: none;
	}

	.main-nav ul li a {
		padding: 0;
	}

	body.menu-open::before {
		display: none;
	}
}

/* ここまでヘッダーの設定 */

/* ここからメインビジュアルの設定 */
.mainvisual {
	position: relative;
	width: 100%;
	height: 80vh;
	background-image: url("../img/FV-.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;

}

.mainvisual-text {
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
	text-shadow: 4px 2px 6px rgba(0, 0, 0, 0.8);
	padding: 0 20px;
	text-align: center;
	line-height: 1.5;
}

/* カートボタン */
.cart-btn {
	position: fixed;
	z-index: 97;
	bottom: 80px;
	right: 30px;
	transition: transform 0.3s;

}

.cart-btn:hover {
	transform: scale(1.1);

}

.cart-btn img {
	width: 48px;
	height: 48px;
	display: block;

}

/* pc */
@media (min-width: 768px) {
	.mainvisual {
		background-image: url("../img/FV_PC.jpg");
		background-position: top center;
		height: 100dvh;

	}

	.mainvisual-text {
		font-size: 30px;
		position: absolute;
		right: 10%;
		top: 40%;
		transform: translateY(-50%);
		margin-left: 0;
		max-width: 500px;
	}

	/* カートボタン */
	.cart-btn {
		bottom: 250px;
		right: 50px;

	}

	.cart-btn img {
		width: 70px;
		height: 70px;

	}
}

/* ここからAboutの設定 */
.about {
	padding: 40px 20px;
	text-align: center;
	margin-bottom: 40px;
}

.section-title {
	margin-bottom: 15px;
	position: relative;
	text-align: center;
	display: inline-block;


}

.section-title h2 {
	font-size: 40px;
	font-family: "Nunito", sans-serif;
	display: inline-flex;
	align-items: center;
	color: #4BA037;
	margin: 0;
}

.section-title h2::after {
	content: "";
	position: absolute;
	top: 5px;
	right: -10px;
	width: 40px;
	height: 40px;
	background-image: url("../img/nikukyu.png");
	background-size: contain;
}

.section-title p {
	font-size: 20px;
	color: #4BA037;
}

/* 画像部分 */
.about-image img {
	width: 100%;
	max-width: 500px;
	border-radius: 50% 37% 56% 44% / 58% 48% 52% 42%;
	margin: 20px auto;
}

/* テキスト部分 */
.about-text {
	text-align: center;
	margin: 0 auto;
}

.about-text .wrapper {
	font-weight: bold;
	color: #4BA037;
	font-size: 20px;
	width: 100%;
	text-align: center;
}

.about-text p {
	line-height: 1.8;
	margin: 10px 10px;
	font-size: 14px;
	text-align: left;
	display: inline-block;
	max-width: 600px;
}

/* ボタン */
.btn {
	margin-top: 15px;
	display: inline-block;
	background-color: #f7c58e;
	color: #ffffff;
	padding: 10px 24px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	transition: 0.3s;
}

.btn:hover {
	opacity: .7;
}

/* pc */
@media screen and (min-width: 768px) {
	.about {
		text-align: left;
		padding: 0 80px;
		margin-bottom: 50px;
	}

	.about-content {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 40px;
		flex-wrap: wrap;
	}

	.about-image img {
		max-width: 400px;
		margin: 0;
	}

	.about-text {
		text-align: left;
		max-width: 600px;
	}

	.about-text .wrapper {
		text-align: left;
	}

	.about-text p {
		font-size: 16px;
		margin: 10px 0;
	}

	.section-title {
		display: block;
		text-align: left;
		margin-bottom: 40px;
	}

	.section-title h2 {
		justify-content: flex-start;
	}

	.section-title h2::after {
		left: 118px;
	}

	.section-title p {
		text-align: left;
	}
}

/* ここまでAboutの設定 */
/* ここからProductの設定 */
.product {
	padding: 40px 20px;
	text-align: center;
	margin-bottom: 40px;
	background-color: #4BA037;
}

.product .section-title h2 {
	color: #ffffff;
}

.product .section-title h2::after {
	right: -40px;

}

.product .section-title p {
	color: #ffffff;
}

/* 商品ブロック共通 */
.product-block-dog,
.product-block-cat {
	background-color: #FEFEFB;
	border-radius: 12px;
	padding: 20px 0;
	margin-bottom: 40px;
	box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
	text-align: center;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/* 商品タイトル */
.product-block-dog h3,
.product-block-cat h3 {
	font-size: 25px;
	color: #4BA037;
	margin-bottom: 10px;
}

/* サブタイトル */
.subtitle {
	font-size: 15px;
	margin-bottom: 20px;
	color: #555;
}

/* 商品画像 */
.product-block-dog img,
.product-block-cat img {
	width: 100%;
	margin-bottom: 20px;
}

/* ラベル */
.labels {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 20px;
	padding: 0;
	list-style: none;
}

.labels li {
	background-color: #e6f4e6;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 14px;
	color: #4a4a4a;
}

/* 説明文 */
.description {
	font-size: 1rem;
	margin-bottom: 10px;
	color: #555;
}

/* pc */
@media screen and (min-width: 768px) {
	.product {
		padding: 80px 80px;
		text-align: left;
		margin-bottom: 50px;
	}

	.product .section-title h2::after {
		left: 148px;
	}

	.product-blocks {
		display: flex;
		justify-content: center;
		gap: 40px;
		flex-wrap: wrap;
	}

	.product-block-dog,
	.product-block-cat {
		margin: 0;
		flex: 1 1 400px;
		max-width: 100%;
		margin-bottom: 0;
	}

	.product-block-dog img,
	.product-block-cat img {
		max-width: 100%;
		height: auto;
	}

}

/* ここまでProductの設定 */
/* ここからFeatureの設定 */
.feature {
	padding: 40px 20px;
	margin-bottom: 40px;
	text-align: center;
}

.feature .section-title h2::after {
	right: -40px;
}

/* === 各アイテム === */
.feature-item {
	margin-bottom: 30px;
	position: relative;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* 画像部分 */
.feature-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* 数字*/
.feature-number {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 40px;
	font-weight: bold;
	color: #4BA037;
	font-family: "Nunito", sans-serif;
}

/* テキスト */
.feature-item h3 {
	font-size: 20px;
	color: #4BA037;
	margin: 25px 0;
	line-height: 1.4;
}

.feature-item p {
	font-size: 14px;
	line-height: 1.6;
	max-width: 90%;
	margin: 0 auto;
}

/* pc  */
@media screen and (min-width: 768px) {
	.feature {
		padding: 60px 80px;
		text-align: left;
	}

	.feature .section-title h2::after {
		left: 140px;
	}

	.feature-items {
		display: flex;
		justify-content: center;
		gap: 40px;
		flex-wrap: wrap;
	}

	.feature-item {
		max-width: 300px;
		margin: 0;
		text-align: center;
	}

	.feature-item img {
		height: 200px;
	}

	.feature-item p {
		margin: 0;
		max-width: 100%;
	}

	.btn-wrapper {
		text-align: center;
	}

	.btn {
		display: inline-block;
	}
}

/* ここまでFeatureの設定 */
/* ここからonline-shopの設定 */
/* 全体のラッパー */
.online-shop {
	position: relative;
	width: 100%;
	margin: 0 auto;
	display: block;
	margin-bottom: 60px;

}

/* 画像部分 */
.online-shop img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

/* テキスト部分*/
.shop-text {
	text-align: center;
	padding: 20px;
	color: #4BA037;
}

.shop-head {
	font-size: 64px;
	margin-bottom: 10px;
	font-family: "Nunito", sans-serif;
}

.shop-description {
	font-size: 16px;
	margin-bottom: 10px;
}

/* pc  */
@media (min-width: 768px) {

	/* 全体のコンテナ */
	.online-shop {
		margin-bottom: 80px;
	}

	.online-shop-content {
		display: flex;
		align-items: center;
		max-width: 1000px;
		margin: 0 auto;
	}

	/* 画像部分 */
	.online-shop img {
		width: 50%;
		max-width: none;
		margin: 0;
	}

	/* テキスト部分 */
	.shop-text {
		width: 50%;
		text-align: center;
		padding-left: 50px;
	}

	.shop-head {
		font-size: 80px;
	}
}

/* ここからフッターの設定 */
/* フッター全体 */
.footer {
	background-color: #4BA037;
	color: #fff;
	text-align: center;
	padding: 40px 20px;
}

/* ロゴ */
.footer-logo img {
	width: 120px;
	margin-bottom: 20px;
}

/* ナビゲーションリンク */
.footer-nav {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 20px;

}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 20px;
	opacity: 0.8;
}

.footer-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	transition: opacity 0.3s;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	transition: opacity 0.3s;
}

.footer-nav a:hover,
.footer-links a:hover {
	opacity: 0.7;
}

/* SNSアイコン */
.footer-sns {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 20px;
}

.footer-sns img {
	width: 28px;
	height: 28px;
}

.footer-sns::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
	height: 1px;
	background-color: #fefefb75;
}

/* コピーライトと注意書き */
.footer-copyright {
	margin-top: 10px;
}

.footer-copyright small {
	font-size: 11px;
	opacity: 0.8;
	display: block;
	margin: 5px 0;
}

/* レスポンシブ対応 */
@media (min-width: 600px) {

	.footer-nav,
	.footer-links {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.footer-nav a,
	.footer-links a {
		margin: 0 10px;
	}
}


/* アニメーション */
/* ========== フェードインアニメーション ========== */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ========== カートボタンのバウンス ========== */
.cart-btn.bounce {
	animation: bounce 1s ease;
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0) scale(1);
	}

	40% {
		transform: translateY(-15px) scale(1.1);
	}

	60% {
		transform: translateY(-7px) scale(1.05);
	}
}

/* ========== ボタンのホバーエフェクト強化 ========== */
.btn.hover-effect {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(247, 197, 142, 0.4);
}

/* ========== 商品カードのホバーエフェクト ========== */
.product-block-dog,
.product-block-cat {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-block-dog.card-hover,
.product-block-cat.card-hover {
	transform: translateY(-10px);
	box-shadow: 0px 15px 30px -6px rgba(0, 0, 0, 0.3);
}

/* ========== Featureアイテムのアニメーション ========== */
.feature-item {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.animate {
	opacity: 1;
	transform: scale(1);
}

/* ========== 画像の読み込みエフェクト ========== */
.about-image img,
.product-block-dog img,
.product-block-cat img {
	opacity: 0;
	transition: opacity 0.6s ease;
}

.about-image img.loaded,
.product-block-dog img.loaded,
.product-block-cat img.loaded {
	opacity: 1;
}

/* ========== メニュー項目のアニメーション ========== */
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(20px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}