/* menesale design: 落ち着いた大人向け（GeneratePress 上書き） */

/* ---------- 基本 ---------- */
body {
	background: var(--ms-bg);
	color: var(--ms-ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--ms-accent-dark); }
a:hover { color: var(--ms-accent); }
h1, h2, h3, h4 { color: var(--ms-ink); font-weight: 700; letter-spacing: .03em; }
.entry-content p { margin-bottom: 1.4em; }

.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content,
.inside-page-header {
	border-radius: 14px;
}
.separate-containers .inside-article { padding: 40px 44px; box-shadow: 0 1px 2px rgba(35, 28, 32, .04); }
.entry-title { font-size: 30px; font-weight: 900; }
.entry-meta { color: var(--ms-muted); font-size: 13px; }

/* ---------- PR帯・ヘッダー ---------- */
.site-pr-bar {
	background: var(--ms-night);
	color: #a99ca1;
	letter-spacing: .08em;
}
.site-header { background: var(--ms-ink); }
.inside-header { padding-top: 18px; padding-bottom: 18px; }
.main-navigation,
.main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
	color: #e7dde0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	line-height: 56px;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a { color: var(--ms-gold); background: transparent; }
.main-navigation .menu-toggle,
.main-navigation .mobile-bar-items a { color: #e7dde0; }
@media (max-width: 768px) {
	.main-navigation.toggled .main-nav > ul { background: var(--ms-ink-2); }
	.main-navigation .main-nav ul li a { line-height: 48px; }
}

/* ロゴ */
.ms-logo { margin: 0; }
.ms-logo a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.ms-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid var(--ms-gold);
	border-radius: 50%;
	color: var(--ms-gold);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}
.ms-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.ms-logo__en { color: #fff; font-size: 24px; font-weight: 900; letter-spacing: .08em; }
.ms-logo__ja { color: #b3a6ab; font-size: 11px; font-weight: 500; letter-spacing: .28em; }

/* ---------- ボタン ---------- */
.ms-btn {
	display: inline-block;
	padding: 14px 34px;
	border-radius: 999px;
	background: var(--ms-accent);
	color: #fff;
	font-weight: 700;
	letter-spacing: .08em;
	text-decoration: none;
	transition: background .2s, transform .2s;
}
.ms-btn:hover { background: var(--ms-accent-dark); color: #fff; transform: translateY(-1px); }
.ms-btn--small { padding: 9px 22px; font-size: 14px; }

/* ---------- トップページ ---------- */
.ms-is-home .site-content { padding-top: 0; }
.ms-is-home .inside-article { padding: 0 !important; background: transparent !important; box-shadow: none !important; }
.ms-is-home .entry-content { margin-top: 0; }
.ms-home { margin: 0 auto; }

.ms-hero {
	position: relative;
	margin: 28px 0 8px;
	padding: 64px 56px 56px;
	border-radius: 18px;
	background:
		radial-gradient(900px 400px at 110% -10%, rgba(176, 80, 110, .45), transparent 60%),
		radial-gradient(600px 300px at -10% 120%, rgba(184, 149, 90, .25), transparent 60%),
		var(--ms-ink);
	color: #eee5e8;
	overflow: hidden;
}
.ms-hero__eyebrow {
	display: inline-block;
	margin: 0 0 18px;
	padding: 2px 14px;
	border: 1px solid var(--ms-gold);
	border-radius: 999px;
	color: var(--ms-gold);
	font-size: 12px;
	letter-spacing: .2em;
}
.ms-hero__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 38px;
	font-weight: 900;
	line-height: 1.45;
}
.ms-hero__lead { max-width: 560px; margin: 0 0 30px; color: #cbbfc3; font-size: 15px; }
.ms-hero__stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.ms-stat {
	display: flex;
	flex-direction: column;
	min-width: 150px;
	padding: 14px 20px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
}
.ms-stat__value { color: #fff; font-size: 30px; font-weight: 900; line-height: 1.2; }
.ms-stat__value small { margin-left: 4px; color: #cbbfc3; font-size: 13px; font-weight: 500; }
.ms-stat__label { color: #b3a6ab; font-size: 12px; letter-spacing: .1em; }
.ms-hero__pending {
	margin: 0;
	padding: 12px 18px;
	border: 1px dashed rgba(255, 255, 255, .25);
	border-radius: 12px;
	color: #cbbfc3;
	font-size: 14px;
}
.ms-hero__updated { margin: 6px 0 0; color: #9d9095; font-size: 12px; }
.ms-hero__cta { margin: 28px 0 0; }

.ms-section { margin: 56px 0 0; }
.ms-section__title {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 900;
}
.ms-section__title span {
	color: var(--ms-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .24em;
}

.ms-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ms-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 22px;
	border: 1px solid var(--ms-line);
	border-radius: 14px;
	background: #fff;
	color: var(--ms-ink);
	text-decoration: none;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ms-tile:hover { border-color: var(--ms-accent); color: var(--ms-ink); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(35, 28, 32, .08); }
.ms-tile .ms-icon { width: 30px; height: 30px; margin-bottom: 6px; color: var(--ms-accent); }
.ms-tile__title { font-size: 16px; font-weight: 700; }
.ms-tile__desc { color: var(--ms-muted); font-size: 13px; line-height: 1.6; }

.ms-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ms-feature { padding: 28px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--ms-line); }
.ms-feature .ms-icon { width: 28px; height: 28px; color: var(--ms-gold); }
.ms-feature h3 { margin: 10px 0 8px; font-size: 16px; }
.ms-feature p { margin: 0; color: var(--ms-muted); font-size: 14px; line-height: 1.8; }

.ms-empty {
	padding: 28px;
	border: 1px dashed var(--ms-line);
	border-radius: 14px;
	background: #fff;
	color: var(--ms-muted);
	text-align: center;
}

/* ---------- 記事カード ---------- */
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ms-card { border-radius: 14px; background: #fff; overflow: hidden; border: 1px solid var(--ms-line); transition: transform .2s, box-shadow .2s; }
.ms-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(35, 28, 32, .09); }
.ms-card__link { display: block; color: var(--ms-ink); text-decoration: none; }
.ms-card__link:hover { color: var(--ms-ink); }
.ms-card .ms-thumb { aspect-ratio: 16 / 9; }
.ms-card .ms-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-card__body { padding: 14px 16px 16px; }
.ms-card__cat { color: var(--ms-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.ms-card__title { margin: 4px 0 8px; font-size: 15px; line-height: 1.6; }
.ms-card__date { margin: 0; color: var(--ms-muted); font-size: 12px; }

/* 画像がない記事の代わりの見出し画像 */
.ms-thumb {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--ms-ink) 0%, #4a2f3a 100%);
	color: #fff;
	overflow: hidden;
}
.ms-thumb--review { background: linear-gradient(135deg, #3b2230 0%, var(--ms-accent-dark) 100%); }
.ms-thumb--guide { background: linear-gradient(135deg, #2a2a30 0%, #5b4a36 100%); }
.ms-thumb--theme { background: linear-gradient(135deg, #2b2226 0%, #6b4658 100%); }
.ms-thumb--sale { background: linear-gradient(135deg, #3a1c22 0%, #9b3a4a 100%); }
.ms-thumb__label { position: relative; z-index: 1; color: var(--ms-gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .32em; }
.ms-thumb__mark {
	position: absolute;
	right: -10px;
	top: -18px;
	color: rgba(255, 255, 255, .08);
	font-size: 120px;
	font-weight: 900;
	line-height: 1;
}
.ms-thumb--archive { margin: -40px -44px 28px; aspect-ratio: 21 / 6; border-radius: 14px 14px 0 0; text-decoration: none; }
.ms-thumb--archive:hover { color: #fff; }

/* 一覧ページ */
.archive .inside-article .entry-title,
.search .inside-article .entry-title,
.blog .inside-article .entry-title { font-size: 20px; }
.page-header { background: transparent; padding: 0; }
.page-header .page-title { font-size: 24px; font-weight: 900; }

/* ---------- サイドバー ---------- */
.sidebar .widget { border-radius: 14px; padding: 24px; }
.sidebar .widget h2,
.sidebar .wp-block-heading { font-size: 15px; font-weight: 700; letter-spacing: .08em; padding-bottom: 10px; border-bottom: 1px solid var(--ms-line); margin-bottom: 12px; }
.sidebar .wp-block-latest-posts li,
.sidebar .wp-block-categories li { padding: 6px 0; font-size: 14px; line-height: 1.6; }
.sidebar .wp-block-latest-posts a,
.sidebar .wp-block-categories a { color: var(--ms-ink); text-decoration: none; }
.sidebar .wp-block-latest-posts a:hover,
.sidebar .wp-block-categories a:hover { color: var(--ms-accent); }
.ms-side-sale {
	margin: -24px;
	padding: 24px;
	border-radius: 14px;
	background: var(--ms-ink);
	color: #e7dde0;
}
.ms-side-sale__eyebrow { margin: 0 0 4px; color: var(--ms-gold); font-size: 11px; letter-spacing: .24em; }
.ms-side-sale__title { margin: 0 0 8px; color: #fff; font-size: 18px; font-weight: 900; }
.ms-side-sale__line { margin: 0 0 16px; color: #cbbfc3; font-size: 13px; line-height: 1.7; }
.ms-side-sale__line strong { color: var(--ms-gold); font-size: 16px; }

/* ---------- フッター ---------- */
.site-info { background: var(--ms-night); color: #9d9095; }
.inside-site-info { padding: 40px 20px; }
.copyright-bar { width: 100%; text-align: center; }
.ms-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; }
.ms-footer__links a { color: #d5cacd; font-size: 13px; text-decoration: none; }
.ms-footer__links a:hover { color: var(--ms-gold); }
.ms-footer__notice { margin: 0 0 6px; font-size: 12px; }
.ms-footer__copy { margin: 0; font-size: 12px; letter-spacing: .08em; }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
	.ms-tiles { grid-template-columns: repeat(2, 1fr); }
	.ms-cards { grid-template-columns: repeat(2, 1fr); }
	.ms-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.separate-containers .inside-article { padding: 26px 18px; }
	.ms-thumb--archive { margin: -26px -18px 20px; }
	.entry-title { font-size: 23px; }
	.ms-logo__mark { width: 34px; height: 34px; font-size: 15px; }
	.ms-logo__en { font-size: 20px; }
	.ms-logo__ja { font-size: 10px; letter-spacing: .18em; }
	.ms-hero { margin-top: 16px; padding: 40px 22px 34px; border-radius: 14px; }
	.ms-hero__title { font-size: 26px; }
	.ms-stat { min-width: 0; flex: 1 1 40%; padding: 12px 14px; }
	.ms-stat__value { font-size: 24px; }
	.ms-section { margin-top: 40px; }
	.ms-section__title { font-size: 19px; }
	.ms-tiles { gap: 10px; }
	.ms-tile { padding: 18px 16px; }
	.ms-cards { grid-template-columns: 1fr; }
}

/* 記事本文用の見出しスタイル（menesale.css の .entry-content h2/h3）をトップ・カードでは打ち消す */
.entry-content .ms-section__title {
	margin-top: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 22px;
}
.entry-content .ms-card__title,
.entry-content .ms-feature h3 {
	margin-top: 4px;
	padding: 0;
	border: 0;
}
.entry-content .ms-feature h3 { margin: 10px 0 8px; }
.ms-hero__title { border: 0; padding: 0; background: none; }
@media (max-width: 600px) { .entry-content .ms-section__title { font-size: 19px; } }
@media (max-width: 768px) { .ms-home { padding: 0 14px; } }
