/*
Theme Name: Jijiart Works Theme
Theme URI: https://jijiart.net/
Author: Jijiart Works
Author URI: https://jijiart.net/
Description: イラスト・グラフィックデザインのポートフォリオサイト用カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jijiart-works
*/

/* ===== Global reset ===== */

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

:root {
	--wp--style--root--padding-top: 0px;
	--wp--style--root--padding-right: 0px;
	--wp--style--root--padding-bottom: 0px;
	--wp--style--root--padding-left: 0px;
}

html, body {
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: hidden;
	width: 100%;
}

html { scroll-behavior: smooth; }

/* ===== WordPress layout overrides ===== */

body,
.wp-site-blocks,
.wp-site-blocks > *,
.entry-content > *,
.wp-block-group,
.wp-block-group__inner-container {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.site-header,
.contact-section,
.site-footer {
	width: 100%;
	box-sizing: border-box;
}

.wp-site-blocks > header              { margin-bottom: 0 !important; }
.wp-site-blocks > header + *          { margin-block-start: 0 !important; }
.wp-site-blocks > footer              { margin-block-start: 0 !important; }

/* ===== Site header ===== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #2c2c2c;
	padding: 1.5rem 0;
	min-height: 80px;
	display: flex;
	align-items: center;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 30px;
}

.header-logo-text {
	font-family: 'Great Vibes', cursive;
	font-size: 2.2rem;
	font-weight: normal;
	color: #ffffff;
	text-decoration: none;
	line-height: 1;
	transition: color 0.2s;
	flex-shrink: 0;
}
.header-logo-text:hover { color: #5c9396; }

/* ===== Navigation ===== */

.site-nav { margin-left: auto; }

.nav-list,
.nav-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-list {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

.nav-list a {
	color: #ffffff;
	text-decoration: none;
	font-size: 1rem;
	letter-spacing: 0.08em;
	transition: color 0.2s;
}
.nav-list a:hover { color: #5c9396; }

.nav-list > li { position: relative; }

.nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(31, 31, 31, 0.97);
	min-width: 200px;
	padding: 0.5rem 0;
	border-top: 2px solid #5c9396;
	z-index: 1000;
}

.nav-list > li:hover > .sub-menu { display: block; }

.nav-list .sub-menu li { white-space: nowrap; }

.nav-list .sub-menu a {
	display: block;
	padding: 0.65rem 1.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	color: #ffffff;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}
.nav-list .sub-menu a:hover {
	color: #5c9396;
	background: rgba(255, 255, 255, 0.05);
}

/* ===== Hamburger / Mobile overlay ===== */

.hamburger-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin-left: auto;
}

.hamburger-bar,
.hamburger-bar::before,
.hamburger-bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	position: relative;
	transition: transform 0.25s, opacity 0.25s;
}

.hamburger-bar::before,
.hamburger-bar::after {
	content: '';
	position: absolute;
	left: 0;
}
.hamburger-bar::before { top: -7px; }
.hamburger-bar::after  { top:  7px; }

@keyframes overlayFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes overlayFadeOut {
	from { opacity: 1; }
	to   { opacity: 0; }
}

#mobile-overlay {
	display: none;
	opacity: 0;
	position: fixed;
	inset: 0;
	background: #2c2c2c;
	z-index: 200;
	align-items: center;
	justify-content: center;
}
#mobile-overlay.is-open {
	display: flex;
	opacity: 1;
	animation: overlayFadeIn 0.4s ease forwards;
}
#mobile-overlay.is-closing {
	display: flex;
	animation: overlayFadeOut 0.3s ease forwards;
}

.overlay-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 2rem;
	width: 100%;
}

.close-btn {
	background: none;
	border: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	position: relative;
}

.close-icon,
.close-icon::before,
.close-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	position: absolute;
}
.close-icon { background: transparent; }
.close-icon::before { content: ''; transform: rotate(45deg); }
.close-icon::after  { content: ''; transform: rotate(-45deg); }

.overlay-nav-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.overlay-nav-list > li {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.overlay-nav-list a {
	color: #ffffff;
	text-decoration: none;
	font-size: 1.125rem;
	letter-spacing: 0.12em;
	transition: color 0.2s;
}
.overlay-nav-list a:hover { color: #5c9396; }

.overlay-nav-list .sub-menu {
	list-style: none;
	/* border-top を削除：Portfolio直下の横線装飾の原因 */
	padding: 0.4rem 0 1rem 1.5rem; /* 左: 子メニューのインデント幅（ここで調整） */
	margin: 0;
}

/* ブレットポイント（::before で小さな丸を表示） */
.overlay-nav-list .sub-menu li {
	display: flex;
	align-items: center;
}
.overlay-nav-list .sub-menu li::before {
	content: '';
	flex-shrink: 0;
	width: 4px;                              /* ドットの大きさ（ここで調整） */
	height: 4px;                             /* ドットの大きさ（ここで調整） */
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.4); /* ドットの色（ここで調整） */
	margin-right: 0.65rem;                   /* ドットとテキストの間の余白（ここで調整） */
}

.overlay-nav-list .sub-menu a {
	display: block;
	padding: 0.5rem 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.08em;
	transition: color 0.3s ease;
}
.overlay-nav-list .sub-menu a:hover,
.overlay-nav-list .sub-menu a:active {
	color: #5c9396;
}

/* ===== Hero ===== */

.hero {
	background: #1f1f1f;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4rem 2rem;
}

.hero-inner {
	max-width: 800px;
	width: 100%;
}

.hero-btn-wrap {
	display: flex;
	justify-content: center;
}

.hero-logo {
	display: block;
	margin: 0 auto 2.5rem;
	max-width: 630px;
	width: 100%;
	height: auto;
}

.hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	height: 52px;
	padding: 0 2.5rem;
	border-radius: 2px;
	border: 1px solid #5c9396;
	text-decoration: none;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
	background: #5c9396;
	color: #ffffff;
	transition: background 0.25s, color 0.25s;
}
.hero-cta:hover { background: #ffffff; color: #5c9396; }

/* ===== Services ===== */

.services-section {
	background: #f7f7f5;
	padding: 5rem 2rem;
}

.services-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.services-title {
	text-align: center;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #1a1a1a;
	margin: 0 0 0.5rem;
}

.services-sub {
	text-align: center;
	color: #888888;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	margin: 0 0 3rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.work-card {
	background: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.work-card:hover .work-card-image img { filter: brightness(1.07); }

.work-card-category {
	color: #5c9396;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.work-card-image {
	height: 240px;
	width: 100%;
	overflow: hidden;
}
.work-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: filter 0.3s ease;
}

.work-card-body { padding: 1.5rem 1.5rem 1.75rem; }

.work-card-title {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: #1a1a1a;
}

.work-card-desc {
	font-size: 0.8rem;
	line-height: 1.7;
	color: #888888;
	margin: 0;
}

/* ===== Contact section ===== */

.contact-section {
	background: #2c2c2c;
	padding: 6rem 2rem;
	text-align: center;
}

.contact-inner {
	max-width: 840px;
	margin: 0 auto;
}

.contact-title {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #ffffff;
	margin: 0 0 1.5rem;
}

.contact-text {
	color: rgba(255,255,255,0.7);
	font-size: 1rem;
	letter-spacing: 0.05em;
	margin: 0 0 3rem;
}

.contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 2.5rem;
	border: 1px solid #5c9396;
	border-radius: 2px;
	color: #5c9396;
	text-decoration: none;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
	background: transparent;
	transition: background 0.25s, color 0.25s;
}
.contact-btn:hover { background: #5c9396; color: #ffffff; }

/* ===== Site footer ===== */

.site-footer {
	background: #2c2c2c;
	padding: 2rem;
	text-align: center;
}

.site-copyright {
	color: rgba(255,255,255,0.7);
	font-size: 0.875rem;
	margin: 0;
}

/* ===== Page / single templates ===== */

.page-main { margin: 0; }

.page-title-band {
	background: #f7f7f5;
	padding: 3rem 2rem;
}

.page-title-inner {
	max-width: 800px;
	margin: 0 auto;
}

.page-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0;
	color: #1a1a1a;
}

.single .page-title,
.page .page-title {
	font-size: 2.2rem;
	line-height: 1.4;
	letter-spacing: 0.03em;
	margin-bottom: 0.5rem;
}

.page-date {
	font-size: 0.875rem;
	color: #888888;
	margin: 0.75rem 0 0;
}

.page-content-wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 5rem 2rem 8rem;
}

.page-featured-image { margin-bottom: 3rem; }

.page-thumbnail {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	border-radius: 4px;
}

.post-separator {
	border: none;
	border-top: 1px solid #e5e5e5;
	margin: 3.5rem 0 2.5rem;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
}
.post-navigation a { color: #1a1a1a; text-decoration: none; transition: color 0.2s; }
.post-navigation a:hover { color: #5c9396; }
.nav-next { text-align: right; margin-left: auto; }

/* ===== Entry content ===== */

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em !important;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.entry-content li {
	line-height: 1.8;
	margin-bottom: 0.5rem;
}

.entry-content li::marker { color: #5c9396; }

.entry-content h2 {
	border-left: 3px solid #5c9396;
	padding-left: 1.2rem !important;
	margin-top: 3rem;
	margin-bottom: 1.25rem;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #2c2c2c;
}
.entry-content h2:first-child { margin-top: 0; }

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid #5c9396 !important;
	background: transparent !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #5c9396 !important;
	color: #ffffff !important;
}

/* ===== Post list (index.php) ===== */

.post-list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.post-card {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.post-card-thumbnail {
	width: 200px;
	height: 130px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.post-card-body { flex: 1; }

.post-card-date {
	font-size: 0.8rem;
	color: #888888;
	margin: 0 0 0.4rem;
}

.post-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.6rem;
}

.post-card-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s;
}
.post-card-title a:hover { color: #5c9396; }

.post-card-excerpt { font-size: 0.875rem; color: #888888; }

.posts-pagination { margin-top: 3rem; text-align: center; }

.no-posts {
	text-align: center;
	color: #888888;
	padding: 4rem 0;
}

/* ===== Archive template ===== */

.archive-content-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 4rem 2rem 8rem;
}

.archive-description {
	margin-top: 0.5rem;
	color: #666666;
	font-size: 0.9rem;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.archive-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.archive-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.archive-card-image {
	height: auto;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	background: #f0f0f0;
}
.archive-card-image .archive-card-thumb {
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	display: block;
	transition: filter 0.3s ease;
}
.archive-card:hover .archive-card-thumb { filter: brightness(1.07); }
.archive-card-noimage {
	width: 100%;
	height: 100%;
	background: #e8e8e8;
}

.archive-card-body { padding: 1.25rem 1.25rem 1.5rem; }

.archive-card-date {
	font-size: 0.75rem;
	color: #aaaaaa;
	margin: 0 0 0.4rem;
}

.archive-card-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.5;
}

/* ===== 404 template ===== */

.not-found-main {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 2rem;
	background: #1f1f1f;
}

.not-found-inner { text-align: center; }

.not-found-code {
	font-family: 'Great Vibes', cursive;
	font-size: 8rem;
	line-height: 1;
	color: #5c9396;
	margin: 0 0 0.25rem;
}

.not-found-title {
	font-family: 'Great Vibes', cursive;
	font-size: 2.5rem;
	font-weight: normal;
	color: #ffffff;
	margin: 0 0 1.5rem;
}

.not-found-message {
	color: #aaaaaa;
	font-size: 0.9rem;
	line-height: 1.8;
	margin: 0 0 2.5rem;
}

.not-found-btn {
	display: inline-block;
	padding: 0.75rem 2.5rem;
	border: 1px solid #5c9396;
	border-radius: 2px;
	color: #5c9396;
	text-decoration: none;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	transition: background 0.25s ease, color 0.25s ease;
}
.not-found-btn:hover {
	background: #5c9396;
	color: #ffffff;
}

/* ===== Journal / Recent posts (front-page) ===== */

.recent-posts-section {
	background: #1f1f1f;
	padding: 5rem 2rem;
}

.recent-posts-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.recent-posts-title {
	text-align: center;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #ffffff;
	margin: 0 0 2.5rem;
}

.recent-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.pgcard {
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pgcard:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pgcard-image {
	position: relative;
	height: auto;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	background: #d6e8e9;
	flex-shrink: 0;
}
.pgcard-thumb {
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	display: block;
	transition: filter 0.3s ease, transform 0.4s ease;
}
.pgcard:hover .pgcard-thumb {
	filter: brightness(1.06);
	transform: scale(1.03);
}
.pgcard-noimage {
	width: 100%;
	height: 100%;
	background: #d6e8e9;
}

.pgcard-cat-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #5c9396;
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	padding: 0.25rem 0.65rem;
	border-radius: 2px;
	white-space: nowrap;
	line-height: 1.4;
}

.pgcard-body {
	padding: 1.1rem 1.25rem 1.4rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.pgcard-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 0.75rem;
	line-height: 1.6;
}

.pgcard-date {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: #aaaaaa;
	margin: 0;
	letter-spacing: 0.05em;
}

.pgcard-clock {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 1.5px solid #bbbbbb;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}
.pgcard-clock::before,
.pgcard-clock::after {
	content: '';
	position: absolute;
	background: #bbbbbb;
	top: 50%;
	left: 50%;
}
.pgcard-clock::before {
	width: 1.5px;
	height: 4px;
	transform: translate(-50%, -90%) rotate(0deg);
	transform-origin: bottom center;
}
.pgcard-clock::after {
	width: 1.5px;
	height: 3px;
	transform: translate(-50%, -90%) rotate(90deg);
	transform-origin: bottom center;
}

.pgcard-empty {
	color: rgba(255,255,255,0.4);
	font-size: 0.9rem;
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 0;
}

.recent-posts-more {
	text-align: center;
	margin-top: 3rem;
}

.recent-posts-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 3.5rem;
	border: 1px solid #5c9396;
	border-radius: 2px;
	color: #5c9396;
	text-decoration: none;
	font-size: 0.875rem;
	letter-spacing: 0.15em;
	background: transparent;
	transition: background 0.25s ease, color 0.25s ease;
}
.recent-posts-more-btn:hover {
	background: #5c9396;
	color: #ffffff;
}

/* ===== jijiart/full-wide block ===== */

.jijiart-full-wide {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	box-sizing: border-box;
	overflow: visible;
}

.jfw-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	box-sizing: border-box;
}
.jijiart-full-wide--content-article .jfw-inner { max-width: 800px; }
.jijiart-full-wide--content-site    .jfw-inner { max-width: 1200px; }
.jijiart-full-wide--content-full    .jfw-inner { max-width: none; padding: 0; }

.jijiart-full-wide--pad-pc-0  { padding-top: 0;    padding-bottom: 0;    }
.jijiart-full-wide--pad-pc-20 { padding-top: 20px; padding-bottom: 20px; }
.jijiart-full-wide--pad-pc-40 { padding-top: 40px; padding-bottom: 40px; }
.jijiart-full-wide--pad-pc-60 { padding-top: 60px; padding-bottom: 60px; }
.jijiart-full-wide--pad-pc-80 { padding-top: 80px; padding-bottom: 80px; }

.jfw-shape {
	position: absolute;
	left: 0;
	width: 100%;
	height: 60px;
	background: inherit;
	pointer-events: none;
	z-index: 2;
}
.jfw-shape--top    { top: 0;    transform: translateY(-100%); }
.jfw-shape--bottom { bottom: 0; transform: translateY(100%);  }

.jfw-shape--top.jfw-shape--slant {
	clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}
.jfw-shape--bottom.jfw-shape--slant {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

.jfw-shape--top.jfw-shape--wave {
	clip-path: polygon(
		0 50%, 6.25% 0, 12.5% 50%, 18.75% 0, 25% 50%, 31.25% 0,
		37.5% 50%, 43.75% 0, 50% 50%, 56.25% 0, 62.5% 50%, 68.75% 0,
		75% 50%, 81.25% 0, 87.5% 50%, 93.75% 0, 100% 50%,
		100% 100%, 0 100%
	);
}
.jfw-shape--bottom.jfw-shape--wave {
	clip-path: polygon(
		0 50%, 6.25% 100%, 12.5% 50%, 18.75% 100%, 25% 50%, 31.25% 100%,
		37.5% 50%, 43.75% 100%, 50% 50%, 56.25% 100%, 62.5% 50%, 68.75% 100%,
		75% 50%, 81.25% 100%, 87.5% 50%, 93.75% 100%, 100% 50%,
		100% 0, 0 0
	);
}

.jfw-shape--top.jfw-shape--circle {
	clip-path: ellipse(55% 100% at 50% 100%);
}
.jfw-shape--bottom.jfw-shape--circle {
	clip-path: ellipse(55% 100% at 50% 0%);
}

.jfw-shape--top.jfw-shape--zigzag {
	clip-path: polygon(
		0 100%, 5% 0, 10% 100%, 15% 0, 20% 100%, 25% 0,
		30% 100%, 35% 0, 40% 100%, 45% 0, 50% 100%, 55% 0,
		60% 100%, 65% 0, 70% 100%, 75% 0, 80% 100%, 85% 0,
		90% 100%, 95% 0, 100% 100%
	);
}
.jfw-shape--bottom.jfw-shape--zigzag {
	clip-path: polygon(
		0 0, 5% 100%, 10% 0, 15% 100%, 20% 0, 25% 100%,
		30% 0, 35% 100%, 40% 0, 45% 100%, 50% 0, 55% 100%,
		60% 0, 65% 100%, 70% 0, 75% 100%, 80% 0, 85% 100%,
		90% 0, 95% 100%, 100% 0, 100% 100%, 0 100%
	);
}

.editor-styles-wrapper .jijiart-full-wide,
.block-editor .jijiart-full-wide {
	width: auto !important;
	margin-left: 0 !important;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
	.recent-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.archive-grid      { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
	.recent-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
	/* Header */
	.hamburger-btn     { display: flex; }
	.site-nav          { display: none; }
	.header-logo-text  { font-size: 1.9rem; }
	.site-header-inner { padding: 0 1.25rem; }

	/* Hero */
	.hero              { padding-left: 1rem; padding-right: 1rem; }
	.hero-logo         { max-width: 120vw; }

	/* Services */
	.services-section  { padding-left: 1rem; padding-right: 1rem; }
	.services-grid     { grid-template-columns: 1fr; }

	/* Contact */
	.contact-section   { padding-left: 1rem; padding-right: 1rem; }

	/* Page / single title */
	.single .page-title,
	.page .page-title  { font-size: 1.6rem; }

	/* Post list */
	.post-card         { flex-direction: column; }
	.post-card-thumbnail { width: 100%; height: 200px; }
	.page-content-wrap { padding: 3rem 1.5rem 5rem; }

	/* Archive */
	.archive-content-wrap { padding: 3rem 1.25rem 5rem; }
	.archive-grid      { grid-template-columns: 1fr; }

	/* Recent posts */
	.recent-posts-section { padding-left: 1rem; padding-right: 1rem; }

	/* Full-wide SP padding overrides */
	.jijiart-full-wide--pad-sp-0  { padding-top: 0 !important;    padding-bottom: 0 !important;    }
	.jijiart-full-wide--pad-sp-20 { padding-top: 20px !important; padding-bottom: 20px !important; }
	.jijiart-full-wide--pad-sp-40 { padding-top: 40px !important; padding-bottom: 40px !important; }
	.jijiart-full-wide--pad-sp-60 { padding-top: 60px !important; padding-bottom: 60px !important; }
	.jijiart-full-wide--pad-sp-80 { padding-top: 80px !important; padding-bottom: 80px !important; }
}
