/*
	Theme Name: atelier103 2026
	Template: twentytwenty
	Version: 0.23
*/

/* ========================================
	Root
======================================== */

:root {
	--color-bg: #fff;
	--color-text: #0e6517;
	--color-accent: #5E7E0F;

	--font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--font-title: "optima-lt-pro", sans-serif;
	--font-body: "Noto Sans JP", sans-serif;
	--font-ui: "dnp-shuei-gothic-kin-std", sans-serif;

	--header-height: 6rem;

	--transition-base: 0.35s ease;
}

/* ========================================
	Foundation
======================================== */

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

html {
	margin: 0;
	padding: 0;
	font-size: 62.5%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text) !important;
	font-family: var(--font-sans);
	line-height: 1.4;
}

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

a {
	color: inherit;
	text-decoration: none;
}

/* ========================================
	Utility
======================================== */

.accent,
.accent > * {
	color: var(--color-text);
}

/* ========================================
	Layout
======================================== */

.site-header,
.site-main,
.site-footer {
	width: 100%;
}

.page-shell {
	transition: filter var(--transition-base), opacity var(--transition-base);
	will-change: filter, opacity;
}

body.menu-open {
	height: 100dvh;
	overflow: hidden;
}

body.menu-open .page-shell {
	opacity: 0.64;
	filter: blur(0.4rem);
}

/* ========================================
	Header
======================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--header-height);
}

.header-inner {
	position: fixed;
	top: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: end;
	width: 100%;
	padding: 1rem 2rem;
}

.menu-open .header-inner {
	background: var(--color-bg);
}

/* ========================================
	Menu Toggle
======================================== */

.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	height: 4rem;
	padding: 0;
	border: 0;
	background: transparent;
	appearance: none;
	cursor: pointer;
}

.menu-toggle .bars {
	position: relative;
	width: 3.6rem;
}

.menu-toggle .bar {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 0.18rem;
	background: var(--color-text);
	transition: 0.3s ease-out;
}

.menu-toggle .bar:nth-of-type(1) {
	margin-top: -0.9rem;
}

.menu-toggle .bar:nth-of-type(2) {
	margin-top: -0.1rem;
}

.menu-toggle .bar:nth-of-type(3) {
	margin-top: 0.7rem;
}

.menu-toggle.active .bar {
	transition:
		margin 0.2s ease-in,
		opacity 0.2s ease-in,
		transform 0.25s ease-out 0.2s;
}

.menu-toggle.active .bar:nth-of-type(1) {
	margin-top: -0.1rem;
	transform: rotate(225deg);
}

.menu-toggle.active .bar:nth-of-type(2) {
	opacity: 0;
}

.menu-toggle.active .bar:nth-of-type(3) {
	margin-top: -0.1rem;
	transform: rotate(-225deg);
}

/* ========================================
	Mobile Menu
======================================== */

.mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999;
	width: 100%;
	height: 100dvh;
	padding-top: var(--header-height);
	overflow-y: auto;
	background: var(--color-bg);
	visibility: hidden;
	pointer-events: none;
	transform: translateX(100%);
	transition:
		transform var(--transition-base),
		visibility 0s linear 0.35s;
	-webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
	visibility: visible;
	pointer-events: auto;
	transform: translateX(0);
	transition:
		transform var(--transition-base),
		visibility 0s linear 0s;
}

.mobile-menu-inner {
	padding: 1.2rem 1.6rem 1.6rem;
}

.mobile-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu li + li {
	margin-top: 1.2rem;
}

/* ========================================
	Main Content
======================================== */

.site-main {
	max-width: 54rem;
	margin: 0 auto;
	padding: 0 2rem 2rem;
}

.post-full {
	max-width: 100%;
	padding: 0 !important;
}

.post-date {
	display: block;
	width: 100%;
	color: var(--color-accent);
	font-family: var(--font-title);
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0%;
	text-align: center;
}

.title-fit-wrap {
	width: 100%;
}

.post-title {
	display: inline-block;
	margin: 0;
	color: var(--color-accent);
	font-family: var(--font-title);
	font-size: 100px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	visibility: hidden;
}

.post-title.is-ready {
	visibility: visible;
}

.post-content > *:first-child {
	margin-top: 6rem;
}

/* ========================================
	Post Content
======================================== */

.post-content .wp-block-image {
	margin: 4rem 0;
}

.post-content p {
	margin: 2em 0;
	font-family: var(--font-body);
	font-size: 1.3rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0.09em;
}

/* ========================================
	Footer
======================================== */

.site-footer {
	padding: 0 2rem 4rem;
}

.shared-footer-content {
	max-width: 81rem;
	margin: 0 auto;
}

.footer-post-list-title {
	display: none;
}

.footer-post-item {
	position: relative;
	border-bottom: 0.1rem solid var(--color-text);
}

.footer-post-item::after {
	position: absolute;
	right: -0.4rem;
	bottom: -0.45rem;
	display: block;
	width: 0.8rem;
	height: 0.8rem;
	background: var(--color-text);
	border-radius: 50%;
	content: "";
}

.footer-post-link {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2.4rem 0 1.2rem;
	color: var(--color-text) !important;
	font-family: var(--font-ui);
	font-size: 0.8em;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 9%;
}

.footer-post-date {
	font-size: 1.2rem;
	line-height: 1;
	letter-spacing: 0%;
}

.footer-post-name {
	flex: 1 1 auto;
	font-size: 1.5rem;
	line-height: 1;
}

.footer-instagram {
	margin-top: 4rem;
}

.footer-instagram-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: fit-content;
	margin: 0 auto;
}

.footer-instagram-link .fa-instagram {
	font-size: 2.4rem;
}

.footer-instagram-text {
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1;
}