/* =========================================================
   Husky Goods Shop — main.css
   モダンな犬用グッズ EC テーマ
   ========================================================= */

:root {
	--bg:        #ffffff;
	--surface:   #f4f7fb;
	--surface-2: #eaeff6;
	--ink:       #1a2230;
	--ink-soft:  #3a4658;
	--muted:     #6b7688;
	--line:      #e3e9f1;
	--accent:    #2f80ed;   /* ハスキーの瞳のアイスブルー */
	--accent-2:  #56ccf2;
	--accent-ink:#1e63c4;
	--warm:      #ff7a45;   /* セール・バッジ */
	--radius:    18px;
	--radius-sm: 12px;
	--radius-pill: 999px;
	--shadow:    0 10px 30px rgba(26, 34, 48, .08);
	--shadow-lg: 0 24px 60px rgba(26, 34, 48, .14);
	--container: 1160px;
	--font-head: "Poppins", "Noto Sans JP", system-ui, sans-serif;
	--font-body: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1,h2,h3 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); font-weight: 700; }

.container {
	width: min(100% - 40px, var(--container));
	margin-inline: auto;
}
.container--narrow { width: min(100% - 40px, 760px); }

.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: .18em;
	font-size: .72rem;
	color: var(--accent-ink);
	background: linear-gradient(120deg, var(--surface), var(--surface-2));
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	margin-bottom: 16px;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem;
	padding: 12px 22px; border-radius: var(--radius-pill);
	cursor: pointer; border: 2px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.btn--buy {
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
	color: #fff; box-shadow: 0 8px 20px rgba(47,128,237,.28);
}
.btn--buy:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47,128,237,.38); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn--pill { background: var(--ink); color: #fff; padding: 10px 18px; font-size: .88rem; }
.btn--pill:hover { background: var(--accent-ink); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--disabled {
	background: var(--surface-2); color: var(--muted); cursor: not-allowed;
	border-color: transparent;
}

/* ---------- ヘッダー ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.82);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex; align-items: center; gap: 24px;
	min-height: 74px;
}
.brand__link { display: flex; align-items: center; gap: 12px; }
.brand__mark {
	display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 14px;
	background: var(--surface); flex: none;
}
.brand__text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; display: block; letter-spacing: .01em; }
.brand__text small { color: var(--muted); font-size: .7rem; display: block; margin-top: -2px; }

.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; }
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
	background: var(--accent); transition: width .2s ease;
}
.site-nav__list a:hover { color: var(--accent-ink); }
.site-nav__list a:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 22px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; background:
	radial-gradient(1000px 500px at 85% -10%, rgba(86,204,242,.18), transparent 60%),
	radial-gradient(700px 400px at 5% 110%, rgba(47,128,237,.12), transparent 60%),
	var(--bg);
}
.hero__inner {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
	padding: clamp(40px, 7vw, 96px) 0;
}
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 0 0 20px; letter-spacing: .01em; }
.hero__accent { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 520px; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9rem; }

.hero__visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.hero__blob {
	position: absolute; inset: 6%;
	background: linear-gradient(150deg, var(--accent), var(--accent-2));
	border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
	filter: blur(2px); opacity: .16;
	animation: blob 12s ease-in-out infinite;
}
.hero__husky {
	position: relative; width: 74%;
	filter: drop-shadow(0 24px 40px rgba(26,34,48,.18));
	animation: floaty 6s ease-in-out infinite;
}
.hero__chip {
	position: absolute; background: #fff; box-shadow: var(--shadow);
	padding: 10px 16px; border-radius: var(--radius-pill);
	font-size: .85rem; font-weight: 600; font-family: var(--font-head);
}
.hero__chip--1 { top: 12%; left: -2%; animation: floaty 5s ease-in-out infinite; }
.hero__chip--2 { bottom: 14%; right: -4%; animation: floaty 7s ease-in-out infinite reverse; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blob { 0%,100% { border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%; } 50% { border-radius: 56% 44% 43% 57% / 42% 56% 44% 58%; } }

/* ---------- トラストバー ---------- */
.trust-bar { border-block: 1px solid var(--line); background: var(--surface); }
.trust-bar__inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 22px 0; }
.trust-bar__item { display: flex; align-items: center; gap: 12px; }
.trust-bar__item span { font-size: 1.5rem; }
.trust-bar__item strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.trust-bar__item small { color: var(--muted); font-size: .8rem; }

/* ---------- セクション共通 ---------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }
.section-foot { text-align: center; margin-top: 44px; }
.notice { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- 商品グリッド / カード ---------- */
.product-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.product-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__media {
	position: relative; display: block; aspect-ratio: 1/1; overflow: hidden;
	background: linear-gradient(150deg, var(--surface), var(--surface-2));
}
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: .5; }
.badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--warm); color: #fff; font-family: var(--font-head); font-weight: 600;
	font-size: .72rem; padding: 5px 12px; border-radius: var(--radius-pill);
	box-shadow: 0 6px 14px rgba(255,122,69,.3);
}
.badge--out { background: var(--ink); left: auto; right: 12px; box-shadow: none; }
.badge--float { top: 18px; left: 18px; }
.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: .74rem; color: var(--accent-ink); font-weight: 600; letter-spacing: .04em; }
.product-card__title { font-size: 1.02rem; margin: 0; line-height: 1.45; }
.product-card__title a:hover { color: var(--accent-ink); }
.product-card__meta { margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.price del { color: var(--muted); font-weight: 500; font-size: .95rem; margin-right: 6px; }
.price ins { color: var(--warm); text-decoration: none; }
.product-card .btn { margin-top: 6px; }

/* ---------- カテゴリー ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.category-card {
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 20px; transition: .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.category-card__icon { color: var(--accent); }
.category-card__icon svg { width: 40px; height: 40px; }
.category-card__name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.category-card__count { color: var(--muted); font-size: .8rem; }

/* ---------- About ---------- */
.about-section { background: var(--surface); }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.about__media { position: relative; }
.about__photo {
	aspect-ratio: 4/3; border-radius: var(--radius);
	background:
		radial-gradient(circle at 30% 30%, var(--accent-2), transparent 55%),
		linear-gradient(150deg, var(--accent), var(--accent-ink));
	display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about__paw { color: rgba(255,255,255,.6); }
.about__paw svg { width: 90px; height: 90px; }
.about__stats {
	display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
	position: absolute; left: 20px; right: 20px; bottom: -32px;
}
.about__stats > div {
	background: #fff; border-radius: var(--radius-sm); padding: 14px 10px; text-align: center;
	box-shadow: var(--shadow);
}
.about__stats strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--accent-ink); }
.about__stats small { color: var(--muted); font-size: .74rem; }
.about__copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; }
.about__copy p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- CTA バンド ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink), #223049); color: #fff; }
.cta-band__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	padding: clamp(40px, 6vw, 68px) 0;
}
.cta-band__copy h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 8px; }
.cta-band__copy p { color: rgba(255,255,255,.75); margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- フッター ---------- */
.site-footer { background: #0f1720; color: rgba(255,255,255,.72); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 56px 0 40px; }
.site-footer__brand strong { font-family: var(--font-head); color: #fff; font-size: 1.2rem; }
.site-footer__brand p { margin: 8px 0; font-size: .9rem; }
.site-footer__pay { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.pay-badge { background: var(--accent); color: #fff; font-weight: 600; font-size: .78rem; padding: 5px 12px; border-radius: var(--radius-pill); font-family: var(--font-head); }
.site-footer__list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.site-footer__list a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.site-footer__bottom small { color: rgba(255,255,255,.5); }

/* ---------- ページヒーロー ---------- */
.page-hero { background: var(--surface); padding: clamp(40px, 6vw, 72px) 0 clamp(30px,4vw,48px); text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.page-hero p { color: var(--muted); margin: 0; }

/* ---------- ショップフィルター ---------- */
.shop-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip {
	border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
	padding: 8px 18px; border-radius: var(--radius-pill); font-size: .88rem; font-weight: 500;
	transition: .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- ページネーション ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-family: var(--font-head);
}
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination a:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- 商品詳細 ---------- */
.single-product { padding: clamp(36px, 6vw, 72px) 0; }
.single-product__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.single-product__gallery {
	position: relative; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(150deg, var(--surface), var(--surface-2));
	box-shadow: var(--shadow); aspect-ratio: 1/1;
}
.single-product__img { width: 100%; height: 100%; object-fit: cover; }
.single-product__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: .45; }
.single-product__placeholder svg { width: 110px; height: 110px; }
.single-product__cat { color: var(--accent-ink); font-weight: 600; font-size: .85rem; }
.single-product__title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 10px 0 16px; }
.single-product__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.single-product__price .price { font-size: 1.9rem; }
.single-product__price small { color: var(--muted); }
.single-product__desc { color: var(--ink-soft); margin-bottom: 26px; }
.single-product__buy { padding: 22px; background: var(--surface); border-radius: var(--radius); margin-bottom: 22px; }
.single-product__note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.single-product__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; color: var(--ink-soft); }

/* ---------- ブログカード ---------- */
.post-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px; }
.post-card__date { color: var(--muted); font-size: .78rem; }
.post-card__title { font-size: 1.1rem; margin: 6px 0 10px; }

/* ---------- entry ---------- */
.entry-content { line-height: 1.9; }
.entry-content h2 { margin-top: 2em; }
.entry-content img { border-radius: var(--radius-sm); margin: 1em 0; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; }
.error-404__paw { color: var(--accent); opacity: .5; display: inline-block; }
.error-404__paw svg { width: 80px; height: 80px; }
.error-404 h1 { margin: 10px 0; }
.error-404 p { color: var(--muted); }
.error-404 .btn { margin: 6px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { order: -1; max-width: 380px; margin-inline: auto; }
	.trust-bar__inner { grid-template-columns: repeat(2,1fr); }
	.about__inner { grid-template-columns: 1fr; }
	.about__stats { position: static; margin-top: 20px; }
	.single-product__inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 780px) {
	.site-nav {
		position: fixed; inset: 74px 0 auto 0; background: #fff;
		border-bottom: 1px solid var(--line);
		transform: translateY(-120%); transition: transform .3s ease; margin: 0;
		box-shadow: var(--shadow);
	}
	.site-nav.is-open { transform: translateY(0); }
	.site-nav__list { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
	.site-nav__list li { border-bottom: 1px solid var(--line); }
	.site-nav__list a { display: block; padding: 14px 0; }
	.site-nav__list a::after { display: none; }
	.nav-toggle { display: block; }
	.site-header__inner { justify-content: space-between; }
	.product-grid, .category-grid, .post-list { grid-template-columns: repeat(2,1fr); gap: 16px; }
	.cta-band__inner { flex-direction: column; text-align: center; }
	.cta-band__actions { justify-content: center; }
}

@media (max-width: 520px) {
	.product-grid, .category-grid, .post-list { grid-template-columns: 1fr; }
	.trust-bar__inner { grid-template-columns: 1fr; }
	.hero__chip { display: none; }
	.btn--lg { width: 100%; }
	.hero__actions .btn { width: 100%; }
}

/* アクセシビリティ: モーション軽減 */
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; scroll-behavior: auto !important; }
}
