/* ==========================================================
   Content pages: single / page / archive / search / 404
   （エディタスタイルとしても読み込まれる）
   ========================================================== */

.page-header {
	padding: clamp(56px, 8vw, 120px) var(--gutter, 20px) clamp(40px, 5vw, 64px);
	border-bottom: 1px solid var(--line, #dfe3e8);
}
.page-header__title {
	margin: 18px 0 0;
	max-width: 1100px;
	font-size: clamp(40px, 6vw, 92px);
	line-height: 1;
	letter-spacing: -.055em;
}
.page-header__desc { max-width: 640px; margin-top: 24px; color: var(--muted, #5c6670); }
.page-header .post-meta { margin-top: 24px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; }
.tag-list li {
	padding: 6px 12px;
	border: 1px solid var(--line, #dfe3e8);
	margin: 0 -1px -1px 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
}

/* ---------- list ---------- */
.entry-row {
	position: relative;
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr) 58px;
	border-bottom: 1px solid var(--line, #dfe3e8);
	transition: background-color .18s;
}
.entry-row:not(:has(.entry-row__media)) { grid-template-columns: minmax(0, 1fr) 58px; }
.entry-row:hover { background: var(--surface, #f5f7f9); }
.entry-row:focus-within { outline: 2px solid var(--blue, #2b7cff); outline-offset: -2px; }
.entry-row a:focus-visible { outline: none; }
.entry-row__media { aspect-ratio: 3 / 2; overflow: hidden; border-right: 1px solid var(--line, #dfe3e8); }
.entry-row__media img { width: 100%; height: 100%; object-fit: cover; }
.entry-row__body { padding: 28px var(--gutter, 20px); }
.entry-row__title {
	margin: 10px 0 0;
	font-size: clamp(22px, 2.4vw, 36px);
	line-height: 1.2;
	letter-spacing: -.04em;
}
.entry-row__excerpt { margin: 12px 0 0; color: var(--muted-2, #67717b); font-size: 14px; line-height: 1.8; }
.entry-row__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid var(--line, #dfe3e8);
	font-size: 22px;
}

@media (max-width: 720px) {
	.entry-row,
	.entry-row:not(:has(.entry-row__media)) { grid-template-columns: 1fr; }
	.entry-row__media { border-right: 0; }
	.entry-row__arrow { display: none; }
	.entry-row__body { padding: 22px 20px 28px; }
}

/* ---------- pagination ---------- */
.pagination { padding: 40px var(--gutter, 20px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line, #dfe3e8);
	margin-right: -1px;
	font-size: 13px;
	font-weight: 700;
}
.pagination .page-numbers.current { background: var(--ink, #0b1118); color: #fff; border-color: var(--ink, #0b1118); }
.pagination a.page-numbers:hover { background: var(--surface, #f5f7f9); }

/* ---------- single ---------- */
.entry__hero { margin: 0; border-bottom: 1px solid var(--line, #dfe3e8); }
.entry__hero img { width: 100%; max-height: 80svh; object-fit: cover; }

.entry-content {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 88px) 20px;
	font-size: 16px;
	line-height: 2;
}
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 {
	margin-top: 2.6em;
	padding-top: 20px;
	border-top: 1px solid var(--ink, #0b1118);
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.3;
	letter-spacing: -.03em;
}
.entry-content h3 { margin-top: 2em; font-size: 21px; line-height: 1.4; }
.entry-content a { color: var(--blue-text, #1f63d6); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { height: auto; }
.entry-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--green, #41d394);
	color: var(--muted, #5c6670);
}
.entry-content pre,
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.entry-content pre { padding: 20px; overflow-x: auto; background: var(--surface, #f5f7f9); border: 1px solid var(--line, #dfe3e8); line-height: 1.7; }
.entry-content :not(pre) > code { padding: 2px 5px; background: var(--surface, #f5f7f9); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th,
.entry-content td { padding: 10px 12px; border: 1px solid var(--line, #dfe3e8); text-align: left; }
.entry-content th { background: var(--surface, #f5f7f9); }
.entry-content .alignwide { max-width: 1280px; margin-left: calc(50% - min(640px, 50vw)); margin-right: calc(50% - min(640px, 50vw)); }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

.entry__external { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }

/* ---------- post navigation ---------- */
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line, #dfe3e8); border-bottom: 1px solid var(--line, #dfe3e8); }
.post-navigation a { display: block; padding: 28px var(--gutter, 20px); height: 100%; }
.post-navigation a:hover { background: var(--surface, #f5f7f9); }
.post-navigation .nav-next { text-align: right; border-left: 1px solid var(--line, #dfe3e8); }
.post-navigation .nav-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--blue-text, #1f63d6); }
.post-navigation .nav-title { display: block; margin-top: 8px; font-size: 18px; line-height: 1.4; }
@media (max-width: 640px) {
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { border-left: 0; border-top: 1px solid var(--line, #dfe3e8); }
}

/* ---------- empty / search ---------- */
.empty-state { padding: 48px var(--gutter, 20px) 96px; max-width: 760px; }
.empty-state > * + * { margin-top: 24px; }
.search-form { display: flex; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ink, #0b1118);
	font: inherit;
	font-size: 16px;
}
.search-form .search-submit {
	height: 48px;
	padding: 0 20px;
	border: 1px solid var(--ink, #0b1118);
	border-left: 0;
	background: var(--ink, #0b1118);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- comments（最小限） ---------- */
.comments-area,
.comment-respond { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }
.comment-list { list-style: none; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line, #dfe3e8); }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ink, #0b1118); font: inherit; }
.comment-form .submit { padding: 12px 20px; border: 0; background: var(--ink, #0b1118); color: #fff; font-weight: 700; cursor: pointer; }

/* ==========================================================
   Apps
   ========================================================== */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 18px var(--gutter, 20px);
	border-bottom: 1px solid var(--line, #dfe3e8);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--muted, #5c6670);
}
.breadcrumb a:hover { color: var(--ink, #0b1118); }
.breadcrumb [aria-current] { color: var(--ink, #0b1118); }

.app-icon { display: block; flex: none; object-fit: cover; border: 1px solid var(--line, #dfe3e8); background: var(--surface, #f5f7f9); }
.app-icon--text { display: flex; align-items: center; justify-content: center; background: var(--ink, #0b1118); color: #fff; font-size: 32px; font-weight: 700; border: 0; }

.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted, #5c6670); }
.app-meta > span { padding: 3px 8px; border: 1px solid var(--line, #dfe3e8); }
.app-status--live { background: var(--ink, #0b1118); color: #fff; border-color: var(--ink, #0b1118) !important; }
.app-status--review { border-color: var(--blue, #2b7cff) !important; color: var(--blue-text, #1f63d6); }

.app-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.app-card {
	display: flex;
	gap: 24px;
	padding: 32px var(--gutter, 20px);
	border-bottom: 1px solid var(--line, #dfe3e8);
}
.app-card:nth-child(odd) { border-right: 1px solid var(--line, #dfe3e8); }
.app-card__title { margin: 12px 0 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.04em; }
.app-card__title a:hover { color: var(--blue, #2b7cff); }
.app-card__tagline { margin: 8px 0 0; color: var(--muted, #5c6670); font-size: 14px; line-height: 1.8; }
.app-card__links { display: flex; flex-wrap: wrap; gap: 20px; margin: 18px 0 0; }
.text-link--muted { color: var(--muted, #5c6670); }
@media (max-width: 800px) {
	.app-list { grid-template-columns: 1fr; }
	.app-card:nth-child(odd) { border-right: 0; }
	.app-card { gap: 16px; }
	.app-card .app-icon { width: 64px !important; height: 64px !important; }
}

.app-hero {
	display: flex;
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
	padding: clamp(40px, 6vw, 88px) var(--gutter, 20px);
	border-bottom: 1px solid var(--line, #dfe3e8);
}
.app-hero__title { margin: 14px 0 0; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.055em; }
.app-hero__tagline { margin: 14px 0 0; font-size: clamp(16px, 1.6vw, 20px); color: var(--muted, #5c6670); }
.app-hero__stores { display: flex; flex-wrap: wrap; margin: 26px 0 0; }
.app-hero__stores .btn + .btn { border-left-color: rgba(255, 255, 255, .3); }
.app-hero__note { margin: 20px 0 0; font-size: 13px; font-weight: 700; color: var(--green-text, #1f7a5b); }
@media (max-width: 640px) {
	.app-hero { flex-direction: column; align-items: flex-start; }
	.app-hero .app-icon { width: 88px !important; height: 88px !important; }
}

.app-docs { border-top: 1px solid var(--line, #dfe3e8); }
.app-docs > .kicker { padding: 28px var(--gutter, 20px) 16px; border-bottom: 1px solid var(--line, #dfe3e8); }
.app-docs .entry-row { grid-template-columns: minmax(0, 1fr) 58px; }
.app-docs .entry-row__title { margin: 0; font-size: 20px; }

.app-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
	justify-content: space-between;
	padding: 40px var(--gutter, 20px);
	border-top: 1px solid var(--line, #dfe3e8);
	background: var(--surface, #f5f7f9);
}
.app-contact p { margin: 0; font-size: 15px; }

.app-doc__app { display: block; margin-bottom: 8px; font-size: .42em; letter-spacing: -.02em; color: var(--muted, #5c6670); }
.post-meta__plain { color: var(--muted, #5c6670) !important; }
.doc-tabs {
	display: flex;
	overflow-x: auto;
	border-bottom: 1px solid var(--line, #dfe3e8);
	padding: 0 var(--gutter, 20px);
}
.doc-tabs a {
	flex: none;
	padding: 14px 18px;
	font-size: 13px;
	font-weight: 700;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	color: var(--muted, #5c6670);
}
.doc-tabs a:hover { color: var(--ink, #0b1118); }
.doc-tabs a[aria-current] { color: var(--ink, #0b1118); border-bottom-color: var(--ink, #0b1118); }
.entry-content--doc h2 { font-size: clamp(20px, 2vw, 26px); }
.lt-app-policies { list-style: disc; padding-left: 1.4em; }
.app-doc__header .page-header__title { font-size: clamp(32px, 5vw, 72px); line-break: strict; }

/* 記事ページ：長いタイトルでも読みやすいサイズに */
.single-post .page-header__title { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.2; letter-spacing: -.035em; max-width: 1000px; }
.post-meta__updated { color: var(--ink, #0b1118) !important; }
.entry-content .post-updated { padding: 10px 14px; background: var(--surface, #f5f7f9); border-left: 3px solid var(--blue, #2b7cff); font-size: 14px; }

/* ==========================================================
   サービス紹介ページ（.lt-svc）
   ========================================================== */
.entry-content .lt-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line, #dfe3e8); }
.entry-content .lt-stats > div { padding: 18px 16px; border-right: 1px solid var(--line, #dfe3e8); }
.entry-content .lt-stats > div:last-child { border-right: 0; }
.entry-content .lt-stats strong { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.entry-content .lt-stats span { font-size: 12px; color: var(--muted, #5c6670); }
.entry-content .lt-svc { list-style: none; padding: 0; margin-left: 0; border-top: 1px solid var(--line, #dfe3e8); }
.entry-content .lt-svc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line, #dfe3e8); margin: 0; }
.entry-content .lt-svc li > a { grid-row: span 2; align-self: center; }
.entry-content .lt-svc b { font-size: 17px; font-weight: 600; line-height: 1.5; }
.entry-content .lt-svc small { display: block; font-size: 12px; color: var(--muted, #5c6670); line-height: 1.6; }
.entry-content a.lt-btn,
.entry-content .lt-svc a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--ink, #0b1118);
	color: var(--ink, #0b1118);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none;
	white-space: nowrap;
}
.entry-content a.lt-btn--primary { background: var(--ink, #0b1118); color: #fff; }
.entry-content a.lt-btn:hover,
.entry-content .lt-svc a:hover { background: var(--blue, #2b7cff); border-color: var(--blue, #2b7cff); color: #fff; }
.entry-content .lt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
	.entry-content .lt-stats { grid-template-columns: 1fr; }
	.entry-content .lt-stats > div { border-right: 0; border-bottom: 1px solid var(--line, #dfe3e8); }
	.entry-content .lt-svc li { grid-template-columns: 1fr; }
	.entry-content .lt-svc li > a { grid-row: auto; justify-self: start; }
}

/* 詳細ページ内の関連リンク */
.lt-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--line, #dfe3e8); padding: 0; list-style: none !important; }
.entry-content .lt-related { padding-left: 0; }
.lt-related li { margin: 0; border-right: 1px solid var(--line, #dfe3e8); }
.lt-related li:last-child { border-right: 0; }
.lt-related a { display: block; padding: 18px 20px; text-decoration: none !important; color: var(--ink, #0b1118) !important; line-height: 1.6; }
.lt-related a small { display: block; font-size: 11px; letter-spacing: .12em; color: var(--blue-text, #1f63d6); }
.lt-related a:hover, .lt-related a:focus-visible { background: var(--surface, #f5f7f9); }
@media (max-width: 600px) { .lt-related li { border-right: 0; border-bottom: 1px solid var(--line, #dfe3e8); } .lt-related li:last-child { border-bottom: 0; } }
