/*
Theme Name: Welcart Basic Child
Theme URI:
Author:
Author URI:
Description: Welcart Basic の子テーマ
Template: welcart_basic
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =Variables
-------------------------------------------------------------- */
:root {
	--color-red:        #B50000;
	--color-red-dark:   #8f0000;
	--color-red-light:  #d40000;
	--color-text:       #333333;
	--color-text-light: #666666;
	--color-muted:      #999999;
	--color-bg:         #ffffff;
	--color-bg-warm:    #f5f0e8;
	--color-border:     #e5ddd0;
	--header-top-h:     64px;
	--header-nav-h:     44px;
	--max-width:        1160px;
	--font-base: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
}

/* =Reset / Base
-------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: 14px;
	line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-red); }

/* 親テーマのデフォルトヘッダー画像を非表示 */
.main-image { display: none !important; }

/* ============================================================
   HEADER
============================================================ */

/* --- 上段（ロゴ・ユーティリティ・カート） --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	border-bottom: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.header-top {
	background: #fff;
}

.header-top-inner {
	display: flex;
	align-items: center;
	padding: 0 24px;
	height: var(--header-top-h);
	gap: 16px;
}

/* ロゴ */
.site-branding { flex-shrink: 0; }

.site-title {
	margin: 0;
	font-size: 0;
	line-height: 0;
}

.site-title a { display: inline-flex; align-items: center; }

/* 親テーマ padding・float・width をリセット */
h1.site-title,
div.site-title {
	padding: 0;
	float: none;
	width: auto;
	font-size: inherit;
	line-height: inherit;
	text-align: left;
}

/* 親テーマ h1.site-title img { width:100%; height:auto } を上書き（詳細度 0,2,2 > 0,1,2） */
h1.site-title img.site-logo,
div.site-title img.site-logo {
	height: 44px;
	width: calc(44px * 29 / 6);
	aspect-ratio: 29 / 6;
	object-fit: contain;
}

/* ユーティリティナビ */
.header-top-right {
	display: flex;
	align-items: center;
	margin-left: auto;
	gap: 8px;
}

.utility-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.utility-nav-list li a {
	display: block;
	padding: 4px 14px;
	font-size: 12px;
	color: var(--color-text-light);
	border-right: 1px solid var(--color-border);
	white-space: nowrap;
	transition: color .2s;
}

.utility-nav-list li:last-child a { border-right: none; }
.utility-nav-list li a:hover { color: var(--color-red); }

/* カートボタン */
.cart-btn-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 175px;
	height: 47px;
	background: #B50000;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	position: relative;
	transition: background .2s;
	white-space: nowrap;
	border-radius: 100vmax;
	flex-shrink: 0;
}

.cart-btn-header:hover { background: var(--color-red-dark); color: #fff !important; }

.cart-btn-header .cart-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #fff;
	color: var(--color-red);
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border: 1px solid var(--color-red);
}

/* --- 下段（赤いナビバー） --- */
.header-nav-bar {
	background: var(--color-red);
}

.header-nav-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--header-nav-h);
	overflow: hidden;
}

.main-navigation {
	display: flex;
	justify-content: center;
}

.global-nav {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	justify-content: center;
}

#site-navigation ul {
	padding: 0;
}

#site-navigation li {
	border-right: none;
}

#site-navigation ul li:first-child {
	border-left: none;
}

/* 親テーマの #site-navigation li a をリセット */
#site-navigation li a,
.global-nav > li > a {
	display: flex !important;
	align-items: center;
	padding: 0 28px !important;
	height: var(--header-nav-h);
	margin: 0 !important;
	border: none !important;
	color: rgba(255,255,255,.9);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	white-space: nowrap;
	transition: background .2s, color .2s;
}

#site-navigation li a:hover,
.global-nav > li > a:hover,
.global-nav > li.current-menu-item > a,
.global-nav > li.current-menu-ancestor > a {
	background: rgba(0,0,0,.15);
	color: #fff;
}

/* SP用: ハンバーガー + コンパクトカート */
.sp-header-left { display: none; }

.sp-cart-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--header-top-h);
	height: var(--header-top-h);
	flex-shrink: 0;
	background: var(--color-red);
}

.sp-cart-btn img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
}

.sp-cart-btn .cart-count {
	top: 6px;
	right: 6px;
}

/* ハンバーガー */
.nav-check { display: none; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: var(--header-top-h);
	height: var(--header-top-h);
	cursor: pointer;
	padding: 16px;
	flex-shrink: 0;
	background: #f0f0f0;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--color-red);
	border-radius: 2px;
	transition: transform .25s, opacity .25s;
}

/* ============================================================
   HERO SLIDER
============================================================ */
.hero-slider {
	position: relative;
	overflow: hidden;
	background: #111;
	height: 529px;
	max-width: 1200px;
	margin: 0 auto;
}

.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .7s ease;
	pointer-events: none;
}

.slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.slide-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

/* スライド画像 */
.slide-image {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.slide-image picture,
.slide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.slide-image--empty {
	background-color: #2a1a0e;
	background-image: repeating-linear-gradient(
		45deg,
		rgba(255,255,255,.03) 0,
		rgba(255,255,255,.03) 1px,
		transparent 0,
		transparent 50%
	);
	background-size: 20px 20px;
}


/* スライダーボタン */
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(255,255,255,.15);
	border: none;
	color: #fff;
	width: 40px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s;
}

.slider-btn:hover { background: rgba(255,255,255,.3); }

.slider-prev { left: 0; border-radius: 0 4px 4px 0; }
.slider-next { right: 0; border-radius: 4px 0 0 4px; }

.slider-btn svg { width: 22px; height: 22px; }

/* ドット */
.slider-dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
	margin-right: 220px;
}

.slider-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,.45);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background .2s, transform .2s;
}

.slider-dot.is-active {
	background: #fff;
	transform: scale(1.25);
}

/* ============================================================
   CATEGORY ARCHIVE PAGE
============================================================ */
.category-page-wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 40px 24px 80px;
}

.category-page-header {
	display: none;
}

.category-page-title,
.category-page-desc {
	display: none;
}

.category-pagination {
	margin-top: 48px;
	text-align: center;
}

.category-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	margin: 0 2px;
	font-size: 14px;
	color: var(--color-text);
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover {
	background: var(--color-red);
	color: #fff;
	border-color: var(--color-red);
}

/* ============================================================
   NEWS SECTION
============================================================ */
.news-section {
	background: var(--color-bg-warm);
	padding: 56px 0 64px;
}

.news-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.news-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 720px;
	margin-inline: auto;
}

.news-item {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
	border-top: 1px solid var(--color-border);
}

.news-date {
	flex-shrink: 0;
	font-size: 13px;
	color: var(--color-red);
	letter-spacing: .05em;
}

.news-title {
	font-size: 15px;
	margin: 0;
	line-height: 1.6;
}

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

.news-title a:hover {
	text-decoration: underline;
}

.news-more {
	text-align: center;
	margin-top: 24px;
}

.news-more a {
	display: inline-block;
	font-size: 13px;
	letter-spacing: .08em;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-text);
	padding-bottom: 2px;
	text-decoration: none;
}

.news-more a:hover {
	color: var(--color-red);
	border-color: var(--color-red);
}

/* 詳細ページ */
.news-single-header .entry-title,
.news-single-header .section-en {
	text-align: left;
}

#content .news-single-header .entry-title {
	text-align: left;
}

#content .news-single-header .entry-title::after {
	width: 100%;
	margin-left: 0;
}

.news-single-date {
	text-align: left;
	font-size: 13px;
	color: var(--color-red);
	margin: -8px 0 32px;
	letter-spacing: .05em;
}

.news-single-nav {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

.news-single-back {
	font-size: 13px;
	color: var(--color-text);
	text-decoration: none;
}

.news-single-back:hover {
	color: var(--color-red);
	text-decoration: underline;
}

/* 一覧ページ */
.news-archive-list {
	max-width: 800px;
	margin: 32px auto 0;
}

/* ============================================================
   PRODUCTS SECTION
============================================================ */
.products-section {
	background: #fff;
	padding: 64px 0 80px;
}

.products-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* セクションタイトル */
.section-en {
	margin: 0 0 6px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	color: var(--color-red);
}

.section-title {
	margin: 0 0 40px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--color-text);
	letter-spacing: .06em;
}

.section-title::after {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	background: var(--color-red);
	margin: 10px auto 0;
}

/* 商品グリッド */
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* 商品カード */
.product-card {
	background: transparent;
}

.product-card__img-wrap {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-bg-warm);
}

.product-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s;
}

.product-card:hover .product-card__img-wrap img {
	transform: scale(1.05);
}

.product-card__body {
	padding: 10px 0 0;
}

.product-card__name {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.product-card__name a { color: var(--color-text); }
.product-card__name a:hover { color: var(--color-red); }

.product-card__price {
	margin: 0;
	font-size: 14px;
	color: var(--color-text);
}

.product-card__price .price-range-sep {
	margin: 0 2px;
	font-size: 12px;
	color: var(--color-text-light);
}

.product-card__soldout {
	margin: 4px 0 0;
	font-size: 11px;
	color: var(--color-muted);
}

.no-products {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--color-muted);
	padding: 48px 0;
}

/* ============================================================
   INFO SECTION
============================================================ */
.info-section {
	background: var(--color-bg-warm);
	padding: 56px 0 64px;
}

.info-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.info-col__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-red);
	letter-spacing: .04em;
}

/* 定義リスト */
.info-dl {
	margin: 0;
}

.info-dl dt {
	font-size: 12px;
	font-weight: 700;
	color: var(--color-text);
	margin-top: 12px;
}

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

.info-dl dd {
	margin: 2px 0 0 0;
	font-size: 12px;
	color: var(--color-text-light);
	line-height: 1.7;
}

.info-dl dd a {
	color: var(--color-red);
	text-decoration: underline;
}

/* 営業日カレンダー */
.business-calendar { }

.calendar-heading {
	font-size: 12px;
	font-weight: 700;
	color: var(--color-text-light);
	margin: 0 0 10px;
}

.calendar-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	table-layout: fixed;
}

.calendar-table th,
.calendar-table td {
	text-align: center;
	padding: 5px 2px;
	line-height: 1.2;
}

.calendar-table thead th {
	font-size: 11px;
	font-weight: 700;
	color: var(--color-text-light);
	border-bottom: 1px solid var(--color-border);
	padding-bottom: 6px;
}

.calendar-table .dow-sun,
.calendar-table td.dow-sun { color: var(--color-red); }
.calendar-table .dow-sat,
.calendar-table td.dow-sat { color: #1a6bb5; }

.calendar-table td { vertical-align: middle; }

/* 今日: span に完全な円を当てる */
.calendar-table td.cal-today span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: #e8e8e8;
	border-radius: 50%;
	font-weight: 700;
}

.calendar-table td.cal-empty { background: transparent; }

/* 発送業務休日: 薄い赤背景 */
.calendar-table td.is-closed {
	background: #fff0f0;
}

.calendar-table td.is-closed span {
	color: inherit;
}

/* 凡例 */
.calendar-legend {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 11px;
	color: var(--color-text-light);
}

.legend-closed {
	display: inline-block;
	width: 14px;
	height: 14px;
	background: #fff0f0;
	border: 1px solid #f9b2b2;
	flex-shrink: 0;
}

/* ============================================================
   FOOTER BRAND
============================================================ */
.footer-brand {
	background: #fff;
	border-top: 1px solid var(--color-border);
	padding: 48px 24px;
	text-align: center;
}

.footer-brand-inner {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.footer-logo { height: 56px; width: auto; }

.footer-corporate-link {
	display: inline-block;
	font-size: 13px;
	color: var(--color-text-light);
	border: 1px solid var(--color-border);
	padding: 6px 20px;
	border-radius: 2px;
	transition: color .2s, border-color .2s;
}

a.footer-corporate-link:hover {
	color: var(--color-red);
	border-color: var(--color-red);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
	background: var(--color-red);
}

.footer-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 24px 24px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.footer-nav li + li::before {
	content: '|';
	color: rgba(255,255,255,.3);
	padding: 0 2px;
}

.footer-nav li a {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12px;
	color: rgba(255,255,255,.85);
	transition: color .2s;
}

.footer-nav li a:hover { color: #fff; }

/* 親テーマ PC用 float レイアウトをリセット */
.footer-nav li {
	width: auto;
	float: none;
	padding-right: 0;
	margin-bottom: 0;
}

.copyright {
	margin: 0;
	font-size: 11px;
	color: rgba(255,255,255,.5);
	letter-spacing: .04em;
}

/* ============================================================
   PAGE TOP BUTTON
============================================================ */
.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100;
	width: 40px;
	height: 40px;
	background: var(--color-red);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
	box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ============================================================
   PAGE CONTENT（固定ページ共通）
============================================================ */
.entry-header {
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--color-red);
}

#content .page-title,
#content .entry-title {
	font-size: 32px;
	text-align: center;
	letter-spacing: .06em;
}

#content .page-title::after,
#content .entry-title::after {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	background: var(--color-red);
	margin: 10px auto 0;
}

.entry-title {
	font-weight: 700;
	color: var(--color-text);
	margin: 0;
}

.entry-content {
	line-height: 1.8;
	color: var(--color-text);
}

.entry-content > * + * { margin-top: 1.2em; }

.entry-content h2 {
	font-size: 18px;
	font-weight: 700;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--color-red);
	margin-top: 2em;
}

.entry-content h3 {
	font-size: 16px;
	font-weight: 700;
	padding-bottom: 4px;
	padding-left: 10px;
	border-left: 3px solid #ccc;
	margin-top: 1.6em;
}

.entry-content h4 {
	font-size: 15px;
	font-weight: 700;
	padding-left: 10px;
	margin-top: 1.4em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 0;
}

.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }

/* --- ご利用ガイド TOC --- */
.guide-toc {
	margin-bottom: 2.4em;
}

.guide-toc ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	padding: 0;
	list-style: none;
}

.guide-toc ul li {
	list-style: none;
	margin: 0;
}

.entry-content .guide-toc a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 0;
	background: none;
	border: none;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}

.entry-content .guide-toc a::after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	background: url('images/ico_arrow_down.svg') center / contain no-repeat;
	flex-shrink: 0;
}

.entry-content .guide-toc a:hover {
	color: var(--color-red);
	text-decoration: none;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.entry-content table th,
.entry-content table td {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.entry-content table th {
	background: var(--color-bg-warm);
	font-weight: 700;
	white-space: nowrap;
}

.entry-content a {
	color: #1a6fba;
	text-decoration: underline;
}

.entry-content a:hover { opacity: .75; }

/* ============================================================
   LAYOUT OVERRIDE（親テーマ上書き）
============================================================ */
#main.wrapper {
	padding: 0;
	margin-top: 0;
	max-width: 100%;
}

#main.one-column,
#main.two-column {
	padding: 40px 24px;
	max-width: var(--max-width);
	margin: 0 auto;
}

/* 自前でpaddingを持つページは#mainのpadding/max-widthをリセット */
.item-page-wrap + * { margin-top: 0; }
#main.one-column:has(.item-page-wrap),
#main.one-column:has(.cart-wrap),
#main.one-column:has(.category-page-wrap) {
	padding: 0;
	width: 100%;
	max-width: 100%;
}

/* ============================================================
   ITEM DETAIL PAGE
============================================================ */
.item-page-wrap {
	width: 100%;
}

/* --- 2カラムレイアウト --- */
.item-page {
	display: flex;
	gap: 48px;
	align-items: flex-start;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 48px 24px 64px;
}

/* 左: 画像カラム */
.item-images {
	flex: 0 0 40%;
	max-width: 420px;
}

.item-main-img {
	border: 1px solid var(--color-border);
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.item-main-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}

.item-sub-imgs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.item-sub-img-link {
	display: block;
	width: 80px;
	height: 80px;
	border: 1px solid var(--color-border);
	overflow: hidden;
	flex-shrink: 0;
}

.item-sub-img-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.item-sub-img-link:hover {
	border-color: var(--color-red);
}

/* 右: 情報カラム */
.item-info-col {
	flex: 1;
	min-width: 0;
}

.item-category-label {
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--color-muted);
	letter-spacing: .04em;
}

.item-name {
	margin: 0 0 16px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-text);
	letter-spacing: .03em;
}

/* 価格 */
.item-price-wrap {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 20px;
}

.item-price-label {
	font-size: 13px;
	color: var(--color-text-light);
}

.item-price-value {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-text);
}

/* 商品説明 */
.item-description {
	font-size: 14px;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: 24px;
}

.item-description p { margin: 0 0 .8em; }
.item-description p:last-child { margin-bottom: 0; }
.item-description strong { color: var(--color-red); }

/* スペックテーブル */
.item-custom-info {
	margin-bottom: 28px;
}

.item-custom-info table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.item-custom-info th,
.item-custom-info td {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	vertical-align: top;
	line-height: 1.6;
}

.item-custom-info th {
	background: var(--color-bg-warm);
	font-weight: 600;
	white-space: nowrap;
	width: 100px;
}

.item-custom-info td {
	background: #fff;
}

.item-custom-info h3,
.item-custom-info h4 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--color-text);
}

/* --- 食品情報テーブル --- */
.item-food-info {
	margin-bottom: 24px;
}

.item-food-info table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	line-height: 1.7;
}

.item-food-info table th,
.item-food-info table td {
	padding: 8px 12px;
	border: 1px solid #ddd;
	vertical-align: top;
	text-align: left;
}

.item-food-info table th {
	background: #f5f5f5;
	font-weight: normal;
	white-space: nowrap;
	width: 8em;
}

/* --- 注意書き・送料注記 --- */
.item-notes {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.item-notice-box {
	margin: 0;
	padding: 10px 16px;
	background: #fff0f0;
	border: 1px solid #f5c0c0;
	color: var(--color-red);
	font-size: 13px;
	line-height: 1.6;
	border-radius: 3px;
}

.item-shipping-note {
	margin: 0;
	font-size: 13px;
	color: var(--color-text);
	line-height: 1.6;
}

/* --- SKU セレクター --- */
.item-sku-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.sku-radio-label {
	display: inline-flex;
	align-items: center;
	padding: 9px 22px;
	border: 2px solid #ddd;
	border-radius: 100vmax;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
	user-select: none;
}

.sku-radio-label input[type="radio"] {
	display: none;
}

.sku-radio-label.is-active {
	border-color: var(--color-red);
	background: var(--color-red);
	color: #fff;
}

.sku-radio-label:not(.is-active):hover {
	border-color: var(--color-red);
	color: var(--color-red);
}

/* --- カートフォーム --- */
.item-cart-section {
	margin-bottom: 24px;
}

.item-sku-block {
	border-top: 1px solid var(--color-border);
	padding-top: 20px;
}

.item-sku-block .item-price-wrap {
	margin-top: 16px;
	margin-bottom: 16px;
}

.item-sku-name {
	display: none; /* ラジオボタンで代替 */
}

/* 数量 + カートボタン */
.item-cart-area {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.item-qty-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.item-qty-label {
	font-size: 13px;
	font-weight: 600;
}

.item-qty-wrap input[type="number"],
.item-qty-wrap input[type="text"] {
	width: 64px;
	height: 40px;
	border: 1px solid var(--color-border);
	padding: 0 8px;
	font-size: 15px;
	text-align: center;
	border-radius: 4px;
}

.item-qty-unit {
	font-size: 12px;
	color: var(--color-muted);
}

/* カートに入れるボタン */
.item-cart-btn-wrap input[type="submit"],
.item-cart-btn-wrap button[type="submit"] {
	display: inline-block;
	height: 47px;
	padding: 0 28px 0 52px;
	background: var(--color-red) url('images/ico_cart.svg') no-repeat left 20px center;
	background-size: 20px 20px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	border: none;
	border-radius: 100vmax;
	cursor: pointer;
	transition: background-color .2s;
	white-space: nowrap;
	line-height: 47px;
	vertical-align: middle;
}

.item-cart-btn-wrap input[type="submit"]:hover,
.item-cart-btn-wrap button[type="submit"]:hover {
	background-color: var(--color-red-dark);
}

.item-soldout {
	font-size: 14px;
	color: var(--color-muted);
	padding: 16px 0;
}

.item-error-msg {
	margin-top: 8px;
	font-size: 12px;
	color: var(--color-red);
}

/* --- お問い合わせ枠 --- */
.item-inquiry-box {
	background: #f5f5f5;
	border-radius: 4px;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.item-inquiry-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--color-text);
}

.item-inquiry-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 24px;
	border: 2px solid var(--color-red);
	color: var(--color-red);
	font-size: 13px;
	font-weight: 700;
	border-radius: 100vmax;
	white-space: nowrap;
	transition: background .2s, color .2s;
	flex-shrink: 0;
}

.item-inquiry-btn:hover {
	background: var(--color-red);
	color: #fff;
}

/* おすすめ商品（詳細ページ用 3列） */
.products-grid--3col {
	grid-template-columns: repeat(3, 1fr);
}

/* インフォセクション（詳細ページ内） */
.item-page-wrap .info-section {
	margin-top: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
	.site-header { margin-bottom: 0; }
}

@media (max-width: 1024px) {
	.products-grid { grid-template-columns: repeat(3, 1fr); }
	.products-grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	:root {
		--header-top-h: 56px;
		--header-nav-h: 0px;
	}

	/* ヘッダー上段 */
	h1.site-title img.site-logo,
	div.site-title img.site-logo {
		height: 36px;
		width: calc(36px * 29 / 6);
		aspect-ratio: 29 / 6;
	}

	.utility-nav { display: none; }

	/* ヘッダー上段: SP レイアウト */
	.header-top-inner { padding: 0 0 0 12px; gap: 0; }

	.sp-header-left {
		display: flex;
		align-items: center;
		flex-shrink: 0;
		margin-left: auto;
		gap: 0;
	}

	.nav-toggle { display: flex; }

	/* PC用カート・ユーティリティ非表示 */
	.header-top-right { display: none; }

	/* ナビバー SP: ドロップダウン */
	.header-nav-bar { background: var(--color-red); }

	.header-nav-inner {
		height: auto;
		overflow: visible;
		padding: 0;
		justify-content: flex-start;
	}

	.main-navigation {
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height .35s ease;
	}

	/* :has() によるトグル（checkbox と nav が異なる親要素のため） */
	.site-header:has(#nav-check:checked) .main-navigation {
		max-height: 400px;
	}

	.site-header:has(#nav-check:checked) .nav-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.site-header:has(#nav-check:checked) .nav-toggle span:nth-child(2) {
		opacity: 0;
	}
	.site-header:has(#nav-check:checked) .nav-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.global-nav {
		flex-direction: column;
		padding: 4px 0 8px;
		align-items: stretch;
	}

	#site-navigation li,
	.global-nav > li {
		width: 100%;
	}

	#site-navigation li a,
	.global-nav > li > a {
		width: 100% !important;
		height: auto !important;
		line-height: 1.5 !important;
		padding: 12px 20px !important;
		font-size: 14px !important;
		border: none !important;
		border-top: 1px solid rgba(255,255,255,.1) !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	/* 商品詳細 */
	.item-page {
		flex-direction: column;
		gap: 32px;
		padding: 32px 16px 48px;
	}

	.item-images {
		flex: none;
		max-width: 100%;
		width: 100%;
	}

	.item-name { font-size: 20px; }

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

	.item-inquiry-box { flex-direction: column; align-items: flex-start; }

	/* スライダー */
	.hero-slider { height: 280px; max-width: 100%; margin: 0; }
	.product-card__name a { font-size: 15px; }
	.slider-next { right: 0; }
	.slider-dots { margin-right: 0; }

	/* 商品 */
	.products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.products-section { padding: 48px 0 56px; }

	/* インフォ */
	.info-inner { grid-template-columns: 1fr; gap: 28px; }

	/* フッターブランド */
	.footer-logo { height: 44px; }

	/* customer_form: 縦積みレイアウト */
	.customer_form th,
	.customer_form td {
		display: block;
		width: 100% !important;
		border-bottom: none;
		padding: 4px 0;
		box-sizing: border-box;
	}

	.customer_form th {
		background: none;
		font-weight: 600;
		font-size: 13px;
		padding-top: 14px;
	}

	.customer_form td {
		padding-bottom: 12px;
		border-bottom: 1px solid var(--color-border);
	}

	/* カートテーブル / 確認テーブル: カードレイアウト共通 */
	#wc_cart #cart_table thead,
	#wc_confirm #cart_table thead { display: none; }

	#wc_cart #cart_table tbody tr,
	#wc_confirm #cart_table tbody tr {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		padding: 12px 0;
		border-bottom: 1px solid var(--color-border);
	}

	#wc_cart #cart_table tbody td,
	#wc_confirm #cart_table tbody td {
		display: block;
		border: none;
		padding: 2px 4px;
		box-sizing: border-box;
	}

	#wc_cart #cart_table tbody .num,
	#wc_cart #cart_table tbody .stock,
	#wc_cart #cart_table tbody .thumbnail,
	#wc_confirm #cart_table tbody .num,
	#wc_confirm #cart_table tbody .thumbnail { display: none; }

	/* 商品名（1行目・全幅） */
	#wc_cart #cart_table tbody .productname,
	#wc_confirm #cart_table tbody .productname {
		flex: 1 1 100%;
		min-width: 0;
		padding: 0 0 6px;
		font-size: 13px;
		word-break: break-word;
	}

	/* 単価（2行目） */
	#wc_cart #cart_table tbody .unitprice,
	#wc_cart #cart_table tbody .price,
	#wc_confirm #cart_table tbody .unitprice,
	#wc_confirm #cart_table tbody .price {
		flex: 0 0 auto;
		font-size: 12px;
		color: var(--color-text-light);
		white-space: nowrap;
		padding: 0 6px 0 0;
	}

	/* 数量 */
	#wc_cart #cart_table tbody .quantity,
	#wc_confirm #cart_table tbody .quantity {
		flex: 0 0 auto;
		width: auto;
		font-size: 12px;
		white-space: nowrap;
		padding: 0 6px;
	}

	/* 数量ラベル */
	#wc_cart #cart_table tbody .quantity::before,
	#wc_confirm #cart_table tbody .quantity::before {
		content: '\6570\91CF: ';
		color: var(--color-text-light);
	}

	/* 小計 */
	#wc_cart #cart_table tbody .subtotal,
	#wc_confirm #cart_table tbody .subtotal {
		flex: 1;
		text-align: right;
		font-size: 13px;
		font-weight: 600;
		white-space: nowrap;
		padding: 0 4px;
	}

	/* 削除ボタン（カートページのみ） */
	#wc_cart #cart_table tbody .action {
		flex: 0 0 auto;
		text-align: center;
		padding: 0;
	}

	#wc_cart #cart_table tbody .action a,
	#wc_cart #cart_table tbody .action input,
	#wc_cart #cart_table tbody .action button {
		padding: 2px 4px;
		font-size: 12px;
	}

	#wc_confirm #cart_table tbody .action { display: none; }

	/* tfoot: flex行で左ラベル・右金額 */
	#wc_cart #cart_table tfoot tr,
	#wc_confirm #cart_table tfoot tr {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 8px 4px;
	}

	#wc_cart #cart_table tfoot th,
	#wc_cart #cart_table tfoot td,
	#wc_confirm #cart_table tfoot th,
	#wc_confirm #cart_table tfoot td {
		display: block;
		border: none !important;
		padding: 0;
	}

	#wc_cart #cart_table tfoot tr.total-row th,
	#wc_cart #cart_table tfoot tr.total-row td,
	#wc_confirm #cart_table tfoot tr.total-row th,
	#wc_confirm #cart_table tfoot tr.total-row td {
		border-top: 2px solid var(--color-border);
		padding-top: 8px;
	}
}

@media (max-width: 480px) {
	.hero-slider { height: 220px; max-width: 100%; margin: 0; }
	.products-grid { gap: 10px; }
	.products-section { padding: 40px 0 48px; }
	.products-inner, .info-inner { padding: 0 16px; }
}

/* ============================================================
   CART / CHECKOUT PAGES
============================================================ */

.cart-wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 24px 80px;
}

/* --- ステップナビ --- */
.cart-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
	gap: 0;
}

.cart-steps li {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #bbb;
	white-space: nowrap;
}

.cart-steps li + li::before {
	content: '';
	display: inline-block;
	width: 32px;
	height: 1px;
	background: #ddd;
	margin: 0 8px;
	flex-shrink: 0;
}

.cart-steps li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ddd;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	margin-right: 6px;
	flex-shrink: 0;
}

.cart-steps li.is-done {
	color: #888;
}

.cart-steps li.is-done span {
	background: #aaa;
}

.cart-steps li.is-current {
	color: var(--color-red);
	font-weight: bold;
}

.cart-steps li.is-current span {
	background: var(--color-red);
}

/* --- カート注意書き --- */
.cart-notice {
	margin: -16px 0 28px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--color-text-light);
}

.cart-notice p { margin: 0 0 6px; }
.cart-notice p:last-child { margin-bottom: 0; }

.cart-notice__caution { font-weight: 600; }

/* --- ページタイトル --- */
.cart-page-title {
	font-size: 22px;
	font-weight: bold;
	margin: 0 0 32px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--color-red);
}

.cart-confirm-notice {
	margin: -16px 0 24px;
	font-size: 13px;
	color: var(--color-text-light);
}

/* --- 完了ページ --- */
.completion-message {
	margin: 0 0 40px;
	font-size: 14px;
	line-height: 1.8;
}

.completion-message p {
	margin: 0 0 8px;
}

.completion-message p:last-child {
	margin-bottom: 0;
}

.send .back_to_top_button {
	background: var(--color-red);
	color: #fff;
}

.cart-section-lead {
	font-size: 14px;
	margin: 0 0 12px;
	font-weight: bold;
}

.cart-link-row {
	margin: 8px 0;
	font-size: 13px;
}

.cart-input-note {
	font-size: 12px;
	color: var(--color-text-light);
	margin-left: 8px;
}

/* --- エラーメッセージ --- */
.error_message {
	color: var(--color-red);
	font-size: 13px;
	margin-bottom: 16px;
}

/* --- 数量更新ボタン --- */
.upbutton {
	text-align: right;
	margin-bottom: 8px;
}

.upbutton input[type="submit"] {
	padding: 6px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #f5f5f5;
	font-size: 12px;
	cursor: pointer;
}

/* --- カートテーブル --- */
#cart_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 8px;
	font-size: 14px;
}

#cart_table th,
#cart_table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--color-border);
	vertical-align: middle;
}

#cart_table thead th {
	background: #f5f5f5;
	font-weight: normal;
	font-size: 13px;
	border-bottom: 2px solid var(--color-border);
}

#cart_table .num {
	width: 40px;
	text-align: center;
}

#cart_table .thumbnail {
	width: 72px;
}

#cart_table .thumbnail img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

#cart_table .unitprice,
#cart_table .subtotal,
#cart_table .price,
#cart_table .amount {
	text-align: right;
	white-space: nowrap;
}

#cart_table .quantity {
	text-align: center;
	width: 80px;
}

#cart_table .stock {
	text-align: center;
	width: 60px;
	font-size: 12px;
}

#cart_table .action {
	width: 36px;
	text-align: center;
}

#cart_table tfoot th,
#cart_table tfoot td {
	border-bottom: none;
	border-top: 2px solid var(--color-border);
	font-weight: bold;
}

#cart_table tfoot .aright {
	text-align: right;
}

#cart_table tfoot .amount {
	font-size: 16px;
	color: var(--color-red);
}

#cart_table tr.total-row,
#cart_table tr.total-row th,
#cart_table tr.total-row td {
	background: #fff8f8;
}

#cart_table tr.total-row .amount {
	font-size: 18px;
	color: var(--color-red);
}

.currency_code {
	font-size: 12px;
	color: var(--color-muted);
	text-align: right;
	margin-bottom: 24px;
}

.no_cart {
	padding: 40px;
	text-align: center;
	color: var(--color-text-light);
	background: #fafafa;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	margin-bottom: 24px;
}

/* --- フォームテーブル --- */
.customer_form {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
	font-size: 14px;
}

.customer_form th,
.customer_form td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--color-border);
	vertical-align: middle;
}

.customer_form th {
	background: #f8f8f8;
	font-weight: normal;
	width: 180px;
	white-space: nowrap;
	font-size: 13px;
}

.customer_form em {
	color: var(--color-red);
	font-style: normal;
	margin-right: 3px;
}

.cart-wrap input::placeholder,
.cart-wrap textarea::placeholder {
	color: transparent;
}

/* 住所検索ボタン */
.customer_form .search-zipcode {
	margin-left: 8px;
	padding: 7px 16px;
	background: #f0f0f0;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
	cursor: pointer;
	vertical-align: middle;
	font-family: var(--font-base);
}

.customer_form .search-zipcode:hover {
	background: #e0e0e0;
}

.customer_form input[type="text"],
.customer_form input[type="password"],
.customer_form select,
.customer_form textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: var(--font-base);
	box-sizing: border-box;
}

.customer_form input[type="text"]:focus,
.customer_form input[type="password"]:focus,
.customer_form select:focus,
.customer_form textarea:focus {
	outline: none;
	border-color: var(--color-red);
	box-shadow: 0 0 0 2px rgba(181,0,0,0.1);
}

.customer_form textarea.notes {
	height: 100px;
	resize: vertical;
}

/* --- 送信ボタンエリア --- */
.send {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 40px 0 16px;
	font-size: 0;
}

.send input[type="submit"],
.send input[type="button"],
.send button[type="submit"],
.send a.continue_shopping_button {
	display: inline-block;
	padding: 14px 48px;
	border: none;
	border-radius: 100vmax;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	font-family: var(--font-base);
	transition: background 0.2s, opacity 0.2s;
	text-decoration: none;
}

/* 次へ / 確定ボタン（プライマリ） */
.send .to_customerinfo_button,
.send .to_confirm_button,
.send .purchase_button {
	background: var(--color-red);
	color: #fff;
}

.send .to_customerinfo_button:hover,
.send .to_confirm_button:hover,
.send .purchase_button:hover {
	background: var(--color-red-dark);
}

/* 戻る / お買い物を続けるボタン（セカンダリ） */
.send .continue_shopping_button,
.send .back_to_cart_button,
.send .back_to_customer_button {
	background: #f0f0f0;
	color: #555;
}

.send .continue_shopping_button:hover,
.send .back_to_cart_button:hover,
.send .back_to_customer_button:hover {
	background: #e0e0e0;
}

/* Welcartが.sendなしで生成するボタンにも適用 */
#purchase_button_area {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 40px 0 16px;
}

#purchase_button_area input[type="submit"] {
	padding: 14px 48px;
	border: none;
	border-radius: 100vmax;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
}

/* --- 確認テーブル --- */
#confirm_table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
	font-size: 14px;
}

#confirm_table th,
#confirm_table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--color-border);
	vertical-align: top;
}

#confirm_table th {
	background: #f8f8f8;
	width: 180px;
	font-weight: normal;
	font-size: 13px;
	white-space: nowrap;
}

#confirm_table tr.ttl td {
	background: #f0f0f0;
	padding: 10px 16px;
	border-bottom: 2px solid var(--color-border);
}

#confirm_table tr.ttl h3 {
	margin: 0;
	font-size: 14px;
	font-weight: bold;
}

/* --- レスポンシブ --- */
@media (max-width: 640px) {
	.cart-steps li + li::before {
		width: 16px;
	}

	.cart-steps li {
		font-size: 11px;
	}

	.cart-steps li span {
		width: 20px;
		height: 20px;
		font-size: 10px;
		margin-right: 4px;
	}


	#confirm_table th {
		width: 120px;
	}

	.send {
		flex-wrap: wrap;
		gap: 10px;
	}

	.send input[type="submit"],
	.send input[type="button"],
	.send button[type="submit"],
	.send a.continue_shopping_button {
		width: 100%;
		padding: 13px 24px;
		font-size: 14px;
	}

	/* cart-steps: コンパクト表示 */
	.cart-steps li {
		font-size: 10px;
		white-space: nowrap;
	}

	.cart-steps li span {
		width: 18px;
		height: 18px;
		font-size: 10px;
		margin-right: 3px;
	}

	.cart-steps li + li::before {
		width: 12px;
		margin: 0 4px;
	}
}

/* ============================================================
   CONTACT FORM (Contact Form 7)
============================================================ */
.contact-form {
	max-width: 760px;
	margin: 36px auto 0;
}

/* --- 入力テーブル（dl.contact-table） --- */
.contact-table {
	margin: 0;
}

.contact-table > div {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 10px 28px;
	align-items: start;
	padding: 22px 0;
	border-bottom: 1px solid var(--color-border);
}

.contact-table > div:first-child {
	border-top: 1px solid var(--color-border);
}

.contact-table dt {
	margin: 0;
	padding-top: 10px; /* 入力欄テキストと縦位置を揃える */
}

.contact-table dt label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.6;
}

.contact-table dd {
	margin: 0;
}

.contact-table dd .wpcf7-form-control-wrap {
	display: block;
}

/* --- 必須／任意バッジ --- */
.contact-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: .04em;
	color: #fff;
}

.contact-badge.-required { background: var(--color-red); }
.contact-badge.-optional { background: var(--color-muted); }

/* --- 入力欄 --- */
.contact-input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px; /* 16px 未満は iOS で自動ズームするため */
	font-family: var(--font-base);
	line-height: 1.6;
	color: var(--color-text);
	background: #fff;
	box-sizing: border-box;
}

.contact-input::placeholder { color: var(--color-muted); }

.contact-textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-input:focus {
	outline: none;
	border-color: var(--color-red);
	box-shadow: 0 0 0 2px rgba(181, 0, 0, 0.1);
}

/* --- 同意（acceptance）チェック --- */
.contact-confirm {
	margin: 28px 0 0;
	padding: 16px 18px;
	background: var(--color-bg-warm);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	text-align: center;
}

.contact-confirm .wpcf7-list-item {
	margin: 0;
}

.contact-confirm label {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.7;
	text-align: left;
	cursor: pointer;
}

.contact-confirm input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--color-red);
	cursor: pointer;
}

/* --- 送信ボタン --- */
.contact-submit {
	margin-top: 30px;
	text-align: center;
}

.contact-btn {
	display: inline-block;
	min-width: 240px;
	padding: 15px 48px;
	border: none;
	border-radius: 100vmax;
	background: var(--color-red);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	font-family: var(--font-base);
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.contact-btn:hover {
	background: var(--color-red-dark);
}

.contact-btn:disabled {
	opacity: .5;
	cursor: default;
}

/* --- バリデーション・送信結果メッセージ --- */
.contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--color-red);
	font-size: 12px;
	font-weight: normal;
}

.contact-form .wpcf7-not-valid {
	border-color: var(--color-red) !important;
}

.contact-form .wpcf7-response-output {
	margin: 24px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.7;
}

.contact-form form.invalid .wpcf7-response-output,
.contact-form form.unaccepted .wpcf7-response-output,
.contact-form form.spam .wpcf7-response-output,
.contact-form form.failed .wpcf7-response-output {
	border-color: var(--color-red);
	color: var(--color-red);
}

.contact-form form.sent .wpcf7-response-output {
	border-color: #46823b;
	color: #2f6a27;
}

.contact-form .wpcf7-spinner {
	margin: 0 0 0 12px;
}

@media (max-width: 600px) {
	.contact-form {
		margin-top: 24px;
	}

	.contact-table > div {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 16px 0;
	}

	.contact-table dt {
		padding-top: 0;
	}

	.contact-btn {
		width: 100%;
		min-width: 0;
	}
}
