/* AI履歴書作成テーマ — プラグイン非全画面ページ用 */

:root {
	--at-accent: #ff5a36;
	--at-accent-dark: #e8401f;
	--at-accent-soft: #fff3ef;
	--at-ink: #16263b;
	--at-muted: #687385;
	--at-line: #e6eaf1;
	--at-bg: #fffaf7;
	--at-max: 1080px;
}

html {
	scroll-behavior: smooth;
}

body.airesume-theme {
	margin: 0;
	padding: 0;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
	color: var(--at-ink);
	background: #fff;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.airesume-theme *,
body.airesume-theme *::before,
body.airesume-theme *::after {
	box-sizing: border-box;
}

/* プラグイン全画面テンプレート時はテーマのヘッダー/フッターは出ないため、
   下記は page.php / 404 / 検索 などのフォールバック用 */

.at-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--at-line);
}

.at-header-inner {
	max-width: var(--at-max);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.at-brand .custom-logo-link,
.at-brand .at-site-title {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}

.at-brand .custom-logo,
.at-brand .at-logo {
	display: block;
	height: 36px;
	width: auto;
}

@media (min-width: 768px) {
	.at-brand .custom-logo,
	.at-brand .at-logo {
		height: 44px;
	}
}

.at-nav-list,
.at-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.at-nav-list a,
.at-footer-list a {
	color: var(--at-ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}

.at-nav-list a:hover,
.at-footer-list a:hover {
	color: var(--at-accent);
}

.at-header-cta,
.at-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #ff6a47, var(--at-accent));
	color: #fff !important;
	font-weight: 900;
	font-size: 14px;
	text-decoration: none;
	padding: 11px 22px;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(255, 90, 54, 0.28);
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.at-btn--outline {
	background: #fff;
	color: var(--at-accent) !important;
	border: 2px solid var(--at-accent);
	box-shadow: none;
}

.at-main {
	min-height: 50vh;
}

.at-wrap {
	max-width: var(--at-max);
	margin: 0 auto;
	padding: 40px 20px 64px;
}

.at-wrap--front .at-page-content {
	max-width: none;
	padding: 0;
	margin: 0;
}

/* LPショートコードが front-page 経由で出たとき、テーマ余白を消す */
.at-wrap--front:has(.airesume-lp) {
	max-width: none;
	padding: 0;
}

.at-page-head {
	text-align: center;
	margin-bottom: 32px;
}

.at-kicker {
	color: var(--at-accent);
	font-weight: 900;
	letter-spacing: 0.08em;
	margin: 0 0 8px;
}

.at-page-title {
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 900;
	line-height: 1.4;
	margin: 0 0 12px;
}

.at-page-content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
}

.at-page-content > *:first-child {
	margin-top: 0;
}

.at-page-content img {
	max-width: 100%;
	height: auto;
}

.at-post-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 768px) {
	.at-post-list {
		grid-template-columns: 1fr 1fr;
	}
}

.at-card {
	margin: 0;
	background: #fff;
	border: 1px solid var(--at-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(22, 38, 59, 0.06);
}

.at-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.at-card-thumb {
	aspect-ratio: 16 / 9;
	background: var(--at-accent-soft);
	overflow: hidden;
}

.at-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.at-card-thumb--empty {
	display: grid;
	place-items: center;
	color: #c4b0a6;
	font-size: 12px;
	font-weight: 800;
}

.at-card-body {
	padding: 16px 18px 20px;
}

.at-card-cat {
	display: inline-block;
	background: var(--at-accent-soft);
	color: var(--at-accent-dark);
	font-size: 11px;
	font-weight: 900;
	border-radius: 999px;
	padding: 2px 10px;
	margin-bottom: 8px;
}

.at-card-title {
	font-size: 17px;
	font-weight: 900;
	line-height: 1.5;
	margin: 0 0 8px;
}

.at-card-excerpt {
	margin: 0;
	font-size: 13.5px;
	color: var(--at-muted);
}

.navigation.pagination {
	margin-top: 32px;
	text-align: center;
}

.at-footer {
	background: linear-gradient(180deg, #fffaf7, #fff7f2);
	border-top: 1px solid #f0e4dc;
	padding: 48px 20px 40px;
}

.at-footer-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.at-footer-brand {
	display: inline-flex;
	line-height: 0;
	margin-bottom: 12px;
}

.at-footer-brand img {
	height: 48px;
	width: auto;
}

.at-footer-desc {
	color: var(--at-muted);
	font-size: 13.5px;
	margin: 0 0 16px;
}

.at-footer-list {
	justify-content: center;
	margin-bottom: 18px;
}

.at-footer-copy {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--at-line);
	font-size: 12px;
	color: #98a2b3;
}

/* スクリーンリーダ用 */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
