/*
Theme Name: Doggy's Cafe
Description: 犬と一緒に過ごせるカフェ「Doggy's Cafe」のオリジナルテーマ。白×シャンパンベージュ×ゴールドの上品なデザイン。
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: doggys-cafe
*/

/*
【目次】
 0. 色・書体の設定（ここを変えるとサイト全体に反映）
 1. 基本
 2. 共通パーツ（見出し・ボタン・アーチ枠）
 3. ヘッダー（header.php）
 4. トップページ（index.php）
 5. 下層ページ共通（ページタイトル）
 6. NEWS一覧（category-news.php）
 7. 記事詳細（single.php）
 8. ご予約・お問い合わせ（page-contact.php ＋ Contact Form 7）
 9. フッター（footer.php）
10. スマートフォン
*/

/* ==========================================================
   0. 色・書体の設定
   ========================================================== */
:root {
	--white: #FFFFFF;
	--champagne: #F2EADF;   /* 背景のベージュ */
	--cream: #FFFDF9;       /* 入力欄の背景 */
	--gold: #C8AD84;        /* 細い線・ボタン枠 */
	--gold-soft: #E7D9C3;   /* 区切り線 */
	--gold-text: #9C8467;   /* 英字メニュー・補足文字 */
	--gold-light: #B39A75;  /* 日付 */
	--rose: #D9B8AE;        /* リボン・必須マーク */
	--rose-deep: #C9A397;
	--mocha: #6E5443;       /* 予約ボタン */
	--ink: #5B4B3E;         /* 本文の文字 */
	--error: #A86F60;

	--f-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--f-latin: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--f-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

/* ==========================================================
   1. 基本
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--f-mincho);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .04em;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.in {
	max-width: 1080px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
.in.narrow { max-width: 800px; }
.empty { text-align: center; color: var(--gold-text); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* ==========================================================
   2. 共通パーツ
   ========================================================== */
.sec { padding-block: clamp(56px, 8vw, 96px); }

/* セクション見出し（英字イタリック＋日本語＋金の線） */
.sec-head {
	display: grid;
	justify-items: center;
	gap: 2px;
	margin-bottom: 44px;
	text-align: center;
}
.sec-head .en {
	font-family: var(--f-latin);
	font-style: italic;
	font-size: clamp(28px, 3.4vw, 36px);
	line-height: 1.2;
}
.sec-head .ja { font-size: 12.5px; letter-spacing: .3em; color: var(--gold-text); }
.sec-head::after { content: ""; width: 40px; height: 1px; background: var(--gold); margin-top: 14px; }
.sec-head.is-left { justify-items: start; text-align: left; margin-bottom: 0; }

/* ボタン */
.btn {
	display: inline-block;
	margin-top: 30px;
	border: 1px solid var(--gold);
	padding: 10px 38px;
	font-family: var(--f-latin);
	font-size: 14px;
	letter-spacing: .3em;
	color: var(--gold-text);
	transition: background .3s, color .3s;
}
.btn:hover { background: var(--gold); color: var(--white); }

.btn-fill {
	display: inline-block;
	background: var(--mocha);
	color: var(--white);
	border: 1px solid var(--mocha);
	padding: 14px 40px;
	font-family: var(--f-mincho);
	font-size: 15px;
	letter-spacing: .16em;
	cursor: pointer;
	transition: background .3s, color .3s;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}
.btn-fill:hover { background: var(--white); color: var(--mocha); }

/* 「もっと見る」リンク */
.more { text-align: center; margin-top: 36px; }
.more a { font-family: var(--f-latin); font-style: italic; font-size: 17px; color: var(--gold-text); border-bottom: 1px solid var(--gold); }

/* カテゴリーラベル */
.cat {
	font-family: var(--f-round);
	font-size: 11px;
	border: 1px solid var(--rose);
	color: var(--rose-deep);
	padding: 0 10px;
	border-radius: 99px;
	letter-spacing: .1em;
	white-space: nowrap;
}

/* アーチ形の写真枠 */
.arch {
	position: relative;
	aspect-ratio: .8;
	max-width: 100%;
	margin: 14px;
	overflow: hidden;
	border-radius: 50% 50% 0 0 / 38% 38% 0 0;
	background: linear-gradient(#F4ECE1, #EADDCB);
	outline: 1px solid #D9C4A3;
	outline-offset: 14px;
	display: grid;
	place-items: center;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.dog-illust { width: 46%; height: auto; }

/* ==========================================================
   3. ヘッダー
   ========================================================== */
/* --hd-pb：ヘッダー下の余白。メニューの白い幕もこの高さまで伸ばす */
.site-header { --hd-pb: 22px; border-bottom: 1px solid var(--gold-soft); padding-block: 22px var(--hd-pb); }
/* ロゴとリボンが背景写真の部分の真ん中にくるよう、上の余白を減らして下（メニューまで）を広げる */
.site-header .in { display: grid; justify-items: center; gap: 38px; }
.brand { display: grid; justify-items: center; }
.logo-img { width: min(170px, 42vw); height: auto; aspect-ratio: 1; border-radius: 50%; }

/* ロゴの下のリボン */
.ribbon {
	position: relative;
	z-index: 0;
	isolation: isolate;
	margin-top: -14px;
	background: var(--rose);
	color: #FFFBF5;
	font-family: var(--f-round);
	font-weight: 500;
	font-size: clamp(13px, 1.6vw, 15px);
	letter-spacing: .14em;
	padding: 7px 34px;
	white-space: nowrap;
}
.ribbon::before,
.ribbon::after {
	content: "";
	position: absolute;
	top: 7px;
	width: 24px;
	height: 100%;
	background: var(--rose-deep);
	z-index: -1;
}
.ribbon::before { left: -17px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon::after { right: -17px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }

/* メニュー（背景スライダーの上に、横いっぱいの白い幕を敷いて文字を読みやすくする） */
.gnav {
	position: relative;
	justify-self: stretch;
}
.gnav::before {
	content: "";
	position: absolute;
	inset: -14px -100vw calc(var(--hd-pb) * -1);   /* 下はヘッダーの下端までつなげる */
	z-index: -1;
	background: rgba(255, 255, 255, .92);
	border-top: 1px solid var(--gold-soft);
}
/* ハンバーガーボタン（スマホだけ表示） */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 auto;
	padding: 6px 12px;
	background: none;
	border: 0;
	font-family: var(--f-latin);
	font-size: 13px;
	letter-spacing: .3em;
	color: var(--gold-text);
}
.menu-toggle .bars { position: relative; width: 22px; height: 12px; }
.menu-toggle .bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--gold-text);
	transition: transform .35s, opacity .35s, top .35s;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 50%; }
.menu-toggle .bars span:nth-child(3) { top: 100%; }
.gnav.is-open .bars span:nth-child(1) { top: 50%; transform: rotate(30deg); }
.gnav.is-open .bars span:nth-child(2) { opacity: 0; }
.gnav.is-open .bars span:nth-child(3) { top: 50%; transform: rotate(-30deg); }

.gnav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 34px;
	font-family: var(--f-latin);
	font-size: 14px;
	letter-spacing: .3em;
	color: var(--gold-text);
}
.gnav a { padding-block: 4px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.gnav a:hover,
.gnav .current-menu-item > a { border-color: var(--gold); }

/* ==========================================================
   4. トップページ
   ========================================================== */
/* メインビジュアル */
/* 背景に top-background.png を半透明で敷く（文字が読みやすいよう白を重ねる） */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("images/top-background.png") center 30% / cover no-repeat;
	opacity: .38;
}
.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 30%;
	z-index: -1;
	background: linear-gradient(rgba(255, 255, 255, 0), var(--white));
}
.hero .in {
	display: grid;
	grid-template-columns: 1.1fr .9fr; /* 写真の列をコンセプトと同じ幅にして、写真を同じ大きさにする */
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
	padding-block: clamp(20px, 2.5vw, 32px); /* 上下の余白は最小限（アーチの枠線が切れない分だけ） */
}
.fr { font-family: var(--f-latin); font-style: italic; color: var(--gold-light); font-size: clamp(17px, 2vw, 21px); }
.hero h1 { font-weight: 400; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.6; margin-top: 14px; text-wrap: balance; }
.hero .lead { margin-top: 20px; font-size: 14.5px; max-width: 30em; }

/* NEWS */
.news-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--gold-soft); }
.news-list a {
	display: grid;
	grid-template-columns: 7.5em auto 1fr;
	gap: 20px;
	align-items: baseline;
	padding-block: 18px;
	border-bottom: 1px solid var(--gold-soft);
	transition: color .3s;
}
.news-list a:hover { color: var(--gold-text); }
.news-list time,
.meta time {
	font-family: var(--f-latin);
	font-size: 16px;
	color: var(--gold-light);
	letter-spacing: .08em;
	font-variant-numeric: tabular-nums;
}

/* コンセプト */
.concept { background: var(--champagne); }
.concept .in {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.concept .arch { background: linear-gradient(#FBF7F1, #EFE4D5); outline-color: var(--gold); }
.concept h2 { font-weight: 400; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.7; margin: 10px 0 30px; } /* 下の本文との間を少し広めに */
.concept p + p { margin-top: 12px; }

/* メニュー */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.item { display: grid; gap: 12px; text-align: center; align-content: start; }
.item .ph {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50% 50% 0 0 / 40% 40% 0 0;
	background: var(--champagne);
	display: grid;
	place-items: center;
}
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .ph .dog-illust { width: 38%; opacity: .85; }
.item h3 { font-weight: 400; font-size: 17px; }
.item .for { font-family: var(--f-round); font-size: 11px; color: var(--rose-deep); letter-spacing: .14em; }
.item .price { font-family: var(--f-latin); font-size: 18px; color: var(--gold-text); font-variant-numeric: tabular-nums; }

/* トップページの NEWS は上下の余白を小さめに */
#news { padding-block: clamp(16px, 2vw, 24px) clamp(32px, 4.5vw, 56px); }

/* アクセス（背景に background.png を薄く敷く） */
.info {
	border-top: 1px solid var(--gold-soft);
	position: relative;
	isolation: isolate;
}
.info::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("images/background.png") center / cover no-repeat;
	opacity: .22;
}
.info .in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
}
.info .sec-head { margin-bottom: 28px; }
.info dl { display: grid; grid-template-columns: 7em 1fr; border-top: 1px solid var(--gold-soft); }
.info dt, .info dd { padding-block: 14px; border-bottom: 1px solid var(--gold-soft); }
.info dt { color: var(--gold-text); font-size: 13.5px; }
/* 地図は小さめにして、左の店舗情報の高さの中央にそろえる */
.map-wrap {
	width: min(100%, 380px);
	justify-self: center;
	align-self: center;
	display: grid;
	gap: 18px;
	justify-items: center;
}
.map-link {
	font-family: var(--f-latin);
	font-style: italic;
	font-size: 15px;
	color: var(--gold-text);
	border-bottom: 1px solid currentColor;
}
.map {
	width: calc(100% - 20px);
	aspect-ratio: 1 / 1;
	margin: 10px;
	background: var(--champagne);
	outline: 1px solid var(--gold-soft);
	outline-offset: 10px;
	display: grid;
	place-items: center;
	font-family: var(--f-latin);
	font-style: italic;
	color: var(--gold-text);
	overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; }
.rules { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--gold-soft); }
.rules h3 { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.rules li { font-size: 14px; padding-left: 1.2em; position: relative; }
.rules li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .8em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rose);
}

/* ご予約・お問い合わせ（トップ） */
.contact-cta { background: var(--champagne); }
.cta-box {
	max-width: 760px;
	margin: 0 auto;
	background: var(--white);
	outline: 1px solid var(--gold);
	outline-offset: -12px;
	padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 56px);
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 6px;
}
.cta-box .sec-head { margin-bottom: 18px; }
.cta-box p { max-width: 32em; }
.cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px 28px;
	margin-top: 22px;
}
.tel { font-family: var(--f-latin); font-size: 22px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.tel small { display: block; font-family: var(--f-mincho); font-size: 11.5px; letter-spacing: .14em; color: var(--gold-text); }

/* トップ以外で index.php が使われたとき */
.simple-item { padding-block: 24px; border-bottom: 1px solid var(--gold-soft); }
.simple-item h2 { font-weight: 400; font-size: 19px; margin-bottom: 6px; }

/* ==========================================================
   5. 下層ページ共通
   ========================================================== */
.page-title { background: var(--champagne); padding-block: clamp(44px, 6vw, 64px); text-align: center; }
.page-title .sec-head { margin-bottom: 0; }
.crumb { font-family: var(--f-latin); font-size: 13px; letter-spacing: .14em; color: var(--gold-text); margin-top: 14px; }
.crumb a { border-bottom: 1px solid var(--gold-soft); }

/* ページ送り（1 2 3…） */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding-inline: 8px;
	border: 1px solid var(--gold-soft);
	font-family: var(--f-latin);
	font-size: 16px;
	color: var(--gold-text);
}
.pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--gold); }

/* ==========================================================
   6. NEWS一覧
   ========================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.news-card a { display: grid; gap: 10px; }
.news-card .thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--champagne);
	display: grid;
	place-items: center;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card .thumb .dog-illust { width: 34%; opacity: .85; }
.news-card a:hover .thumb img { transform: scale(1.04); }
.meta { display: flex; align-items: center; gap: 14px; }
.news-card h2 { font-weight: 400; font-size: 17px; line-height: 1.7; }
.news-card .excerpt { font-size: 13.5px; color: var(--gold-text); line-height: 1.8; }

/* ==========================================================
   7. 記事詳細
   ========================================================== */
.single-head { background: var(--champagne); padding-block: clamp(40px, 6vw, 64px); margin-bottom: clamp(40px, 6vw, 56px); }
.single-head .crumb { margin: 0 0 18px; }
.single-head h1 { font-weight: 400; font-size: clamp(22px, 3vw, 30px); line-height: 1.6; margin-top: 10px; text-wrap: balance; }
.single-thumb { margin-bottom: 40px; }
.single-thumb img { width: 100%; }

/* 記事本文（ブロックエディタで書いた内容） */
.entry-content { font-size: 15.5px; line-height: 2; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 {
	font-weight: 600;
	font-size: 21px;
	line-height: 1.6;
	margin-top: 2.4em;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--gold-soft);
}
.entry-content h3 { font-weight: 600; font-size: 18px; margin-top: 2em; }
.entry-content a { color: var(--gold-text); border-bottom: 1px solid var(--gold); }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { padding-left: 1.4em; }
.entry-content img { margin-inline: auto; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); color: var(--gold-text); }

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 64px;
	padding-block: 20px;
	border-top: 1px solid var(--gold-soft);
	border-bottom: 1px solid var(--gold-soft);
	font-size: 14px;
}
.post-nav .next { text-align: right; }
.post-nav a:hover { color: var(--gold-text); }
.single + .sec, .single { padding-bottom: clamp(56px, 8vw, 96px); }

/* ==========================================================
   8. ご予約・お問い合わせ（Contact Form 7）
   ========================================================== */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-intro { text-align: center; margin-bottom: 40px; font-size: 14.5px; }

.form { display: grid; gap: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 22px; min-width: 0; }
.group-label {
	width: 100%;
	padding: 0 0 6px;
	border-bottom: 1px solid var(--gold-soft);
	font-family: var(--f-latin);
	font-style: italic;
	font-size: 20px;
	color: var(--gold-text);
}
.field { display: grid; gap: 8px; min-width: 0; }
.field > label,
.field > .lbl { font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* 必須・任意マーク */
.req, .opt { font-family: var(--f-round); font-size: 10.5px; padding: 1px 8px; border-radius: 99px; letter-spacing: .08em; line-height: 1.6; }
.req { background: var(--rose); color: #FFFBF5; }
.opt { border: 1px solid var(--gold-soft); color: var(--gold-text); }

/* 入力欄 */
.wpcf7-form-control-wrap { display: block; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form select,
.form textarea {
	width: 100%;
	font: inherit;
	font-size: 16px; /* 16px未満だとiPhoneで入力時に画面が拡大されるため */
	color: var(--ink);
	background: var(--cream);
	border: 1px solid var(--gold-soft);
	border-radius: 2px;
	padding: 12px 14px;
	transition: border-color .2s, box-shadow .2s;
}
.form select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-text) 50%), linear-gradient(135deg, var(--gold-text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 184, 174, .35); }
.form ::placeholder { color: #BFB2A3; }
.hint { font-size: 12.5px; color: var(--gold-text); }

/* ご用件（ご予約 / お問い合わせ）のボタン型ラジオ */
.choice .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 12px; }
.choice .wpcf7-list-item { margin: 0; }
.choice label { cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .wpcf7-list-item-label {
	display: inline-block;
	padding: 10px 26px;
	border: 1px solid var(--gold-soft);
	background: var(--cream);
	font-size: 14.5px;
	transition: background .2s, color .2s, border-color .2s;
}
.choice input:checked + .wpcf7-list-item-label { background: var(--mocha); border-color: var(--mocha); color: var(--white); }
.choice input:focus-visible + .wpcf7-list-item-label { box-shadow: 0 0 0 3px rgba(217, 184, 174, .6); }

/* ワンちゃんの大きさ（チェックボックス） */
.checks .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.checks .wpcf7-list-item { margin: 0; }
.checks label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.checks input { accent-color: var(--mocha); width: 16px; height: 16px; }

.agree { font-size: 13px; color: var(--gold-text); background: var(--champagne); padding: 16px 20px; line-height: 1.8; }

.submit { display: grid; justify-items: center; gap: 10px; margin-top: 6px; position: relative; }
.submit .btn-fill { min-width: min(320px, 100%); font-size: 16px; padding-block: 16px; }
.submit .wpcf7-spinner { position: absolute; bottom: -34px; margin: 0; }

/* エラー表示 */
.wpcf7-not-valid { border-color: var(--rose-deep) !important; }
.wpcf7-not-valid-tip,
.date-note { display: block; margin-top: 6px; font-family: var(--f-round); font-size: 12.5px; color: var(--error); }
.date-note[hidden] { display: none; }
.form input.is-warn { border-color: var(--rose-deep); }
.wpcf7 form .wpcf7-response-output {
	margin: 32px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--rose);
	background: #FBF3F0;
	font-family: var(--f-round);
	font-size: 13.5px;
	text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold); background: var(--champagne); }

/* 送信完了 */
.thanks {
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 48px 24px;
	text-align: center;
	outline: 1px solid var(--gold);
	outline-offset: -10px;
}
.thanks[hidden] { display: none; }
.thanks .logo-img { width: 90px; }
.thanks h2 { font-weight: 400; font-size: 22px; }

/* ==========================================================
   8-2. パンくずリスト（Breadcrumb NavXT）
   ========================================================== */
.breadcrumb {
	margin-top: 14px;
	font-family: var(--f-latin);
	font-size: 13px;
	letter-spacing: .1em;
	color: var(--gold-text);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 .5em;
	line-height: 1.8;
}
.single-head .breadcrumb { justify-content: flex-start; margin: 0 0 18px; }
.breadcrumb a { border-bottom: 1px solid var(--gold-soft); transition: border-color .3s; }
.breadcrumb a:hover { border-color: var(--gold); }
.breadcrumb .current-item {
	color: var(--ink);
	max-width: 22em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
	display: inline-block;
}

/* ==========================================================
   8-3. メニュー一覧（archive-dc_menu.php）
   ========================================================== */
a.item h3 { transition: color .3s; }
a.item:hover h3 { color: var(--gold-text); }
a.item .ph img { transition: transform .6s; }
a.item:hover .ph img { transform: scale(1.04); }

.menu-lead { text-align: center; font-size: 14.5px; margin-bottom: 36px; }
.menu-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 64px;
}
.menu-tabs a {
	padding: 8px 22px;
	border: 1px solid var(--gold-soft);
	font-size: 14px;
	transition: background .3s, border-color .3s, color .3s;
}
.menu-tabs a:hover { background: var(--mocha); border-color: var(--mocha); color: var(--white); }

.menu-section { scroll-margin-top: 24px; }
.menu-section + .menu-section { margin-top: clamp(64px, 9vw, 104px); }
.menu-cat-title {
	display: flex;
	align-items: center;
	gap: 20px;
	font-weight: 400;
	font-size: clamp(20px, 2.4vw, 24px);
	letter-spacing: .12em;
	margin-bottom: 8px;
}
.menu-cat-title::before,
.menu-cat-title::after { content: ""; flex: 1; height: 1px; background: var(--gold-soft); }
.menu-cat-desc { text-align: center; font-size: 14px; color: var(--gold-text); }
.menu-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
	margin-top: 36px;
}
.menu-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.mc-photo {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50% 50% 0 0 / 34% 34% 0 0;
	background: var(--champagne);
	display: grid;
	place-items: center;
}
.mc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mc-photo .dog-illust { width: 36%; opacity: .85; }
.menu-card:hover .mc-photo img { transform: scale(1.04); }
.mc-body { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.mc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mc-meta .for { font-family: var(--f-round); font-size: 11px; color: var(--rose-deep); letter-spacing: .14em; }
.mc-meta .vol { font-size: 12px; color: var(--gold-text); }
.menu-card h3 { font-weight: 400; font-size: 18px; line-height: 1.6; }
.menu-card h3 a:hover { color: var(--gold-text); }
.mc-catch { font-size: 13.5px; color: var(--gold-text); line-height: 1.7; }
.mc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mc-row .price,
.md-price { font-family: var(--f-latin); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mc-taste {
	margin-top: 4px;
	padding: 14px 16px;
	background: var(--champagne);
	font-size: 13px;
	line-height: 1.8;
}
.mc-taste .lbl { display: block; font-family: var(--f-latin); font-style: italic; font-size: 15px; color: var(--gold-text); margin-bottom: 2px; }
.mc-taste p {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mc-link { margin-top: auto; padding-top: 8px; align-self: flex-end; font-family: var(--f-latin); font-style: italic; font-size: 15px; color: var(--gold-text); border-bottom: 1px solid var(--gold-soft); }
.mc-link:hover { border-color: var(--gold); }

/* 食いつき（足あとマーク） */
.rating { display: inline-flex; gap: 3px; }
.rating svg { width: 17px; height: 17px; display: block; }
.rating .on svg { fill: var(--rose-deep); }
.rating .off svg { fill: var(--gold-soft); }

/* ==========================================================
   8-4. メニュー詳細（single-dc_menu.php）
   ========================================================== */
.menu-detail {
	display: grid;
	grid-template-columns: .9fr 1.1fr; /* 写真の列をコンセプトと同じ幅にして、写真を同じ大きさにする */
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
}
.md-photo { aspect-ratio: .85; }
.md-photo .dog-illust { width: 40%; }
.md-body { display: grid; gap: 10px; justify-items: start; }
.md-body h1 { font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.5; }
.md-catch { color: var(--gold-text); }
.md-price { font-size: 26px; margin-top: 4px; }
.md-price small { font-family: var(--f-mincho); font-size: 12px; color: var(--gold-text); margin-left: 4px; }
.md-block { width: 100%; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--gold-soft); }
.md-block h2 { font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--gold-text); margin-bottom: 8px; }
.md-block .rating svg { width: 22px; height: 22px; }
.md-ing { font-size: 14px; }
.related { background: var(--champagne); }
.related .item .ph { background: var(--white); }

/* こちらもおすすめ：メニューが右から左へゆっくり流れ続ける（画面の端はふわっと消える） */
.menu-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.menu-marquee-track {
	display: flex;
	width: max-content;
	animation: dc-slide var(--dur, 60s) linear infinite; /* dc-slide はファイル下の背景スライダーと同じ動き */
}
.menu-marquee:hover .menu-marquee-track,
.menu-marquee:focus-within .menu-marquee-track { animation-play-state: paused; } /* マウスをのせると止まる */
.menu-marquee .item { width: 220px; margin-right: 36px; flex: none; }
@media (max-width: 760px) {
	.menu-marquee .item { width: 160px; margin-right: 22px; }
	.menu-marquee .item h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	/* 動きを減らす設定の人には、流さずに指で横スクロールできるようにする */
	.menu-marquee { overflow-x: auto; }
	.menu-marquee-track { animation: none; }
}

/* ==========================================================
   9. フッター
   ========================================================== */
.site-footer { border-top: 1px solid var(--gold-soft); }
.site-footer .in { display: grid; justify-items: center; gap: 16px; padding-block: 48px 28px; text-align: center; }
.site-footer .logo-img { width: 96px; }
.site-footer address { font-style: normal; font-size: 13.5px; }
.sns { display: flex; gap: 26px; font-family: var(--f-latin); letter-spacing: .24em; font-size: 13px; color: var(--gold-text); }
.sns a:hover { color: var(--ink); }
.copy { font-family: var(--f-latin); font-size: 12.5px; color: var(--gold-light); letter-spacing: .12em; margin-top: 10px; }

/* ==========================================================
   10. スマートフォン（760px以下）
   ========================================================== */
@media (max-width: 760px) {
	.hero .in,
	.concept .in,
	.info .in { grid-template-columns: 1fr; }
	.hero .arch { max-width: 300px; width: calc(100% - 28px); justify-self: center; } /* コンセプトの写真と同じ大きさ */
	.concept .arch { max-width: 300px; width: calc(100% - 28px); justify-self: center; }

	.menu-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
	.menu-grid .item:last-child:nth-child(odd) { grid-column: span 2; max-width: 50%; justify-self: center; }

	.news-list a { grid-template-columns: auto 1fr; gap: 4px 14px; }
	.news-list .ttl { grid-column: 1 / -1; }
	.news-grid { grid-template-columns: 1fr; gap: 40px; }

	/* スマホ：ハンバーガーメニュー（白い帯はなし。三本線だけを右上に置き、押すと右上にメニューが開く） */
	.site-header { z-index: 20; padding-bottom: 40px; } /* overflow の指定はファイルの一番下 */
	.bg-slider { overflow: hidden; }                                       /* 写真はヘッダーの中だけに表示 */
	.gnav { position: absolute; top: 10px; right: 10px; }
	.gnav::before { display: none; }
	.menu-toggle { display: flex; padding: 10px; position: relative; z-index: 2; } /* 開いたメニューより手前に出して、×で閉じられるようにする */
	.menu-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* 「MENU」の文字は隠す（読み上げ用には残す） */
	.menu-toggle .bars { width: 30px; height: 20px; }
	.menu-toggle .bars span { height: 2px; margin-top: -1px; }

	/* 全画面メニュー：右からスッとスライドして出てくる。後ろのページがうっすら透けて見える */
	.gnav ul {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0;
		padding: 40px;
		font-size: 17px;
		letter-spacing: .32em;
		background: rgba(255, 253, 249, .78);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .6s cubic-bezier(.77, 0, .18, 1), visibility 0s .6s;
	}
	.gnav.is-open ul {
		transform: translateX(0);
		visibility: visible;
		transition: transform .6s cubic-bezier(.77, 0, .18, 1);
	}
	.gnav li { width: min(100%, 240px); text-align: center; opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .4s; }
	.gnav li + li { border-top: 1px solid var(--gold-soft); }
	.gnav li a { display: block; padding-block: 18px; border-bottom: 0; color: var(--ink); }
	/* 項目がひとつずつ順番にふわっと出てくる */
	.gnav.is-open li { opacity: 1; transform: none; transition: opacity .5s, transform .5s; }
	.gnav.is-open li:nth-child(1) { transition-delay: .25s; }
	.gnav.is-open li:nth-child(2) { transition-delay: .32s; }
	.gnav.is-open li:nth-child(3) { transition-delay: .39s; }
	.gnav.is-open li:nth-child(4) { transition-delay: .46s; }
	.gnav.is-open li:nth-child(5) { transition-delay: .53s; }
	.gnav.is-open li:nth-child(6) { transition-delay: .60s; }
	html.nav-open { overflow: hidden; } /* 開いている間は後ろをスクロールさせない */

	/* --- スマホ：コンセプトの本文をまとまりよく（両端をそろえ、行間・段落の間隔を統一） --- */
	.concept-text { max-width: 30em; margin-inline: auto; }
	.concept-text p { font-size: 14px; line-height: 2.1; text-align: justify; text-justify: inter-character; }
	.concept-text p + p { margin-top: 1.1em; }
	.two { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { text-align: left; }

	.menu-cards { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
	.menu-card h3 { font-size: 16px; }
	.mc-taste { padding: 12px; }
	.menu-detail { grid-template-columns: 1fr; }
	.md-photo { max-width: 300px; width: calc(100% - 28px); justify-self: center; } /* コンセプトの写真と同じ大きさ */
	.breadcrumb .current-item { max-width: 14em; }

	/* --- スマホ：全ページの左右の余白をたっぷりに（元は20px） --- */
	.in { padding-left: 40px; padding-right: 40px; }

	/* --- スマホ：地図を小さめに --- */
	.map-wrap { width: min(100%, 250px); }

	/* --- スマホ：全体の上下の余白（広すぎず、ゆとりのある程度に） --- */
	.sec { padding-block: 60px; }
	.sec-head { margin-bottom: 36px; }

	/* --- スマホ：ヘッダー（ロゴ・リボンを小さく、写真が流れる部分の高さを低く） --- */
	/* 写真が流れる部分を上下に広げる（ヘッダーの高さは約200px：34 + ロゴ104 + リボン約20 + 40 + 線1） */
	.site-header { padding-top: 34px; }
	.site-header .in { gap: 18px; }
	.site-header .logo-img { width: 104px; }
	.ribbon { margin-top: -10px; font-size: 11.5px; letter-spacing: .12em; padding: 4px 22px; }
	.ribbon::before,
	.ribbon::after { top: 5px; width: 18px; }
	.ribbon::before { left: -13px; }
	.ribbon::after { right: -13px; }

	/* --- スマホ：メインビジュアル（文章は左そろえ・MENUボタンと写真は真ん中） --- */
	.hero .in { padding-block: 0 12px; gap: 16px; text-align: center; }
	/* 開いた画面にはヘッダーと文章だけが入り、犬の写真はスクロールすると見えてくるようにする
	   （文章の部分を「画面の高さ − ヘッダーの高さ200px」にして、その中で文章を上下まん中に置く） */
	.hero .in > div:first-child {
		min-height: calc(100vh - 200px);
		min-height: calc(100svh - 200px); /* スマホのアドレスバーを除いた高さ（対応していない機種は上の行を使う） */
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-block: 8px 14vh; /* 下の余白を多めにして、文章のかたまりを真ん中より少し上に置く */
		padding-block: 8px 14svh;
	}
	/* 文章どうしの間を少しゆったりに */
	.hero h1 { margin-top: 22px; }
	.hero .lead { margin-top: 44px; line-height: 2.05; } /* 見出しとの間を広げて、英字と見出しを少し上へ */
	.hero .lead p + p { margin-top: 1.3em; }            /* 本文の2つの段落の間 */
	.hero .btn { margin-top: 34px; }

	/* 英字・見出し・本文は左そろえ（MENUボタンだけ真ん中） */
	.hero .in > div:first-child { align-items: stretch; text-align: left; }
	.hero .lead { margin-inline: 0; text-align: left; }
	.hero .btn { align-self: center; }
	.hero h1 { font-size: 25px; }

	/* --- スマホ：コンセプト・アクセスの見出しもまん中に（本文は読みやすいよう左そろえのまま） --- */
	.sec-head.is-left { justify-items: center; text-align: center; }
	.concept h2 { text-align: center; }

	/* --- スマホ：トップの NEWS は上下を広めに --- */
	#news { padding-block: 24px 40px; }      /* 写真との間・下の余白を小さめに */
	#news .sec-head { margin-bottom: 24px; } /* 「おしらせ」の下 */
	#news .more { margin-top: 24px; }        /* View more の上 */
	.news-list a { padding-block: 14px; }

	/* --- スマホ：メニュー一覧の写真をコンセプトの写真と同じ大きさ（最大300px）に --- */
	.menu-card { width: 100%; max-width: 300px; justify-self: center; }
}
@media (max-width: 480px) {
	.menu-cards { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 960px) {
	.news-grid,
	.menu-cards { grid-template-columns: repeat(2, 1fr); }
}

/* 動きを減らす設定の人には、アニメーションをしない */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}



body {
  cursor: url('images/paw-cursor-32.png') 13 13, auto;
}

a,
button {
  cursor: url('images/paw-cursor-32.png') 13 13, pointer;
}
/* ==========================================================
   肉球がころころ流れる演出（script.js）
   ========================================================== */
.paw-layer {
	position: fixed;
	inset: 0;
	z-index: 50;
	pointer-events: none;
	overflow: hidden;
}
.paw-fall {
	position: absolute;
	top: 0;
	display: block;
	will-change: transform, opacity;
}
.paw-fall svg { width: 100%; height: 100%; display: block; }

/* ==========================================================
   ヘッダー・フッターの背景スライダー（functions.php の dc_bg_slider）
   画像を横に並べ、右から左へ一定の速さで流す
   ========================================================== */
.site-header,
.site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.bg-slider {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .2;            /* 濃さ：数字を大きくすると濃くなる */
	pointer-events: none;
}
.bg-slider-track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: dc-slide 120s linear infinite;   /* 速さ：秒数を小さくすると速くなる */
}
.bg-slider-track img {
	height: 100%;
	width: auto;
	max-width: none;
	flex: none;
	display: block;
}
@keyframes dc-slide {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.bg-slider-track { animation: none; }
}

/* スマホ：右上のハンバーガーメニューを開いたとき、メニューがヘッダーで切れないようにする
   （上の .site-header { overflow: hidden } より後ろに書く必要があるので、ここに置いている） */
@media (max-width: 760px) {
	.site-header { overflow: visible; }
}
