/*
Theme Name: Men’s Desire Editorial
Text Domain: mens-desire-editorial
Description: 男性向けケア用品の商品紹介・口コミ・選び方を掲載するメディアテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
:root {
	--md-ink: #182922;
	--md-dim: #4d5e52;
	--md-paper: #f8f8f1;
	--md-white: #fffefa;
	--md-line: #dce1d5;
	--md-green: #263e32;
	--md-accent: #dfe9b9;
	--md-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--md-serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
}
.md-site {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--md-paper);
	color: var(--md-ink);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif;
	font-size: 15px;
	line-height: 1.75;
}
.md-site *, .md-site *::before, .md-site *::after { box-sizing: border-box; }
.md-site main { flex: 1 0 auto; }
.md-site :where(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.md-site :where(h1,h2,h3) { line-height: 1.45; }
.md-site :where(a) { color: inherit; }
.md-site :where(a,button,input):focus-visible { outline: 3px solid #688242; outline-offset: 4px; }
.md-site img { max-width: 100%; height: auto; }
.md-site svg { flex: none; display: block; }
.md-site [id] { scroll-margin-top: 24px; }
.md-wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.md-sr, .md-site .screen-reader-text, .md-skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.md-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99999; background: var(--md-white); padding: 8px 16px; }
.md-header { border-bottom: 1px solid var(--md-line); background: var(--md-white); }
.md-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.md-logo { text-decoration: none; font-family: Georgia, serif; font-size: 24px; letter-spacing: .06em; flex: none; }
.md-logo img { display: block; width: 218px; height: auto; }
.md-nav { display: flex; align-items: center; gap: clamp(16px,4vw,42px); }
.md-nav a { text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; padding-block: 8px; }
.md-nav a:hover, .md-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.md-hero { color: #fcfcf2; background: radial-gradient(ellipse at 78% 48%, #4a5f4c, #253e32 48%, #182e26 87%); overflow: hidden; }
.md-hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 448px; align-items: center; }
.md-hero-copy { position: relative; z-index: 1; padding: 52px 0; }
.md-kicker { color: #4c653e; font-family: var(--md-mono); font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.5; }
.md-hero .md-kicker { color: var(--md-accent); }
.md-hero h1 { font-family: var(--md-serif); font-weight: 700; font-size: clamp(32px,4.15vw,63px); line-height: 1.32; letter-spacing: .04em; margin-top: 15px; }
.md-hero-copy > p:not(.md-kicker) { margin-top: 18px; color: #e1e9d9; font-size: clamp(13px,1.35vw,16px); line-height: 1.9; }
.md-hero-visual { align-self: stretch; min-width: 0; display: grid; place-items: center; }
.md-hero-visual > svg { width: 100%; height: auto; max-height: 480px; }
.md-btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 9px 18px; border: 1px solid transparent; border-radius: 5px; background: var(--md-green); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.4; }
.md-btn svg, .md-text-link svg, .md-card-more svg { width: 17px; height: 17px; }
.md-btn:hover { background: #375747; }
.md-btn-light { margin-top: 26px; background: var(--md-accent); color: var(--md-ink); }
.md-btn-light:hover { background: #eff4d5; }
.md-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.md-hero-actions .md-btn { margin-top: 0; }
.md-btn-outline { color: var(--md-green); background: var(--md-white); border-color: #a4b09c; }
.md-btn-outline:hover { background: #edf0e6; }
.md-btn-disabled, .md-btn-disabled:hover { color: #435448; background: #e2e7d8; border-color: #c4cdb9; }
.md-section { padding-block: 54px; }
.md-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.md-section-heading :where(h1,h2) { font-size: clamp(26px,3vw,38px); font-weight: 800; margin-top: 5px; letter-spacing: .025em; }
.md-section-heading p:not(.md-kicker) { margin-top: 8px; color: var(--md-dim); }
.md-search { display: flex; width: min(100%, 360px); min-width: 0; background: var(--md-white); border: 1px solid #aab7a6; border-radius: 6px; }
.md-search input { flex: 1; width: 0; min-width: 0; background: transparent; border: 0; color: var(--md-ink); font: inherit; padding: 10px 12px; }
.md-search button { display: flex; align-items: center; gap: 6px; border: 0; border-radius: 0 5px 5px 0; background: var(--md-green); color: #fff; padding: 0 13px; cursor: pointer; font: inherit; font-weight: 700; }
.md-search button:hover { background: #375747; }
.md-search button svg { width: 16px; height: 16px; }
.md-topic-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.md-topic { min-height: 157px; position: relative; background: var(--md-white); border: 1px solid var(--md-line); border-radius: 7px; padding: 16px 12px 31px; text-decoration: none; }
.md-topic:hover, .md-card:hover { border-color: #718668; background: #f4f6eb; }
.md-topic-icon { width: 36px; height: 36px; display: grid; place-items: center; background: #e8eddc; color: var(--md-green); border-radius: 50%; }
.md-topic-icon svg { width: 20px; height: 20px; }
.md-topic-number { position: absolute; top: 15px; right: 12px; font-family: var(--md-mono); font-size: 10px; color: var(--md-dim); }
.md-topic h3 { font-size: 14px; margin-top: 12px; font-weight: 800; }
.md-topic p { color: var(--md-dim); font-size: 11px; margin-top: 5px; line-height: 1.6; }
.md-topic-arrow { position: absolute; right: 12px; bottom: 10px; }
.md-topic-arrow svg { width: 17px; height: 17px; }
.md-topic-featured {
	display: grid;
	grid-column: span 3;
	grid-template-columns: 46px minmax(0,1fr) 20px;
	column-gap: 14px;
	align-content: center;
	min-height: 105px;
	padding: 17px 18px;
	background: #edf2e3;
	border-color: #a4b39b;
}
.md-topic-featured .md-topic-icon { grid-area: 1 / 1 / 3 / 2; align-self: center; width: 46px; height: 46px; background: var(--md-green); color: var(--md-accent); }
.md-topic-featured .md-topic-icon svg { width: 23px; height: 23px; }
.md-topic-featured .md-topic-number { top: 8px; right: 11px; }
.md-topic-featured h3 { grid-column: 2; margin: 0; font-size: clamp(16px,2.2vw,21px); }
.md-topic-featured p { grid-column: 2; margin-top: 3px; font-size: 13px; }
.md-topic-featured .md-topic-arrow { grid-area: 1 / 3 / 3 / 4; position: static; align-self: center; justify-self: end; }
.md-band, .md-list-hero { background: #e9eee1; border-block: 1px solid var(--md-line); }
.md-text-link { display: inline-flex; align-items: center; gap: 8px; color: #304b33; font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 13px; }
.md-empty { padding: clamp(22px,4vw,42px); background: var(--md-white); border: 1px solid var(--md-line); border-radius: 7px; }
.md-empty :where(h1,h2,h3) { font-size: clamp(18px,2.4vw,25px); }
.md-empty p { margin-top: 8px; color: var(--md-dim); }
.md-empty :where(.md-btn,.md-text-link) { margin-top: 13px; }
.md-policy { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.md-policy > div { border-top: 1px solid #7e8f78; padding: 17px 15px 6px 0; }
.md-policy span { font-family: var(--md-mono); color: #4c653e; font-size: 12px; }
.md-policy h3 { margin-top: 7px; font-size: 17px; }
.md-policy p { margin-top: 6px; color: var(--md-dim); font-size: 13px; }
.md-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.md-card { display: flex; min-width: 0; border: 1px solid var(--md-line); border-radius: 8px; background: var(--md-white); }
.md-card > a { display: flex; flex-direction: column; width: 100%; text-decoration: none; }
.md-card-visual { aspect-ratio: 4 / 3; border-radius: 7px 7px 0 0; background: linear-gradient(140deg,#e9eee1,#dce7cf); display: grid; place-items: center; overflow: hidden; }
.md-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.md-card-visual span { display: grid; width: 64px; height: 64px; place-items: center; border: 1px solid #8a9c80; border-radius: 50%; }
.md-card-body { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 14px; }
.md-card h3 { margin: 6px 0; font-size: 17px; overflow-wrap: anywhere; }
.md-card-body p { font-size: 13px; color: var(--md-dim); }
.md-card-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.md-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--md-dim); margin-bottom: 15px; }
.md-breadcrumb a { text-underline-offset: 3px; }
.md-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.md-filters a { border: 1px solid #a5b29e; padding: 6px 12px; background: var(--md-white); border-radius: 100px; text-decoration: none; font-size: 13px; }
.md-filters a:hover, .md-filters a[aria-current] { color: #fff; background: var(--md-green); }
.md-site .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.md-site .nav-links .page-numbers { border: 1px solid var(--md-line); padding: 4px 10px; text-decoration: none; }
.md-site .nav-links .current { color: #fff; background: var(--md-green); }
.md-notice { padding: 9px 13px; background: #e6ead8; border-left: 3px solid #6a7d4d; margin-bottom: 16px; font-size: 13px; }
.md-product-intro { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(20px,4vw,52px); padding-bottom: 34px; }
.md-product-visual { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(140deg,#e9eee1,#dce7cf); border: 1px solid var(--md-line); border-radius: 8px; overflow: hidden; }
.md-product-visual img { width: 100%; height: 100%; object-fit: contain; }
.md-product-visual > div { display: grid; justify-items: center; gap: 14px; color: var(--md-dim); }
.md-product-visual > div svg { width: 44px; height: 44px; }
.md-product-title h1, .md-page-title h1 { margin-top: 6px; font-size: clamp(26px,4vw,47px); overflow-wrap: anywhere; }
.md-product-title p:not(.md-kicker), .md-page-title p:not(.md-kicker) { margin-top: 12px; }
.md-small { color: var(--md-dim); font-size: 13px; }
.md-product-actions { display: flex; gap: 9px; margin-top: 17px; flex-wrap: wrap; }
.md-detail { max-width: 790px; margin-inline: auto; }
.md-detail-panel { margin-top: 24px; padding: clamp(19px,3.5vw,33px); border: 1px solid var(--md-line); background: var(--md-white); border-radius: 8px; }
.md-detail-panel h2 { font-size: clamp(20px,2.6vw,29px); margin-top: 6px; }
.md-detail-panel h2 + p, .md-detail-panel .md-btn, .md-detail-panel .md-small { margin-top: 12px; }
.md-reviews { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 12px; margin-top: 14px; }
.md-reviews > div { background: #f0f3e9; border-radius: 5px; padding: 13px; }
.md-reviews h3 { font-size: 15px; margin-bottom: 5px; }
.md-purchase dl { margin: 12px 0; }
.md-purchase dl > div { display: grid; grid-template-columns: minmax(90px,.3fr) 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--md-line); }
.md-purchase dt { font-weight: 700; }
.md-related { margin-top: 48px; }
.md-page-title, .md-page-image { margin-bottom: 22px; }
.md-prose { overflow-wrap: anywhere; }
.md-prose :where(p,ul,ol,figure,table,blockquote) { margin-block: 0 1.1em; }
.md-prose :where(h2,h3,h4) { margin: 1.35em 0 .55em; }
.md-prose h2 { border-bottom: 1px solid var(--md-line); padding-bottom: 7px; font-size: 24px; }
.md-prose h3 { font-size: 19px; }
.md-prose :where(ul,ol) { padding-inline-start: 1.6em; }
.md-prose a { text-underline-offset: 3px; }
.md-footer { color: #dce8d8; background: #1c3128; padding-block: 28px 15px; }
.md-footer-row, .md-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.md-footer-brand { font-family: Georgia, serif; letter-spacing: .16em; color: #fff; font-size: 21px; }
.md-footer-row p:not(.md-footer-brand), .md-footer-row a { font-size: 13px; }
.md-footer-row nav { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.md-footer-row a { text-underline-offset: 3px; }
.md-footer-bottom { border-top: 1px solid #536458; padding-top: 11px; margin-top: 23px; font-size: 11px; }
@media (max-width: 1050px) {
	.md-topic:not(.md-topic-featured) { grid-column: span 2; }
	.md-topic { min-height: 133px; }
	.md-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
	.md-wrap { width: calc(100% - 32px); }
	.md-header-inner { min-height: auto; padding-block: 12px 5px; flex-direction: column; align-items: flex-start; gap: 5px; }
	.md-logo img { width: 176px; }
	.md-nav { width: 100%; justify-content: space-between; gap: 8px; }
	.md-nav a { font-size: 12px; }
	.md-hero-inner { grid-template-columns: 1fr; min-height: 0; }
	.md-hero-copy { padding: 29px 0 3px; }
	.md-hero h1 { font-size: clamp(31px,7.3vw,48px); }
	.md-hero-copy > p:not(.md-kicker) { margin-top: 12px; }
	.md-btn-light, .md-hero-actions { margin-top: 15px; }
	.md-hero-visual > svg { width: min(100%,405px); max-height: 232px; }
	.md-section { padding-block: 32px; }
	.md-section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 16px; }
	.md-topic-grid, .md-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
	.md-topic:not(.md-topic-featured) { grid-column: span 1; }
	.md-topic-featured { grid-column: span 2; }
	.md-policy { grid-template-columns: 1fr; gap: 14px; }
	.md-product-intro { grid-template-columns: 1fr; padding-bottom: 18px; }
	.md-product-visual { aspect-ratio: 16 / 10; }
	.md-card h3 { font-size: 14px; }
	.md-card-body { padding: 11px; }
}
