@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: こうぶつフェイバリット用のSWELL子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===== デザインの基本（トップページ案D：生成りの紙＋暗い焦げ茶の帯） ===== */
:root {
	--mf-paper: #f3eee4;      /* 生成りの紙 */
	--mf-paper-2: #ebe4d6;    /* 一段濃い紙 */
	--mf-card: #fbf9f4;       /* カード・標本箱 */
	--mf-line: #ddd3c2;       /* 罫線 */
	--mf-ink: #2e2a25;        /* 文字 */
	--mf-muted: #6f675d;      /* 補足の文字 */
	--mf-dark: #2b2620;       /* 暗い帯（あたたかい焦げ茶） */
	--mf-dark-2: #3a332b;     /* 暗い帯の額縁 */
	--mf-ochre: #d4b27c;      /* 暗い帯のアクセント */
	--mf-green: #2f5d50;      /* ブランドカラー */
	--mf-serif: 'Zen Old Mincho', serif;
	--mf-sans: 'Zen Kaku Gothic New', sans-serif;
	--mf-latin: 'Cormorant Garamond', serif;
	--mf-mono: 'IBM Plex Mono', monospace;
}

body {
	font-family: var(--mf-sans);
}

/* 見出しは明朝体 */
.c-pageTitle,
.c-postTitle__ttl,
.post_content h2,
.post_content h3,
.post_content h4,
.l-footer__title {
	font-family: var(--mf-serif);
}

/* ===== ロゴ ===== */
.mf-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--mf-ink);
}

.mf-logo__mark {
	flex: none;
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--mf-green);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--mf-serif);
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: var(--mf-green);
}

.mf-logo__name {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.mf-logo__ja {
	font-family: var(--mf-serif);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.mf-logo__en {
	font-family: var(--mf-latin);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.32em;
	color: var(--mf-muted);
}

/* SWELLの文字ロゴの大きさ指定を打ち消す */
.c-headLogo.-txt {
	font-size: inherit;
}

/* 暗い帯の上のロゴ（フッター）：マークは黄土色 */
.mf-logo--dark { color: #f3eee4; }
.mf-logo--dark .mf-logo__mark { width: 36px; height: 36px; font-size: 18px; border-color: var(--mf-ochre); color: var(--mf-ochre); }
.mf-logo--dark .mf-logo__ja { font-size: 19px; }
.mf-logo--dark .mf-logo__en { font-size: 12px; color: #bdb2a0; }

/* スマホ：ロゴを少し小さく */
@media (max-width: 599px) {
	.mf-logo { gap: 8px; }
	.mf-logo__mark { width: 32px; height: 32px; font-size: 16px; }
	.mf-logo__ja { font-size: 17px; letter-spacing: 0.06em; }
	.mf-logo__en { font-size: 10px; letter-spacing: 0.24em; }
}

/* ===== フッター（暗い帯） ===== */
.mf-foot {
	padding: 44px 0 28px;
	color: #bdb2a0;
	text-align: left;
}
.mf-foot__main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid #4a4238;
}
.mf-foot__logo { text-decoration: none; }
.mf-foot__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mf-foot__nav a {
	color: #e6dfd2;
	font-size: 14px;
	text-decoration: none;
}
.mf-foot__nav a:hover { color: var(--mf-ochre); }
.mf-foot__note {
	margin: 18px 0 4px;
	font-size: 12px;
}
/* フッターメニューと、その下のプライバシーポリシー・お問い合わせ */
.mf-foot__menus {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}
.mf-foot__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0;
	font-size: 12.5px;
}
.mf-foot__sub a {
	color: #cfc6b6;
	text-decoration: none;
}
.mf-foot__sub a:hover {
	color: var(--mf-ochre);
}
.l-footer .mf-foot__copy {
	margin: 0;
	padding: 0;
	font-size: 12px;
	text-align: left;
	color: #bdb2a0;
}

@media (max-width: 599px) {
	.mf-foot { padding: 36px 0 24px; }
	.mf-foot__main { flex-direction: column; align-items: flex-start; }
	.mf-foot__menus { align-items: flex-start; }
}

/* ===== シェアボタン：Threadsを追加（parts/single/share_btns.php。稼げる―とと同じ作り） ===== */
.c-shareBtns__item.-threads {
	color: #000;
}

/* ===== 404ページ：掘り尽くされた空っぽの坑道（404.php） ===== */
#body_wrap.error404 #content {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0 !important; /* 坑道のすぐ下からフッター */
}
#body_wrap.error404 #breadcrumb,
#body_wrap.error404 .p-breadcrumb {
	margin-bottom: 0;
}
#body_wrap.error404 .mf-nb {
	display: inline-block; /* 言葉の途中で折り返さない */
}
#body_wrap.error404 .l-mainContent.mf404-main {
	max-width: none;
	width: auto;
	margin: 0;
}
.mf404 {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 40px 16px 72px;
	background: radial-gradient(ellipse at 50% 30%, #3a3129 0%, #2b2620 55%, #1f1b17 100%);
	color: #efe8db;
	text-align: center;
}
.mf404__scene {
	max-width: 720px;
	margin: 0 auto;
	/* 絵の四角い端を背景になじませる */
	-webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 62%, #000 62%, transparent 100%);
	mask-image: radial-gradient(ellipse 60% 62% at 50% 62%, #000 62%, transparent 100%);
}
.mf404__scene svg {
	display: block;
	width: 100%;
	height: auto;
}
/* ランプがゆっくり揺れて、明かりが少し明滅する */
.mf404__lamp {
	transform-origin: 520px 196px;
	animation: mf404-swing 5s ease-in-out infinite;
}
@keyframes mf404-swing {
	0%, 100% { transform: rotate(-5deg); }
	50% { transform: rotate(5deg); }
}
.mf404__light,
.mf404__flame {
	animation: mf404-flicker 3.2s ease-in-out infinite;
}
@keyframes mf404-flicker {
	0%, 100% { opacity: 1; }
	42% { opacity: 0.82; }
	47% { opacity: 0.6; }
	52% { opacity: 0.9; }
	70% { opacity: 0.78; }
}
@media (prefers-reduced-motion: reduce) {
	.mf404__lamp, .mf404__light, .mf404__flame { animation: none; }
}
.mf404__text {
	max-width: 640px;
	margin: 28px auto 0;
}
.mf404__eyebrow {
	margin: 0 0 10px;
	color: var(--mf-ochre);
	font-family: var(--mf-latin);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.3em;
}
.mf404__title {
	margin: 0 0 16px;
	font-family: var(--mf-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: #f3eee4;
}
.mf404__lead {
	margin: 0 0 28px;
	color: #c4baa8;
	font-size: 15px;
	line-height: 1.9;
}
.mf404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 22px;
}
.mf404__btn {
	display: inline-block;
	padding: 11px 26px;
	border: 1px solid #6b5e4e;
	border-radius: 999px;
	color: #efe8db !important;
	font-size: 15px;
	text-decoration: none !important;
	transition: background 0.2s, border-color 0.2s;
}
.mf404__btn:hover {
	border-color: var(--mf-ochre);
}
.mf404__btn.is-main {
	background: var(--mf-green);
	border-color: var(--mf-green);
}
.mf404__search {
	display: flex;
	max-width: 480px;
	margin: 0 auto 30px;
	border: 1px solid #6b5e4e;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}
.mf404__search input {
	flex: 1;
	min-width: 0;
	padding: 11px 18px;
	border: 0;
	background: transparent;
	color: #f3eee4;
	font-size: 14px;
	outline: none;
}
.mf404__search input::placeholder {
	color: #9a8f80;
}
.mf404__search button {
	padding: 0 20px;
	border: 0;
	background: var(--mf-ochre);
	color: #2b2620;
	font-weight: 700;
	cursor: pointer;
}
.mf404-today {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 18px 10px 10px;
	border: 1px solid #4a4238;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.18);
	color: #efe8db !important;
	text-align: left;
	text-decoration: none !important;
}
.mf404-today:hover {
	border-color: var(--mf-ochre);
}
.mf404-today__img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
}
.mf404-today__label {
	display: block;
	color: var(--mf-ochre);
	font-size: 11px;
	letter-spacing: 0.1em;
}
.mf404-today__name {
	display: block;
	font-family: var(--mf-serif);
	font-size: 18px;
	font-weight: 700;
}
.mf404-today__sub {
	display: block;
	color: #b8ad9c;
	font-size: 12px;
}
@media (max-width: 599px) {
	.mf404 {
		padding: 24px 16px 56px;
	}
	.mf404__title {
		font-size: 22px;
	}
	.mf404__lead {
		font-size: 14px;
	}
}

/* プライバシーポリシー（帯・見出し・目次は plugin の library.css） */
#body_wrap.page-id-3 .post_content .mf-privacy__date {
	margin-top: 48px;
	color: var(--mf-muted);
	font-size: 13px;
	text-align: right;
}
