/*
Theme Name: SharedWP Media
Description: 共用WordPress投稿先向けの日本語メディアテーマ。
Version: 1.0.0
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: sharedwp-media

Adapted from BlankSlate WordPress Theme 2011-2026, Web Guy.
*/
:root {
	--paper: #faf7ee;
	--ink: #202e29;
	--muted: #52605b;
	--rule: #c7c8ba;
	--teal: #0b5149;
	--rust: #a33b22;
	--serif: "Baskervville", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
	--sans: "Source Sans 3", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: var(--teal); text-underline-offset: .22em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid #ce6a34; outline-offset: 4px; }
.skip-link { position: absolute; left: .75rem; top: .75rem; z-index: 2; background: white; padding: .5rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.masthead { background: #133d37; color: #fff9df; border-bottom: 5px solid #df875b; }
.mast-inner, .sheet, .colophon > div { max-width: 68rem; margin-inline: auto; padding-inline: clamp(1.15rem, 4.5vw, 4rem); }
.mast-inner { display: grid; grid-template-columns: minmax(0, 1fr) 32%; align-items: stretch; min-height: clamp(10rem, 19vw, 15rem); }
.nameplate { align-self: center; padding: 2.4rem 1.2rem 2.4rem 0; }
.brand { margin: 0; font: 700 clamp(2.2rem, 4.4vw, 4.2rem)/1.22 var(--serif); letter-spacing: -.045em; overflow-wrap: anywhere; }
.brand a { color: inherit; text-decoration: none; }
.tagline { margin: .95rem 0 0; line-height: 1.65; color: #d8e3cc; font-size: .88rem; }
/* A two-colour print: a rising disc behind folded, ruled sheets. */
.sharedwp-cover-art { position: relative; align-self: stretch; overflow: hidden; isolation: isolate; }
.sharedwp-cover-art i, .sharedwp-cover-art b, .sharedwp-cover-art span { position: absolute; display: block; }
.sharedwp-cover-art i { width: 50%; aspect-ratio: 1; border-radius: 50%; top: 13%; right: 8%; background: #f0a071; }
.sharedwp-cover-art b { width: 79%; height: 83%; bottom: -26%; left: 1%; background: repeating-linear-gradient(0deg,#d4dfb2 0 3px,#315847 3px 6px); transform: skewY(-22deg); }
.sharedwp-cover-art span { right: -4%; bottom: -18%; width: 49%; height: 75%; transform: skewY(27deg); background: #77a28b; border-left: 5px solid #133d37; }
.contents { border-bottom: 1px solid var(--rule); }
.contents summary { display: list-item; cursor: pointer; padding: .95rem 0; color: var(--teal); font-weight: 700; }
.contents summary span { margin-left: .5rem; color: var(--muted); font-size: .82rem; font-weight: 400; }
.contents ol { margin: 0 0 1.3rem; padding-left: 2rem; line-height: 1.8; overflow-wrap: anywhere; }
.story { display: grid; grid-template-columns: clamp(5rem,10vw,8rem) minmax(0,1fr); gap: clamp(1rem,3vw,3rem); padding: clamp(2.25rem,5.5vw,5rem) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 1rem; }
.dateline { border-top: 3px solid var(--rust); padding-top: .55rem; color: var(--rust); font: 600 .88rem/1.4 var(--sans); letter-spacing: .045em; font-variant-numeric: tabular-nums; }
.story-copy { max-width: 44rem; min-width: 0; }
.headline { margin: -.14em 0 .7em; font: 700 clamp(1.8rem,3.25vw,3.15rem)/1.4 var(--serif); overflow-wrap: anywhere; letter-spacing: -.04em; }
.headline a { color: inherit; text-decoration: none; }
.headline a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; }
.prose { font-size: clamp(1rem,1.25vw,1.1rem); line-height: 1.95; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); line-height: 1.55; margin: 1.7em 0 .5em; }
.prose h3 { border-left: 3px solid #bc6842; padding-left: .65em; }
.prose p { margin: 0 0 1.1em; }
.prose a { text-decoration: underline; }
.prose img, .prose video { max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; }
.prose figure { margin-inline: 0; }
.prose pre, .prose .wp-block-table { max-width: 100%; overflow-x: auto; }
.prose blockquote { margin-inline: 0; padding-left: 1.2rem; border-left: 2px solid var(--rule); }
.empty { padding-block: 3rem; }
.colophon { background: #eae9db; }
.colophon > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: .85rem; }
@media (max-width: 680px) {
	.mast-inner { grid-template-columns: minmax(0,1fr) 24%; min-height: 9rem; }
	.nameplate { padding-block: 1.65rem; }
	.story { grid-template-columns: minmax(0,1fr); gap: .9rem; }
	.dateline { justify-self: start; }
	.headline { font-size: clamp(1.65rem,6vw,2.25rem); }
}

.listing-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding: 1.6rem 0; }
.listing-pages a { font-weight: 700; padding: .4rem 0; }
.listing-pages span { color: var(--muted); font-size: .9rem; }
