/*
Theme Name: いぬとねこ
Theme URI: https://dog-cat.org
Author: いぬとねこ運営
Description: 繁殖引退犬猫の里親募集サービス「いぬとねこ」専用のオリジナルテーマ。オレンジ×アイボリーの配色。CSSはこのファイル単一で管理する（SCSS等は使わない）。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: inutoneko
*/

/* =====================================================
 * 目次
 * 01. デザイントークン（配色・フォントの変数）
 * 02. リセット・ベース
 * 03. レイアウト共通
 * 04. ヘッダー
 * 05. フッター
 * =====================================================
 * ルール：
 * - CSSはこのファイルだけで管理する（二重管理禁止）
 * - 色は必ず var(--◯◯) の変数を使う（直書きしない）
 * - スマホファースト（基本スタイル＝スマホ、@mediaでPC）
 * ===================================================== */

/* =====================================================
 * 01. デザイントークン（05_デザインガイド.md が正）
 * ===================================================== */
:root {
	/* 配色 */
	--c-main: #F0831E;       /* メイン：あたたかいオレンジ（ボタン・バッジ・アクセント） */
	--c-main-dark: #D96A0A;  /* メイン濃：ホバー・見出しアクセント */
	--c-sub: #FBBF77;        /* サブ：ライトオレンジ（背景アクセント・タグ） */
	--c-base: #FFF8F0;       /* ベース：アイボリー（ページ背景） */
	--c-text: #4A3B2A;       /* 文字：ダークブラウン */
	--c-trust: #2E8B6D;      /* 信頼色：グリーン（確認済み・譲渡完了バッジ） */
	--c-alert: #D94F30;      /* 注意：必須マーク・警告 */
	--c-dog: #8FB8DE;        /* 犬アクセント：ソフトブルー */
	--c-cat: #E8A0B4;        /* 猫アクセント：ソフトピンク */
	--c-white: #FFFFFF;

	/* 募集区分バッジ（譲渡=オレンジ／販売=ブラウン） */
	--c-badge-adopt: #F0831E;
	--c-badge-sale: #8A6A4A;

	/* フォント */
	--font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;

	/* サイズ・余白 */
	--radius: 8px;
	--content-max: 1080px;
}

/* =====================================================
 * 02. リセット・ベース
 * ===================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--c-base);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--c-main-dark);
}

a:hover {
	color: var(--c-main);
}

h1, h2, h3, h4 {
	line-height: 1.4;
}

/* =====================================================
 * 03. レイアウト共通
 * ===================================================== */
.l-container {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 16px;
}

/* =====================================================
 * 04. ヘッダー
 * ===================================================== */
.site-header {
	background: var(--c-white);
	border-bottom: 3px solid var(--c-main);
	padding: 12px 0;
}

.site-header__logo {
	margin: 0;
	font-size: 22px;
	text-align: center;
}

.site-header__logo a {
	color: var(--c-main-dark);
	text-decoration: none;
	font-weight: 700;
}

.site-header__tagline {
	margin: 4px 0 0;
	font-size: 12px;
	text-align: center;
	color: var(--c-text);
}

/* =====================================================
 * 05. フッター
 * ===================================================== */
.site-footer {
	margin-top: 48px;
	background: var(--c-main-dark);
	color: var(--c-white);
	text-align: center;
	padding: 24px 16px;
	font-size: 13px;
}

.site-footer__nav {
	margin: 0 0 12px;
	line-height: 2;
}

.site-footer__nav a {
	color: var(--c-white);
	text-decoration: none;
}

.site-footer__nav a:hover {
	color: var(--c-white);
	text-decoration: underline;
}

.site-footer__sep {
	opacity: 0.5;
	margin: 0 4px;
}

.site-footer__copy {
	margin: 0;
	opacity: 0.9;
}

/* =====================================================
 * 15. 固定ページ（規約・ポリシー等）
 * ===================================================== */
.page-article {
	max-width: 760px;
	margin: 24px auto 8px;
}

.page-article__title {
	font-size: 24px;
	color: var(--c-main-dark);
	border-bottom: 3px solid var(--c-main);
	padding-bottom: 10px;
	margin: 0 0 20px;
}

.page-article__body {
	line-height: 1.9;
}

.page-article__body h2 {
	font-size: 18px;
	color: var(--c-main-dark);
	border-left: 5px solid var(--c-main);
	padding-left: 10px;
	margin: 28px 0 12px;
}

.page-article__body ul,
.page-article__body ol {
	padding-left: 1.4em;
}

.page-article__body li {
	margin: 6px 0;
}

.page-article__body a {
	color: var(--c-main-dark);
}

.page-draft-note {
	background: #FFF3E6;
	border: 1px solid var(--c-sub);
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 13px;
	color: #8a5a20;
}

/* =====================================================
 * 06. 会員登録の入口（/signup/ の2択ボタン）
 * ===================================================== */
.signup-choice {
	display: grid;
	gap: 16px;
	margin: 24px 0;
}

.signup-choice__btn {
	display: block;
	padding: 24px 20px;
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--c-white);
	text-align: center;
	transition: opacity 0.15s;
}

.signup-choice__btn:hover {
	opacity: 0.9;
	color: var(--c-white);
}

.signup-choice__btn--adopter {
	background: var(--c-main);
}

.signup-choice__btn--breeder {
	background: var(--c-badge-sale);
}

.signup-choice__title {
	display: block;
	font-size: 20px;
	font-weight: 700;
}

.signup-choice__desc {
	display: block;
	margin-top: 8px;
	font-size: 13px;
}

/* PC：2つ横並び */
@media (min-width: 768px) {
	.signup-choice {
		grid-template-columns: 1fr 1fr;
	}
}

/* =====================================================
 * 07. マイページ（/mypage/ のロール別メニュー）
 * ===================================================== */
.mypage__heading {
	margin: 24px 0 8px;
	color: var(--c-main-dark);
}

.mypage__welcome {
	margin: 0 0 24px;
}

.mypage-menu {
	display: grid;
	gap: 12px;
	margin: 0 0 32px;
}

.mypage-menu__item {
	display: block;
	background: var(--c-white);
	border: 1px solid var(--c-sub);
	border-radius: var(--radius);
	padding: 16px;
	text-decoration: none;
	color: var(--c-text);
	transition: box-shadow 0.15s;
}

a.mypage-menu__item:hover {
	box-shadow: 0 2px 8px rgba(240, 131, 30, 0.25);
	color: var(--c-text);
}

.mypage-menu__item--soon {
	opacity: 0.6;
}

.mypage-menu__label {
	display: block;
	font-weight: 700;
	color: var(--c-main-dark);
}

.mypage-menu__soon-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--c-sub);
	color: var(--c-text);
	font-size: 11px;
	font-weight: 400;
	vertical-align: middle;
}

.mypage-menu__desc {
	display: block;
	margin-top: 4px;
	font-size: 13px;
}

.mypage__logout {
	margin: 0 0 40px;
}

/* PC：2列 */
@media (min-width: 768px) {
	.mypage-menu {
		grid-template-columns: 1fr 1fr;
	}
}

/* =====================================================
 * 08. 募集カードグリッド（一覧・トップ共通／写真主役・4:5）
 * ===================================================== */
.pet-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 16px 0 24px;
}

.pet-card-wrap {
	position: relative;
}

.pet-card {
	display: block;
	background: var(--c-white);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--c-text);
	box-shadow: 0 1px 4px rgba(74, 59, 42, 0.08);
	transition: transform 0.15s, box-shadow 0.15s;
}

/* お気に入りハート */
.fav-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 1px 4px rgba(74, 59, 42, 0.2);
	cursor: pointer;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fav-btn__icon {
	font-size: 20px;
	color: #c9b8a6;
}

.fav-btn.is-fav .fav-btn__icon {
	color: var(--c-cat);
}

.fav-btn.is-loading {
	opacity: 0.6;
}

.pet-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(240, 131, 30, 0.25);
	color: var(--c-text);
}

.pet-card__photo {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--c-sub);
}

.pet-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pet-card__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 48px;
	opacity: 0.6;
}

.pet-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 2px 10px;
	border-radius: 999px;
	color: var(--c-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}

.pet-card__badge--adopt {
	background: var(--c-badge-adopt);
}

.pet-card__badge--sale {
	background: var(--c-badge-sale);
}

.pet-card__body {
	padding: 10px 12px 12px;
}

.pet-card__breed {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--c-main-dark);
	line-height: 1.4;
}

.pet-card__meta {
	margin: 4px 0 0;
	font-size: 13px;
}

.pet-card__pref {
	margin: 2px 0 0;
	font-size: 12px;
	color: #8a7a66;
}

/* PC：4列 */
@media (min-width: 768px) {
	.pet-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
	}
}

/* =====================================================
 * 09. 絞り込みフォーム（一覧・トップ共通）
 * ===================================================== */
.pet-filter {
	background: var(--c-white);
	border: 1px solid var(--c-sub);
	border-radius: var(--radius);
	padding: 16px;
	margin: 16px 0;
}

.pet-filter__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.pet-filter__item {
	display: block;
}

.pet-filter__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 4px;
}

.pet-filter select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--c-sub);
	border-radius: 6px;
	background: var(--c-white);
	color: var(--c-text);
	font-size: 16px; /* スマホでの拡大ズーム防止 */
}

.pet-filter__submit {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 12px;
	border: none;
	border-radius: 999px;
	background: var(--c-main);
	color: var(--c-white);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.pet-filter__submit:hover {
	background: var(--c-main-dark);
}

/* PC：横一列＋ボタン */
@media (min-width: 768px) {
	.pet-filter__grid {
		grid-template-columns: repeat(5, 1fr);
	}

	.pet-filter__submit {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* =====================================================
 * 10. 一覧まわり（見出し・犬猫タブ・件数・ページ送り・0件）
 * ===================================================== */
.listing__title {
	margin: 24px 0 12px;
	font-size: 20px;
	color: var(--c-main-dark);
}

.species-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.species-tabs__tab {
	display: block;
	padding: 10px;
	border: 2px solid var(--c-main);
	border-radius: 999px;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	color: var(--c-main-dark);
	background: var(--c-white);
}

.species-tabs__tab.is-active,
.species-tabs__tab:hover {
	background: var(--c-main);
	color: var(--c-white);
}

.listing__desc {
	margin: 4px 0 12px;
	font-size: 13px;
	color: #6b5c48;
	line-height: 1.8;
}

.listing__count {
	margin: 8px 0 0;
	font-size: 13px;
}

/* 品種×地域LPの関連リンク */
.lp-related {
	margin: 32px 0 8px;
}

.lp-related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.lp-related__list a {
	display: block;
	background: var(--c-white);
	border: 1px solid var(--c-sub);
	border-radius: var(--radius);
	padding: 12px 14px;
	text-decoration: none;
	color: var(--c-main-dark);
	font-weight: 700;
}

.lp-related__list a:hover {
	border-color: var(--c-main);
}

.listing__empty {
	text-align: center;
	padding: 32px 16px;
}

.listing__empty-icon {
	font-size: 40px;
	margin: 0 0 8px;
}

/* WP標準のページ送りを丸ボタン化 */
.pagination {
	margin: 8px 0 40px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--c-white);
	border: 1px solid var(--c-sub);
	text-align: center;
	text-decoration: none;
	color: var(--c-text);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--c-main);
	border-color: var(--c-main);
	color: var(--c-white);
}

/* =====================================================
 * 11. トップページ（ヒーロー・セクション・CTA）
 * ===================================================== */
.hero {
	background: linear-gradient(160deg, var(--c-base) 0%, var(--c-sub) 130%);
	padding: 40px 0 32px;
	text-align: center;
}

.hero__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-main-dark);
	letter-spacing: 0.1em;
}

.hero__title {
	margin: 8px 0 12px;
	font-size: 26px;
	color: var(--c-main-dark);
	line-height: 1.5;
}

.hero__lead {
	margin: 0 auto;
	max-width: 640px;
	font-size: 14px;
}

.hero__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	max-width: 560px;
	margin: 24px auto 0;
}

.hero__btn {
	display: block;
	padding: 16px 8px;
	border-radius: var(--radius);
	color: var(--c-white);
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(74, 59, 42, 0.2);
	transition: opacity 0.15s;
}

.hero__btn:hover {
	opacity: 0.9;
	color: var(--c-white);
}

.hero__btn--dog {
	background: var(--c-main);
}

.hero__btn--cat {
	background: var(--c-main-dark);
}

.top-section__title {
	margin: 32px 0 8px;
	font-size: 20px;
	color: var(--c-main-dark);
	text-align: center;
}

.top-new__more {
	text-align: center;
	margin: 0 0 16px;
}

.top-new__more-link {
	font-weight: 700;
}

.top-cta {
	margin: 32px 0 0;
}

.top-cta__box {
	background: var(--c-white);
	border: 2px solid var(--c-main);
	border-radius: var(--radius);
	text-align: center;
	padding: 24px 16px;
}

.top-cta__title {
	margin: 0 0 8px;
	color: var(--c-main-dark);
}

.top-cta__btn {
	display: inline-block;
	margin-top: 8px;
	padding: 12px 32px;
	border-radius: 999px;
	background: var(--c-main);
	color: var(--c-white);
	text-decoration: none;
	font-weight: 700;
}

.top-cta__btn:hover {
	background: var(--c-main-dark);
	color: var(--c-white);
}

/* PC */
@media (min-width: 768px) {
	.hero__title {
		font-size: 34px;
	}

	.hero__lead {
		font-size: 15px;
	}
}

/* =====================================================
 * 12. 個別募集ページ
 * ===================================================== */
.single-pet {
	padding-bottom: 24px;
}

/* パンくず */
.breadcrumb {
	margin: 16px 0 8px;
	font-size: 12px;
	color: #8a7a66;
}

.breadcrumb a {
	color: #8a7a66;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
	margin: 0 6px;
}

.breadcrumb__current {
	color: var(--c-text);
}

/* タイトルとバッジ */
.single-pet__head {
	margin: 4px 0 16px;
}

.single-pet__badge {
	position: static;
	display: inline-block;
	margin-bottom: 8px;
	font-size: 13px;
	padding: 3px 14px;
}

.single-pet__title-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	justify-content: space-between;
}

.single-pet__title {
	margin: 0;
	font-size: 24px;
	color: var(--c-main-dark);
	line-height: 1.4;
}

.single-pet__title-row .fav-btn {
	position: static;
	flex: 0 0 auto;
}

/* 迎えた子の記録リスト */
.adopted-list {
	display: grid;
	gap: 10px;
	margin: 16px 0 24px;
}

.adopted-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--c-white);
	border: 1px solid var(--c-sub);
	border-radius: var(--radius);
	padding: 12px;
}

.adopted-item__thumb {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--c-sub);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
}

.adopted-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.adopted-item__title {
	margin: 0;
	font-weight: 700;
	color: var(--c-main-dark);
}

.adopted-item__meta {
	margin: 4px 0 0;
	font-size: 13px;
	color: #6b5c48;
}

.transfer-box__both {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--c-trust);
	font-weight: 700;
}

/* 2カラムレイアウト */
.single-pet__layout {
	display: block;
}

/* 写真ギャラリー */
.pet-gallery__main {
	aspect-ratio: 4 / 5;
	max-width: 480px;
	margin: 0 auto;
	background: var(--c-sub);
	border-radius: var(--radius);
	overflow: hidden;
}

.pet-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pet-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
	justify-content: center;
}

.pet-gallery__thumb {
	width: 64px;
	height: 80px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	background: var(--c-sub);
	cursor: pointer;
}

.pet-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pet-gallery__thumb.is-active {
	border-color: var(--c-main);
}

/* セクション共通 */
.pet-section {
	margin: 24px 0;
}

.pet-section__title {
	font-size: 18px;
	color: var(--c-main-dark);
	border-left: 5px solid var(--c-main);
	padding-left: 10px;
	margin: 0 0 12px;
}

/* 基本情報テーブル */
.pet-info {
	width: 100%;
	border-collapse: collapse;
	background: var(--c-white);
	border-radius: var(--radius);
	overflow: hidden;
}

.pet-info th,
.pet-info td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--c-base);
	font-size: 14px;
	vertical-align: top;
}

.pet-info th {
	width: 34%;
	background: var(--c-base);
	color: var(--c-main-dark);
	font-weight: 700;
	white-space: nowrap;
}

.pet-price {
	font-size: 18px;
	color: var(--c-main-dark);
}

.pet-price__note {
	display: block;
	font-size: 12px;
	color: #8a7a66;
	font-weight: 400;
}

.pet-intro {
	margin-top: 16px;
	line-height: 1.9;
}

/* ★透明性の開示（主役セクション） */
.disclosure {
	background: linear-gradient(180deg, #FFFDF9 0%, var(--c-base) 100%);
	border: 2px solid var(--c-main);
	border-radius: 12px;
	padding: 20px 16px;
}

.disclosure__head {
	text-align: center;
	margin-bottom: 16px;
}

.disclosure__title {
	display: inline-block;
	margin: 0;
	font-size: 20px;
	color: var(--c-main-dark);
	border: none;
	padding: 0;
}

.disclosure__title::before,
.disclosure__title::after {
	content: "🐾";
	margin: 0 8px;
	font-size: 16px;
}

.disclosure__lead {
	margin: 8px auto 0;
	max-width: 560px;
	font-size: 13px;
	line-height: 1.8;
}

.disclosure__group {
	background: var(--c-white);
	border-radius: var(--radius);
	padding: 14px;
	margin-top: 12px;
}

.disclosure__group-title {
	margin: 0 0 10px;
	font-size: 15px;
	color: var(--c-main-dark);
}

.disclosure__items {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.disclosure__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	background: var(--c-base);
	border-radius: 6px;
}

.disclosure__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--c-main-dark);
}

.disclosure__value {
	font-size: 14px;
	line-height: 1.7;
}

.disclosure__checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.disclosure__check {
	background: var(--c-sub);
	color: var(--c-text);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}

.disclosure__note {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.9;
}

/* 動画埋め込み */
.pet-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
}

.pet-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 飼育環境の写真 */
.pet-env-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.pet-env-grid img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 6px;
}

.pet-terms {
	line-height: 1.9;
}

/* サイドバー：掲載者情報 */
.breeder-box {
	background: var(--c-white);
	border: 1px solid var(--c-sub);
	border-radius: var(--radius);
	padding: 16px;
	margin-top: 24px;
}

.breeder-box__title {
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--c-main-dark);
}

.breeder-box__name {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
}

.verified-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--c-trust);
	color: var(--c-white);
	font-size: 12px;
	font-weight: 700;
	vertical-align: middle;
}

.breeder-box__row {
	margin: 6px 0 0;
	font-size: 13px;
}

.breeder-box__row span {
	display: block;
	font-size: 11px;
	color: #8a7a66;
}

/* サイドバー：お問い合わせ */
.contact-box {
	background: var(--c-white);
	border: 2px solid var(--c-main);
	border-radius: var(--radius);
	padding: 16px;
	margin-top: 16px;
	text-align: center;
}

.contact-box__lead {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
}

.contact-box__btn {
	display: block;
	padding: 14px;
	border-radius: 999px;
	background: var(--c-main);
	color: var(--c-white);
	text-decoration: none;
	font-weight: 700;
}

.contact-box__btn:hover {
	background: var(--c-main-dark);
	color: var(--c-white);
}

.contact-box__btn--soon {
	background: #c9bCaa;
	cursor: default;
	position: relative;
}

.contact-box__btn--soon:hover {
	background: #c9bcaa;
}

.contact-box__soon {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	font-size: 11px;
	font-weight: 400;
}

.contact-box__note {
	margin: 10px 0 0;
	font-size: 12px;
	color: #8a7a66;
}

.single-pet__back {
	margin: 24px 0 0;
}

/* =====================================================
 * 13. メッセージ画面の紐付け募集カード（Front End PM内）
 * ===================================================== */
.fep-pinned {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--c-base);
	border: 1px solid var(--c-sub);
	border-radius: var(--radius);
	padding: 10px 12px;
	margin: 0 0 16px;
	text-decoration: none;
	color: var(--c-text);
}

.fep-pinned:hover {
	border-color: var(--c-main);
	color: var(--c-text);
}

.fep-pinned__img {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--c-sub);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fep-pinned__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fep-pinned__noimg {
	font-size: 24px;
}

.fep-pinned__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fep-pinned__label {
	font-size: 11px;
	color: var(--c-main-dark);
	font-weight: 700;
}

.fep-pinned__title {
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* =====================================================
 * 14. 譲渡完了トラッキング（ボタン・バナー・リボン）
 * ===================================================== */
/* メッセージ内の譲渡完了ボタン */
.transfer-box {
	background: #F3FBF7;
	border: 2px solid var(--c-trust);
	border-radius: var(--radius);
	padding: 14px;
	margin: 0 0 16px;
	text-align: center;
}

.transfer-box__lead {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--c-text);
}

.transfer-box__btn {
	display: inline-block;
	width: 100%;
	padding: 14px 16px;
	border: none;
	border-radius: 999px;
	background: var(--c-trust);
	color: var(--c-white);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.transfer-box__btn:hover {
	filter: brightness(0.95);
}

.transfer-box--done {
	background: #F3FBF7;
}

.transfer-box__done {
	margin: 0;
	font-weight: 700;
	color: var(--c-trust);
}

.transfer-box__undo {
	margin-top: 10px;
	padding: 6px 14px;
	background: transparent;
	border: 1px solid #b9b0a2;
	border-radius: 999px;
	color: #8a7a66;
	font-size: 12px;
	cursor: pointer;
}

.transfer-box__undo:hover {
	background: var(--c-white);
}

/* 個別ページ：譲渡決定バナー */
.adopted-banner {
	background: linear-gradient(135deg, var(--c-trust) 0%, #3aa07d 100%);
	color: var(--c-white);
	border-radius: 12px;
	padding: 20px 16px;
	text-align: center;
	margin: 16px 0 8px;
}

.adopted-banner__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.adopted-banner__note {
	margin: 6px 0 0;
	font-size: 13px;
	opacity: 0.95;
}

.adopted-banner__link {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 20px;
	border-radius: 999px;
	background: var(--c-white);
	color: var(--c-trust);
	text-decoration: none;
	font-weight: 700;
}

.adopted-banner__link:hover {
	color: var(--c-trust);
	opacity: 0.9;
}

/* 決定済みの個別ページは写真をやや落ち着かせる */
.single-pet.is-adopted .pet-gallery__main {
	filter: saturate(0.85);
}

/* カードの「決定しました」リボン */
.pet-card__decided {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(46, 139, 109, 0.72);
	color: var(--c-white);
	font-weight: 700;
	font-size: 14px;
}

/* マイページの実績表示（リンクでない項目） */
.mypage-menu__item--static {
	cursor: default;
}

.mypage-menu__item--static .mypage-menu__label {
	color: var(--c-trust);
}

/* PC：本文＋サイドバーの2カラム */
@media (min-width: 900px) {
	.single-pet__layout {
		display: grid;
		grid-template-columns: 1fr 320px;
		gap: 32px;
		align-items: start;
	}

	.single-pet__side {
		position: sticky;
		top: 16px;
	}

	.breeder-box {
		margin-top: 0;
	}

	.disclosure__items {
		grid-template-columns: 1fr 1fr;
	}

	.disclosure__item--wide {
		grid-column: 1 / -1;
	}

	.single-pet__title {
		font-size: 28px;
	}

	.pet-gallery__main {
		max-width: none;
	}
}
