/*
Theme Name: えちちAWARD Light
Theme URI: https://echichiaward.com/
Author: えちちAWARD
Description: えちちAWARD専用の軽量クラシックテーマです。女優アーカイブ、コンシェルジュ、MANGA AWARDの専用表示を妨げず、通常投稿・固定ページ・検索・404を明るいポップ調で表示します。
Version: 1.0.0
Requires at least: 6.1
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: echichi-award-light
*/

:root {
	--eal-pink: #ff2f86;
	--eal-pink-soft: #fff0f6;
	--eal-yellow: #ffe600;
	--eal-blue: #3569df;
	--eal-cyan: #55c7d7;
	--eal-purple: #7b16f4;
	--eal-ink: #17151d;
	--eal-muted: #706a73;
	--eal-paper: #fffdfd;
	--eal-line: #e7dce4;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff8fb;
	color: var(--eal-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

body:not(.eal-plugin-surface) {
	background-image: radial-gradient(rgba(255, 47, 134, .12) 1.25px, transparent 1.25px);
	background-size: 18px 18px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

a {
	color: #c81867;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--eal-purple);
}

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	border: 3px solid var(--eal-ink);
	border-radius: 999px;
	background: var(--eal-yellow);
	color: var(--eal-ink);
	font-weight: 900;
}

.eal-site-header {
	position: relative;
	z-index: 20;
	padding: 16px 22px 0;
}

.eal-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	width: min(1280px, 100%);
	min-height: 78px;
	margin: 0 auto;
	padding: 10px 14px 10px 20px;
	border: 3px solid var(--eal-ink);
	border-radius: 28px;
	background: #fff;
	box-shadow: 8px 9px 0 var(--eal-yellow);
}

.eal-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: max-content;
	color: var(--eal-ink);
	text-decoration: none;
}

.eal-brand-mark {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 2px solid var(--eal-ink);
	border-radius: 15px;
	background: var(--eal-pink);
	box-shadow: 3px 3px 0 var(--eal-ink);
	font-size: 23px;
	line-height: 1;
}

.eal-brand-copy {
	display: grid;
	line-height: 1.1;
}

.eal-brand-copy strong {
	font-size: clamp(20px, 2.2vw, 29px);
	font-weight: 950;
	letter-spacing: -.055em;
}

.eal-brand-copy small {
	margin-top: 5px;
	color: var(--eal-pink);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .16em;
}

.eal-menu,
.eal-footer-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.eal-menu a {
	display: grid;
	min-height: 42px;
	place-items: center;
	padding: 7px 15px;
	border: 2px solid var(--eal-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--eal-ink);
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
}

.eal-menu li:nth-child(2) a {
	background: var(--eal-pink);
	color: #fff;
}

.eal-menu li:nth-child(3) a {
	background: var(--eal-purple);
	color: #fff;
}

.eal-menu li:nth-child(4) a {
	background: var(--eal-yellow);
}

.eal-menu a:hover,
.eal-menu .current-menu-item > a,
.eal-menu .current_page_item > a {
	transform: translateY(-2px);
	box-shadow: 3px 4px 0 var(--eal-ink);
}

.eal-main {
	width: min(1120px, calc(100% - 34px));
	min-height: 55vh;
	margin: 52px auto 82px;
}

.eal-page-heading {
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
	padding: 38px 42px;
	border: 3px solid var(--eal-ink);
	border-radius: 34px;
	background: linear-gradient(115deg, #fff 0 58%, #fff0f6 58% 78%, #eafcff 78%);
	box-shadow: 9px 10px 0 var(--eal-pink);
}

.eal-page-heading::after {
	content: "♡";
	position: absolute;
	right: 34px;
	top: 50%;
	color: var(--eal-pink);
	font-size: 70px;
	font-weight: 900;
	line-height: 1;
	transform: translateY(-50%) rotate(8deg);
}

.eal-page-heading p {
	margin: 0 0 7px;
	color: var(--eal-pink);
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .14em;
}

.eal-page-heading h1 {
	max-width: calc(100% - 90px);
	margin: 0;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.25;
	letter-spacing: -.055em;
}

.eal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.eal-card,
.eal-article {
	overflow: hidden;
	border: 3px solid var(--eal-ink);
	border-radius: 28px;
	background: #fff;
	box-shadow: 7px 8px 0 #c8f0f4;
}

.eal-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.eal-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 2px solid var(--eal-ink);
	background: linear-gradient(135deg, var(--eal-pink-soft), #eafcff);
}

.eal-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.eal-card:hover .eal-card-image img {
	transform: scale(1.035);
}

.eal-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.eal-card-meta,
.eal-entry-meta {
	color: var(--eal-pink);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .04em;
}

.eal-card h2 {
	margin: 8px 0 10px;
	font-size: 20px;
	line-height: 1.55;
}

.eal-card h2 a {
	color: var(--eal-ink);
	text-decoration: none;
}

.eal-card p {
	margin: 0;
	color: var(--eal-muted);
	font-size: 13px;
}

.eal-card-more {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 17px;
	color: var(--eal-pink);
	font-size: 12px;
	font-weight: 950;
	text-decoration: none;
}

.eal-article {
	box-shadow: 10px 11px 0 var(--eal-yellow);
}

.eal-entry-header {
	padding: clamp(30px, 5vw, 58px);
	border-bottom: 3px solid var(--eal-ink);
	background: linear-gradient(120deg, #fff 0 70%, #fff0f6 70%);
}

.eal-entry-header h1 {
	margin: 12px 0 0;
	font-size: clamp(30px, 5vw, 55px);
	line-height: 1.35;
	letter-spacing: -.045em;
}

.eal-entry-thumbnail {
	border-bottom: 3px solid var(--eal-ink);
	background: #f5f2f5;
}

.eal-entry-thumbnail img {
	display: block;
	width: 100%;
	max-height: 650px;
	object-fit: cover;
}

.eal-entry-content {
	padding: clamp(28px, 5vw, 62px);
	font-size: 16px;
}

.eal-entry-content > *:first-child {
	margin-top: 0;
}

.eal-entry-content > *:last-child {
	margin-bottom: 0;
}

.eal-entry-content h2,
.eal-entry-content h3 {
	line-height: 1.5;
}

.eal-entry-content h2 {
	margin-top: 2.4em;
	padding: 12px 16px;
	border-left: 8px solid var(--eal-pink);
	border-radius: 0 14px 14px 0;
	background: var(--eal-pink-soft);
}

.eal-entry-content h3 {
	margin-top: 2em;
	padding-bottom: 7px;
	border-bottom: 4px solid var(--eal-yellow);
}

.eal-entry-content blockquote {
	margin: 30px 0;
	padding: 20px 24px;
	border: 2px solid var(--eal-ink);
	border-radius: 18px;
	background: #fff9d9;
	box-shadow: 4px 5px 0 var(--eal-pink);
}

.eal-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.eal-entry-content th,
.eal-entry-content td {
	padding: 11px;
	border: 1px solid var(--eal-line);
}

.eal-entry-content th {
	background: var(--eal-pink-soft);
}

.eal-entry-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 18px;
	border-radius: 15px;
	background: var(--eal-ink);
	color: #fff;
}

.eal-entry-content .wp-block-button__link,
.eal-entry-content input[type="submit"],
.eal-entry-content button {
	border: 2px solid var(--eal-ink);
	border-radius: 999px;
	background: var(--eal-pink);
	box-shadow: 4px 5px 0 var(--eal-ink);
	color: #fff;
	font-weight: 900;
}

.eal-empty {
	padding: 45px;
	border: 3px solid var(--eal-ink);
	border-radius: 28px;
	background: #fff;
	box-shadow: 8px 9px 0 var(--eal-yellow);
	text-align: center;
}

.eal-empty h1,
.eal-empty h2 {
	margin-top: 0;
}

.eal-empty .search-form {
	display: flex;
	max-width: 620px;
	margin: 25px auto 0;
}

.eal-empty .search-field {
	min-width: 0;
	flex: 1;
	padding: 12px 16px;
	border: 2px solid var(--eal-ink);
	border-radius: 999px 0 0 999px;
	background: #fff;
}

.eal-empty .search-submit {
	padding: 10px 20px;
	border: 2px solid var(--eal-ink);
	border-left: 0;
	border-radius: 0 999px 999px 0;
	background: var(--eal-pink);
	color: #fff;
	font-weight: 900;
}

.navigation.pagination {
	margin-top: 42px;
}

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

.page-numbers {
	display: grid;
	min-width: 44px;
	min-height: 44px;
	place-items: center;
	padding: 6px 11px;
	border: 2px solid var(--eal-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--eal-ink);
	font-weight: 900;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--eal-pink);
	color: #fff;
}

.eal-site-footer {
	padding: 0 22px 34px;
}

.eal-footer-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 28px 50px;
	width: min(1280px, 100%);
	margin: 0 auto;
	padding: 38px 42px;
	border-radius: 34px;
	background: var(--eal-ink);
	box-shadow: 9px 10px 0 var(--eal-yellow);
	color: #fff;
}

.eal-footer-brand strong {
	display: block;
	color: var(--eal-yellow);
	font-size: 27px;
	font-weight: 950;
	letter-spacing: -.04em;
}

.eal-footer-brand span {
	display: block;
	margin-top: 8px;
	color: #c7c1c9;
	font-size: 11px;
}

.eal-footer-menu {
	justify-content: flex-end;
}

.eal-footer-menu a {
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.eal-footer-note {
	grid-column: 1 / -1;
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid #3d3941;
	color: #aaa4ad;
	font-size: 11px;
	text-align: center;
}

@media (max-width: 900px) {
	.eal-header-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.eal-menu {
		width: 100%;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.eal-menu li {
		flex: 0 0 auto;
	}

	.eal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eal-footer-inner {
		grid-template-columns: 1fr;
	}

	.eal-footer-menu {
		justify-content: flex-start;
	}
}

@media (max-width: 620px) {
	.eal-site-header {
		padding: 9px 9px 0;
	}

	.eal-header-inner {
		gap: 12px;
		padding: 9px;
		border-radius: 21px;
		box-shadow: 5px 6px 0 var(--eal-yellow);
	}

	.eal-brand-mark {
		width: 42px;
		height: 42px;
	}

	.eal-menu a {
		min-height: 38px;
		padding: 6px 12px;
		font-size: 10px;
	}

	.eal-main {
		width: calc(100% - 18px);
		margin-top: 28px;
	}

	.eal-page-heading {
		padding: 26px 22px;
		border-radius: 25px;
		box-shadow: 6px 7px 0 var(--eal-pink);
	}

	.eal-page-heading::after {
		right: 18px;
		font-size: 48px;
	}

	.eal-page-heading h1 {
		max-width: calc(100% - 58px);
	}

	.eal-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.eal-card {
		border-radius: 22px;
	}

	.eal-article {
		border-radius: 24px;
		box-shadow: 6px 7px 0 var(--eal-yellow);
	}

	.eal-entry-content {
		font-size: 15px;
	}

	.eal-site-footer {
		padding: 0 9px 25px;
	}

	.eal-footer-inner {
		gap: 20px;
		padding: 28px 22px;
		border-radius: 25px;
		box-shadow: 6px 7px 0 var(--eal-yellow);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
