/* =========================================================
   PALM COSMOS HOIKUEN
   パームコスモス保育園専用CSS
========================================================= */
.palm-site {
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	color: #333;
	font-weight: 500;
}

.ls-1{letter-spacing:1px}.ls-2{letter-spacing:2px}.ls-3{letter-spacing:3px}.ls-4{letter-spacing:4px}.ls-5{letter-spacing:5px}.ls-6{letter-spacing:6px}.ls-7{letter-spacing:7px}.ls-8{letter-spacing:8px}.ls-9{letter-spacing:9px}.ls-10{letter-spacing:10px}

:root {
	--cosmosblack: #595757;
	--cosmosgreen: #8fc31f;
	--cosmosyellow: #fdd000;
	--cosmosbrown: #60473c;
	--cosmospink: #f0908f;
	--cosmosblue: #38a1db;
	--cosmosskyblue: #97dfff;
	--cosmosaomidori: #1aa692;
	--cosmosorange: #f08300;
	--cosmospurple: #a46eac;
	--cosmos-cream: #fff9e0;
}

.text-cosmosgreen {
	color: var(--cosmosgreen);
}
.text-cosmosyellow {
	color: var(--cosmosyellow);
}
.text-cosmosbrown {
	color: var(--cosmosbrown);
}
.text-cosmospink {
	color: var(--cosmospink);
}
.text-cosmosskyblue {
	color: var(--cosmosskyblue);
}
.text-cosmosorange {
	color: var(--cosmosorange);
}
.text-cosmospurple {
	color: var(--cosmospurple);
}
.text-cosmosaomidori {
	color: var(--cosmosaomidori);
}
.text-cosmosblue {
	color: var(--cosmosblue);
}

.bg-cosmosgreen {
	background-color: var(--cosmosgreen);
}
.bg-cosmosyellow {
	background-color: var(--cosmosyellow);
}
.bg-cosmosbrown {
	background-color: var(--cosmosbrown);
}
.bg-cosmospink {
	background-color: var(--cosmospink);
}
.bg-cosmosskyblue {
	background-color: var(--cosmosskyblue);
}
.bg-cosmosorange {
	background-color: var(--cosmosorange);
}
.bg-cosmospurple {
	background-color: var(--cosmospurple);
}

.cosmos-containerdai {
	margin-left: 24px;
	margin-right: 24px;
}
@media (min-width: 576px) {
	.cosmos-containerdai {
		margin-left: 5%;
		margin-right: 5%;
	}
}

.cosmos-containerdai2 {
	margin-left: 24px;
	margin-right: 24px;
}
@media (min-width: 576px) {
	.cosmos-containerdai2 {
		margin-left: 5%;
		margin-right: 5%;
	}
}
@media (min-width: 1400px) {
	.cosmos-containerdai2 {
		margin-left: 10%;
		margin-right: 10%;
	}
}


/* ========================================
   COSMOS HEADER
======================================== */
#cosmos-wrapper {
	width: 100%;
	overflow: hidden;
}
#cosmos-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	background-color: var(--cosmos-cream);
	background-image:
		radial-gradient(circle, rgba(253, 208, 0, 0.28) 2px, transparent 2.5px),
		radial-gradient(circle, rgba(143, 195, 31, 0.22) 2px, transparent 2.5px);
	background-size: 30px 30px;
	background-position: 0 0, 15px 15px;
}
#cosmos-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: repeating-linear-gradient(90deg,
		var(--cosmosgreen) 0 60px,
		var(--cosmosyellow) 60px 120px,
		var(--cosmosaomidori) 120px 180px,
		var(--cosmosorange) 180px 240px);
}
#cosmos-header::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1002;
	width: 100%;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0H40V2C40 12.5 0 12.5 0 2Z' fill='%23fff9e0'/%3E%3C/svg%3E") repeat-x;
	background-size: 40px 12px;
	pointer-events: none;
}
.cosmos-header-inner {
	display: flex;
  width: 100%;
  min-height: 110px;
  padding: 20px 20px 10px;
  gap: 20px;
  align-items: center;
}
.cosmos-header-logo {
	flex-shrink: 0;
}
.cosmos-header-logo a {
	display: block;
	width: 240px;
	transition: transform 0.3s ease;
}
@media (min-width: 1200px) {
	.cosmos-header-logo a {
		width: 300px;
	}
}
@media (min-width: 1400px) {
	.cosmos-header-logo a {
		width: 380px;
	}
}
@media (min-width: 1600px) {
	.cosmos-header-logo a {
		width: 460px;
	}
}
.cosmos-header-logo a:hover {
	transform: rotate(-2deg) scale(1.02);
}
.cosmos-header-logo img {
	display: block;
	width: 100%;
	height: auto;
}
.cosmos-global-nav {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	flex: 1;
	min-width: 0;
}
.cosmos-global-menu {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cosmos-global-menu li {
	margin: 0;
	padding: 0;
}
.cosmos-global-menu li:nth-child(1) { --c: var(--cosmosgreen); --icon: url("../img/palm-cosmos/cosmos-icon-about.svg"); }
.cosmos-global-menu li:nth-child(2) { --c: var(--cosmosyellow); --icon: url("../img/palm-cosmos/cosmos-icon-admission.svg"); }
.cosmos-global-menu li:nth-child(3) { --c: var(--cosmosaomidori); --icon: url("../img/palm-cosmos/cosmos-icon-life.svg"); }
.cosmos-global-menu li:nth-child(4) { --c: var(--cosmosorange); --icon: url("../img/palm-cosmos/cosmos-icon-news.svg"); }
.cosmos-global-menu li:nth-child(5) { --c: var(--cosmosgreen); --icon: url("../img/palm-cosmos/cosmos-icon-access.svg"); }
.cosmos-global-menu li:nth-child(6) { --c: var(--cosmosaomidori); --icon: url("../img/palm-cosmos/cosmos-icon-recruit.svg"); }
.cosmos-global-menu li a {
	position: relative;
	display: block;
	padding: 12px 14px 0;
	color: var(--cosmosblack);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 999px;
	transition: color 0.3s ease, background-color 0.3s ease;
	border-bottom: 0;
}
@media (min-width: 1200px) {
	.cosmos-global-menu li:nth-child(1) { --c: var(--cosmosgreen); --icon: url("../img/palm-cosmos/cosmos-icon-about.svg"); }
	.cosmos-global-menu li:nth-child(2) { --c: var(--cosmosyellow); --icon: url("../img/palm-cosmos/cosmos-icon-admission.svg"); }
	.cosmos-global-menu li:nth-child(3) { --c: var(--cosmosaomidori); --icon: url("../img/palm-cosmos/cosmos-icon-life.svg"); }
	.cosmos-global-menu li:nth-child(4) { --c: var(--cosmosorange); --icon: url("../img/palm-cosmos/cosmos-icon-news.svg"); }
	.cosmos-global-menu li:nth-child(5) { --c: var(--cosmosgreen); --icon: url("../img/palm-cosmos/cosmos-icon-access.svg"); }
	.cosmos-global-menu li:nth-child(6) { --c: var(--cosmosaomidori); --icon: url("../img/palm-cosmos/cosmos-icon-recruit.svg"); }
	.cosmos-global-menu li a {
		font-size: 16px;
	}
}
.cosmos-global-menu li a:focus-visible {
	outline: 3px dashed var(--c);
	outline-offset: 2px;
}
@media (min-width: 992px) {
	.cosmos-global-menu li a {
		padding-top: 62px;
	}

	.cosmos-global-menu li a::before {
		content: "";
     position: absolute;
     top: -10px;
     left: 60%;
     width: 80px;
     height: 70px;
     margin-left: -49px;
     background: var(--icon) center / contain no-repeat;
	}

	.cosmos-global-menu li a:hover {
		background-color: color-mix(in srgb, var(--c) 18%, #fff);
	}

	.cosmos-global-menu li a:hover::before {
		animation: cosmosBounce 0.6s ease infinite;
	}
}
.cosmos-header-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 15px;
}
@media (min-width: 992px) {
	.cosmos-header-buttons {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.cosmos-header-contact {
		grid-column: 1 / -1;
	}

	.cosmos-header-contact a,
	.cosmos-header-palm a,
	.cosmos-header-corporate a {
		width: 100%;
		min-height: 38px;
		padding: 6px 26px 6px 12px;
		font-size: 13px;
		outline-offset: -5px;
		box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
	}

	.cosmos-header-palm,
	.cosmos-header-corporate {
		width: 140px;
	}
	.cosmos-header-buttons .cosmos-header-contact {
		grid-column: 1 / -1;
		width: 100%;
	}

	.cosmos-header-buttons .cosmos-header-contact a {
		width: 100%;
	}
	.cosmos-header-buttons > div > a {
		height: 40px;
		min-height: 0;
		padding-top: 10px;
		padding-bottom: 10px;
		line-height: 1;
		width: 100%;
	}
}
.cosmos-header-contact,
.cosmos-header-palm,
.cosmos-header-corporate {
	flex-shrink: 0;
}
.cosmos-header-contact a,
.cosmos-header-palm a,
.cosmos-header-corporate a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	min-height: 50px;
	padding: 10px 25px 10px 15px;
	border-radius: 50px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	outline: 2px dashed rgba(255, 255, 255, 0.75);
	outline-offset: -6px;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.3s ease;
}
@media (min-width: 1200px) {
	.cosmos-header-contact a,
	.cosmos-header-palm a,
	.cosmos-header-corporate a {
		font-size: 14px;
	}
}
.cosmos-header-contact a {
	color: #fff;
	background: var(--cosmosaomidori);
	border: 2px solid var(--cosmosaomidori);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
}
.cosmos-header-contact a:hover {
	color: var(--cosmosaomidori);
	background: #fff;
	outline-color: color-mix(in srgb, var(--cosmosaomidori) 50%, #fff);
	transform: translateY(2px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
}
.cosmos-header-contact a::after {
	content: "→";
	position: absolute;
	right: 15px;
	font-size: 16px;
	transition: transform 0.3s ease;
}
.cosmos-header-contact a:hover::after {
	transform: translateX(3px);
}
.cosmos-header-corporate a {
	color: #fff;
	background: var(--cosmosorange);
	border: 2px solid var(--cosmosorange);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}
.cosmos-header-corporate a:hover {
	color: var(--cosmosorange);
	background: #fff;
	outline-color: color-mix(in srgb, var(--cosmosorange) 50%, #fff);
	transform: translateY(2px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}
.cosmos-header-palm a {
	color: #fff;
	background: var(--cosmosblue);
	border: 2px solid var(--cosmosblue);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosblue) 70%, #000);
}

.cosmos-header-palm a:hover {
	color: var(--cosmosblue);
	background: #fff;
	outline-color: color-mix(in srgb, var(--cosmosblue) 50%, #fff);
	transform: translateY(2px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosblue) 70%, #000);
}
.cosmos-header-contact a:focus-visible,
.cosmos-header-palm a:focus-visible,
.cosmos-header-corporate a:focus-visible {
	outline: 3px solid var(--cosmosblue);
	outline-offset: 3px;
}
.cosmos-header-corporate-arrow {
	position: absolute;
	right: 15px;
	font-size: 13px;
}
.cosmos-hamburger {
	display: none;
	position: relative;
	z-index: 1002;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	margin-left: auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--cosmosaomidori);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cosmos-hamburger:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
}
.cosmos-hamburger:focus-visible {
	outline: 3px dashed var(--cosmosblue);
	outline-offset: 3px;
}
.cosmos-hamburger::before,
.cosmos-hamburger::after {
	content: "";
	position: absolute;
	top: -7px;
	width: 14px;
	height: 14px;
	border-radius: 100% 0;
	transition: transform 0.35s ease;
}
.cosmos-hamburger.is-active {
	background: var(--cosmosorange);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}
.cosmos-hamburger.is-active::before {
	transform: rotate(-35deg);
}
.cosmos-hamburger.is-active::after {
	transform: rotate(125deg);
}
.cosmos-hamburger span {
	position: absolute;
	left: 11px;
	width: 26px;
	height: 3px;
	background: #fff;
	border-radius: 10px;
	transition: top 0.35s ease, transform 0.35s ease, opacity 0.25s ease;
}
.cosmos-hamburger span:nth-child(1) {
	top: 14px;
}
.cosmos-hamburger span:nth-child(2) {
	top: 22px;
}
.cosmos-hamburger span:nth-child(3) {
	top: 30px;
}
.cosmos-hamburger.is-active span:nth-child(1) {
	top: 22px;
	transform: rotate(45deg);
}
.cosmos-hamburger.is-active span:nth-child(2) {
	opacity: 0;
}
.cosmos-hamburger.is-active span:nth-child(3) {
	top: 22px;
	transform: rotate(-45deg);
}
@media (min-width: 992px) and (max-width: 1299.98px) {
	.cosmos-header-inner {
		gap: 10px;
		padding: 25px 10px 10px 10px;
	}
	.cosmos-global-menu li a {
		padding: 42px 10px 0px;
	}
	.cosmos-global-menu li a::before {
		top: -26px;
    width: 60px;
    height: 60px;
    margin-left: -38px;
	}
	.cosmos-header-buttons {
		gap: 10px;
		margin-left: 5px;
		flex-direction: column;
	}
	.cosmos-header-contact a,
	.cosmos-header-palm a,
	.cosmos-header-corporate a {
		width: 126px;
		min-height: 38px;
		padding: 7px 25px 7px 10px;
		outline-offset: -5px;
		box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
	}
}
@media (max-width: 991.98px) {
	.cosmos-header-inner {
		min-height: 72px;
		padding: 10px 16px;
	}
	.cosmos-header-logo {
		position: relative;
		z-index: 1002;
	}
	.cosmos-header-logo a {
		width: 280px;
	}
	.cosmos-hamburger {
		display: block;
	}
	.cosmos-global-nav {
		position: fixed;
		top: 72px;
		right: 0;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		height: calc(100dvh - 72px);
		margin: 0;
		padding: 0 24px 190px;
		background-color: var(--cosmos-cream);
		background-image:
			url("../img/palm-cosmos/cosmos-logomark.svg"),
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cpath d='M0 16V8Q20 0 40 8T80 8V16Z' fill='%23fdd000' fill-opacity='.35'/%3E%3C/svg%3E"),
			linear-gradient(to bottom, transparent calc(100% - 40px), rgba(253, 208, 0, 0.35) calc(100% - 40px)),
			radial-gradient(circle, rgba(253, 208, 0, 0.28) 2px, transparent 2.5px),
			radial-gradient(circle, rgba(143, 195, 31, 0.22) 2px, transparent 2.5px);
		background-repeat: no-repeat, repeat-x, no-repeat, repeat, repeat;
		background-size: 130px 127px, 80px 16px, 100% 100%, 30px 30px, 30px 30px;
		background-position:
			right 20px bottom 20px,
			left 0 bottom 40px,
			0 0,
			0 0,
			15px 15px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
	}
	.cosmos-global-nav.is-open {
		transform: translateX(0);
	}
	.cosmos-global-menu {
		display: block;
		width: 100%;
		max-width: 500px;
		margin: 0 auto;
	}
	.cosmos-global-menu li {
		border-bottom: 3px dotted color-mix(in srgb, var(--c) 55%, #fff);
	}
	.cosmos-global-menu li a {
		display: block;
		padding: 15px 30px 15px 42px;
		color: var(--cosmosblack);
		font-size: 17px;
		font-weight: 700;
		border-radius: 0;
		opacity: 0;
		transform: translateX(60px);
	}
	.cosmos-global-menu li a::before {
		content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 50px;
    height: 50px;
    margin-top: -22px;
    background: var(--icon) center / contain no-repeat;
	}
	.cosmos-global-menu li a::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 10px;
		width: 8px;
		height: 8px;
		margin-top: -5px;
		border-top: 3px solid var(--c);
		border-right: 3px solid var(--c);
		border-radius: 1px;
		transform: rotate(45deg);
	}
	.cosmos-global-menu li a:active {
		background-color: color-mix(in srgb, var(--c) 12%, transparent);
	}
	.cosmos-global-nav.is-open .cosmos-global-menu li a {
		animation: cosmosMenuSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	}
	.cosmos-global-nav.is-open .cosmos-global-menu li:nth-child(1) a { animation-delay: 0.10s; }
	.cosmos-global-nav.is-open .cosmos-global-menu li:nth-child(2) a { animation-delay: 0.17s; }
	.cosmos-global-nav.is-open .cosmos-global-menu li:nth-child(3) a { animation-delay: 0.24s; }
	.cosmos-global-nav.is-open .cosmos-global-menu li:nth-child(4) a { animation-delay: 0.31s; }
	.cosmos-global-nav.is-open .cosmos-global-menu li:nth-child(5) a { animation-delay: 0.38s; }
	.cosmos-global-nav.is-open .cosmos-global-menu li:nth-child(6) a { animation-delay: 0.45s; }
	.cosmos-header-buttons {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 500px;
		margin: 30px auto 0;
		gap: 15px;
	}
	.cosmos-header-contact a,
	.cosmos-header-palm a,
	.cosmos-header-corporate a {
		width: 100%;
		min-height: 52px;
		font-size: 15px;
	}
}
@keyframes cosmosMenuSlideIn {
	from {
		opacity: 0;
		transform: translateX(60px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes cosmosBounce {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-4px) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
	.cosmos-global-menu li a:hover::before {
		animation: none;
	}
	.cosmos-global-nav.is-open .cosmos-global-menu li a {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* =========================================================
	COSMOS FV
========================================================= */
#palm-cosmos {
	margin-top: 100px;
}

.cosmos-fv {
	position: relative;
	width: 100%;
	height: calc(100svh - 90px);
	min-height: 640px;
	overflow: hidden;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	background-color: var(--cosmos-cream);
	background-image:
		radial-gradient(circle, rgba(253, 208, 0, 0.28) 2px, transparent 2.5px),
		radial-gradient(circle, rgba(143, 195, 31, 0.22) 2px, transparent 2.5px);
	background-size: 30px 30px;
	background-position: 0 0, 15px 15px;
}

.cosmos-fv::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 40px;
	background: url("../img/palm-cosmos/concept-nami.svg") repeat-x;
	background-size: 160px 40px;
	pointer-events: none;
}

.cosmos-fv-photo {
	position: absolute;
	top: 34px;
	right: 2.5%;
	bottom: 100px;
	z-index: 1;
	width: 85%;
	overflow: hidden;
	border: 8px solid var(--cosmosgreen);
	border-radius: 64px;
	background-color: var(--cosmosgreen);
	box-shadow: 10px 10px 0 var(--cosmosgreen);
	animation: cosmosFvPhotoIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cosmos-fv-photo picture {
	display: block;
	width: 100%;
	height: 100%;
}

.cosmos-fv-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	animation: cosmosFvZoom 6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cosmos-fv-content {
	position: absolute;
	top: 71%;
	left: 3%;
	z-index: 3;
	transform: translateY(-46%);
}

.cosmos-fv-card {
	position: relative;
	width: fit-content;
	padding: 44px 40px 40px;
	background-color: #fff;
	border-radius: 48px;
	border: 6px solid var(--cosmosaomidori);
	box-shadow: 0 8px 0 var(--cosmosaomidori);
	outline: 3px dashed color-mix(in srgb, var(--cosmosgreen) 55%, #fff);
	outline-offset: -14px;
	animation: cosmosFvPop 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.cosmos-fv-card::before {
	content: "";
	position: absolute;
	top: -346px;
  left: -5%;
  right: 28px;
  width: 364px;
  height: 362px;
	background: url("../img/palm-cosmos/cosmos-logomark.svg") center / contain no-repeat;
	transform-origin: 50% 100%;
	animation: cosmosFvSway 4s ease-in-out 1.5s infinite;
}

.cosmos-fv-en {
	position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
	margin: 0 0 14px;
	font-family: "Chewy", cursive;
	font-size: clamp(18px, 1.7vw, 26px);
	line-height: 1;
	letter-spacing: 0.06em;
	white-space: nowrap;
}
@media (min-width: 992px) {
	.cosmos-fv-en {
		left: inherit;
		right: 3%;
		bottom: 3%;
		transform: translateX(0%);
		font-size: calc((80vw - 340px) / 10.0);
	}
}
@media (min-width: 1300px) {
	.cosmos-fv-en {
		font-size: calc((80vw - 390px) / 10.0);
	}
}

.cosmos-fv-en span {
	display: inline-block;
	animation: cosmosFvHop 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cosmos-fv-en span:nth-child(1) {
	color: #fff;
	animation-delay: 0.7s;
}

.cosmos-fv-en span:nth-child(2) {
	color: #fff;
	animation-delay: 0.82s;
}

.cosmos-fv-en span:nth-child(3) {
	color: #fff;
	animation-delay: 0.94s;
}

.cosmos-fv-title {
	margin: 0 0 18px;
	color: var(--cosmosblack);
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.cosmos-fv-mark {
	position: relative;
	z-index: 0;
	display: inline-block;
	color: var(--cosmosorange);
}

.cosmos-fv-mark::after {
	content: "";
	position: absolute;
	right: -4px;
	bottom: 0.08em;
	left: -4px;
	z-index: -1;
	height: 0.38em;
	background-color: #ffe500;
	border-radius: 999px;
	opacity: 0.55;
	transform: scaleX(0);
	transform-origin: left center;
	animation: cosmosFvMarker 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.cosmos-fv-lead {
	width: 0;
	min-width: 100%;
	margin: 0;
	color: var(--cosmosblack);
	font-size: clamp(13px, 1vw, 15px);
	font-weight: 500;
	line-height: 1.9;
}

@keyframes cosmosFvPhotoIn {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes cosmosFvZoom {
	from {
		transform: scale(1.12);
	}
	to {
		transform: scale(1);
	}
}

@keyframes cosmosFvPop {
	0% {
		opacity: 0;
		transform: translateY(60px) scale(0.7) rotate(-4deg);
	}
	45% {
		opacity: 1;
		transform: translateY(-14px) scale(1.04) rotate(1.5deg);
	}
	70% {
		transform: translateY(6px) scale(0.98) rotate(-0.5deg);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1) rotate(0);
	}
}

@keyframes cosmosFvHop {
	0% {
		opacity: 0;
		transform: translateY(16px);
	}
	60% {
		opacity: 1;
		transform: translateY(-6px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cosmosFvMarker {
	to {
		transform: scaleX(1);
	}
}

@keyframes cosmosFvSway {
	0%,
	100% {
		transform: rotate(-4deg);
	}
	50% {
		transform: rotate(4deg);
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.cosmos-fv-photo {
		width: 95%;
	}

	.cosmos-fv-card {
		padding: 36px 32px 32px;
	}

	.cosmos-fv-card::before {
		top: -214px;
    width: 234px;
    height: 242px;
    left: 0;
	}
}

@media (max-width: 991.98px) {
	#palm-cosmos {
		margin-top: 72px;
	}

	.cosmos-fv {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		height: calc(100svh - 72px);
		min-height: 560px;
		padding: 0 12px 38px;
	}

	.cosmos-fv::after {
		height: 26px;
		background-size: 104px 26px;
	}

	.cosmos-fv-photo {
		inset: 0;
		width: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		animation: none;
	}

	.cosmos-fv-content {
		position: relative;
		top: auto;
		left: auto;
		flex: 0 0 auto;
		margin: 0;
		transform: none;
		margin-bottom: 12% !important;
	}

	.cosmos-fv-card {
		width: auto;
    padding: 5%;
    border-radius: 30px;
    outline-offset: -9px;
    max-width: 560px;
    margin: 0 auto;
	}

	.cosmos-fv-card::before {
		top: -50px;
		right: 14px;
		width: 66px;
		height: 64px;
	}

	.cosmos-fv-en {
		margin-bottom: 10px;
		font-size: calc((100vw - 64px) / 10.0);
	}

	.cosmos-fv-title {
		margin-bottom: 10px;
		font-size: clamp(20px, 7vw, 28px);
		line-height: 1.4;
	}

	.cosmos-fv-lead {
		font-size: clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
		line-height: 1.5;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-fv *,
	.cosmos-fv *::before,
	.cosmos-fv *::after {
		animation: none !important;
	}

	.cosmos-fv-mark::after {
		transform: none;
	}
}


/* =========================================================
	COSMOS CONCEPT
========================================================= */
.cosmos-concept {
	position: relative;
	overflow: hidden;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	background-color: var(--cosmosskyblue);
	background-image:
		radial-gradient(circle, rgba(255, 255, 255, 0.35) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-concept::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	height: 40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C20 6 60 6 80 20S140 34 160 20V40Z' fill='%23fef9e0'/%3E%3C/svg%3E") repeat-x;
	background-size: 160px 40px;
	pointer-events: none;
}

.cosmos-concept-cloud {
	position: absolute;
	z-index: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M22 56C10 56 4 48 6 40C8 32 16 28 24 30C24 18 34 8 46 10C54 2 70 2 78 12C88 8 100 14 102 26C112 26 118 34 116 44C114 52 108 56 100 56Z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
	animation: cosmosConceptCloud 9s ease-in-out infinite alternate;
}

.cosmos-concept-cloud--1 {
	top: 48px;
	left: 4%;
	width: 160px;
	height: 80px;
}

.cosmos-concept-cloud--2 {
	top: 150px;
	right: 6%;
	width: 120px;
	height: 60px;
	opacity: 0.85;
	animation-duration: 12s;
	animation-delay: -4s;
}

.cosmos-concept-cloud--3 {
	top: 38%;
	left: -30px;
	width: 100px;
	height: 50px;
	opacity: 0.7;
	animation-duration: 14s;
	animation-delay: -7s;
}

.cosmos-concept-container {
	position: relative;
	z-index: 2;
	padding-bottom: 40px;
}

.cosmos-concept-head {
	position: relative;
	margin-bottom: 56px;
	text-align: center;
}

.cosmos-concept-head::after {
	content: "";
	position: absolute;
	top: -30%;
	right: 0%;
	width: 240px;
	height: 200px;
	background: url("../img/palm-cosmos/cosmos-bird.svg") center / contain no-repeat;
	transform-origin: 50% 100%;
	animation: cosmosConceptSway 4s ease-in-out infinite;
}
@media (min-width: 1400px) {
	.cosmos-concept-head::after {
		top: -60%;
		width: 340px;
		height: 300px;
	}
}

.cosmos-concept-en {
	margin: 0 0 18px;
}

.cosmos-concept-en span {
	display: inline-block;
	padding: 8px 28px 6px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 30px;
	line-height: 1;
	letter-spacing: 0.08em;
	background-color: var(--cosmosorange);
	border-radius: 999px;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.cosmos-concept-title {
	margin: 0;
	color: var(--cosmosblack);
	font-size: clamp(24px, 3vw, 46px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;
}

.cosmos-concept-mark {
	position: relative;
	z-index: 0;
	display: inline-block;
	color: var(--cosmosorange);
}

.cosmos-concept-mark::after {
	content: "";
	position: absolute;
	right: 0.3em;
	bottom: 0.1em;
	left: 0.3em;
	z-index: -1;
	height: 0.4em;
	background-color: #ffe500;
	border-radius: 999px;
	opacity: 0.7;
}

.cosmos-concept-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.cosmos-concept-card {
	--t: color-mix(in srgb, var(--c) 72%, var(--cosmosbrown));
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 10px 10px 0;
	color: var(--cosmosblack);
	text-decoration: none;
	background-color: #fff;
	border-radius: 32px;
	box-shadow: 0 8px 0 color-mix(in srgb, var(--c) 75%, #fff);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cosmos-concept-card--about {
	--c: var(--cosmosgreen);
}

.cosmos-concept-card--admission {
	--c: var(--cosmosyellow);
}

.cosmos-concept-card--life {
	--c: var(--cosmosaomidori);
}

.cosmos-concept-card--access {
	--c: var(--cosmosorange);
}

.cosmos-concept-card:hover {
	color: var(--cosmosblack);
	transform: translateY(-6px) rotate(-1deg);
	box-shadow: 0 14px 0 color-mix(in srgb, var(--c) 75%, #fff);
}

.cosmos-concept-card:focus-visible {
	outline: 3px dashed #fff;
	outline-offset: 4px;
}

.cosmos-concept-card-img {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	background-color: color-mix(in srgb, var(--c) 30%, #fff);
}

.cosmos-concept-card-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.cosmos-concept-card:hover .cosmos-concept-card-img img {
	transform: scale(1.06);
}

.cosmos-concept-card-body {
	position: relative;
	display: flex;
	flex: 1;
	align-items: stretch;
	justify-content: space-between;
	gap: 12px;
	padding: 26px 12px 22px;
}

.cosmos-concept-card-text {
	flex: 1;
}

.cosmos-concept-card-icon {
	position: absolute;
	top: -40px;
	right: 14px;
	width: 80px;
	height: 80px;
	padding: 10px;
	background-color: #fff;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.cosmos-concept-card:hover .cosmos-concept-card-icon {
	animation: cosmosConceptBounce 0.6s ease;
}

.cosmos-concept-card-en {
	margin: 0 0 4px;
	color: var(--t);
	font-family: "Chewy", cursive;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 0.06em;
}

.cosmos-concept-card-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
}

.cosmos-concept-card-sub {
	margin: 0;
	color: var(--cosmosblack);
	font-size: 14px;
	line-height: 1.5;
}

.cosmos-concept-arrow {
	position: relative;
	flex-shrink: 0;
	align-self: flex-end;
	width: 40px;
	height: 40px;
	background-color: var(--c);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.cosmos-concept-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	margin: -5px 0 0 -7px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	border-radius: 1px;
	transform: rotate(45deg);
}

.cosmos-concept-card:hover .cosmos-concept-arrow {
	transform: translateX(4px);
}

@keyframes cosmosConceptCloud {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(40px);
	}
}

@keyframes cosmosConceptSway {
	0%,
	100% {
		transform: rotate(-4deg);
	}
	50% {
		transform: rotate(4deg);
	}
}

@keyframes cosmosConceptBounce {
	0%,
	100% {
		transform: translateY(0) rotate(0);
	}
	40% {
		transform: translateY(-10px) rotate(-8deg);
	}
	70% {
		transform: translateY(2px) rotate(4deg);
	}
}

@media (max-width: 1199.98px) {
	.cosmos-concept-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
	}
}

@media (max-width: 991.98px) {
	.cosmos-concept-head::after {
		top: -40%;
    right: -5%;
    bottom: -36px;
    width: 120px;
	}
}

@media (max-width: 575.98px) {
	.cosmos-concept-cloud--1 {
		top: 24px;
		left: -20px;
		width: 110px;
		height: 55px;
	}

	.cosmos-concept-cloud--2 {
		top: 90px;
		right: -24px;
		width: 90px;
		height: 45px;
	}

	.cosmos-concept-cloud--3 {
		display: none;
	}

	.cosmos-concept-head {
		margin-bottom: 30px;
	}

	.cosmos-concept-en span {
		font-size: 24px;
	}

	.cosmos-concept-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.cosmos-concept-card {
		flex-direction: row;
		align-items: stretch;
		padding: 8px;
		border-radius: 26px;
	}

	.cosmos-concept-card-img {
		flex: 0 0 38%;
		aspect-ratio: auto;
		min-height: 120px;
		border-radius: 20px;
	}

	.cosmos-concept-card-body {
		align-items: center;
		padding: 14px 6px 12px 14px;
	}

	.cosmos-concept-card-icon {
		top: -26px;
		right: 6px;
		width: 60px;
		height: 60px;
		padding: 7px;
	}

	.cosmos-concept-card-en {
		font-size: 16px;
	}

	.cosmos-concept-card-title {
		margin-bottom: 4px;
		font-size: 20px;
	}

	.cosmos-concept-card-sub {
		font-size: 12px;
		line-height: 1.6;
	}

	.cosmos-concept-arrow {
		align-self: center;
		width: 32px;
		height: 32px;
	}

	.cosmos-concept-arrow::before {
		width: 7px;
		height: 7px;
		margin: -4px 0 0 -6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-concept *,
	.cosmos-concept *::before,
	.cosmos-concept *::after {
		animation: none !important;
	}
}


/* =========================================================
	COSMOS NEWS
========================================================= */
.cosmos-news {
	position: relative;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	background-color: var(--cosmos-cream);
	background-image:
		radial-gradient(circle, rgba(253, 208, 0, 0.28) 2px, transparent 2.5px),
		radial-gradient(circle, rgba(143, 195, 31, 0.22) 2px, transparent 2.5px);
	background-size: 30px 30px;
	background-position: 0 0, 15px 15px;
}

.cosmos-section-en {
	margin: 0 0 18px;
	text-align: center;
}

.cosmos-section-en span {
	display: inline-block;
	padding: 8px 28px 6px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 30px;
	line-height: 1;
	letter-spacing: 0.08em;
	background-color: var(--cosmosorange);
	border-radius: 999px;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
	position: relative;
   z-index: 11;
}

.cosmos-section-heading {
	margin: 0;
	color: var(--cosmosblack);
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-align: center;
}

.cosmos-news-head {
	margin-bottom: 56px;
}

.cosmos-news-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
}

.cosmos-news-item {
	--c: var(--cosmosgreen);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--cosmosblack);
	text-decoration: none;
	background-color: #fff;
	border: 4px solid var(--c);
	border-radius: 28px;
	box-shadow: 0 12px 0 color-mix(in srgb, var(--c) 40%, #fff);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cosmos-news-item.is-important {
	--c: var(--cosmosorange);
}

.cosmos-news-item.is-blog {
	--c: var(--cosmosaomidori);
}

.cosmos-news-item:hover {
	color: var(--cosmosblack);
	transform: translateY(-6px) rotate(1deg);
	box-shadow: 0 18px 0 color-mix(in srgb, var(--c) 40%, #fff);
}

.cosmos-news-item:nth-child(2):hover {
	transform: translateY(-6px) rotate(-1deg);
}

.cosmos-news-item:focus-visible {
	outline: 3px dashed var(--c);
	outline-offset: 6px;
}

.cosmos-news-top {
	position: relative;
	padding: 10px 10px 0;
}

.cosmos-news-bottom {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	gap: 14px;
	padding: 20px 20px 22px;
}

.cosmos-news-photo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background-color: color-mix(in srgb, var(--c) 25%, #fff);
	border-radius: 18px;
}

.cosmos-news-photo-img {
	width: 100%;
	height: 100%;
}

.cosmos-news-photo-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.cosmos-news-item:hover .cosmos-news-photo-img img {
	transform: scale(1.06);
}

.cosmos-news-stamp {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	color: var(--cosmosblack);
	font-family: "Chewy", cursive;
	line-height: 1;
	letter-spacing: 0.04em;
	background-color: var(--cosmosyellow);
	border: 4px solid #fff;
	border-radius: 50%;
	transform: rotate(-8deg);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cosmos-news-item:hover .cosmos-news-stamp {
	transform: rotate(8deg) scale(1.08);
}

.cosmos-news-stamp-month {
	font-size: 13px;
}

.cosmos-news-stamp-day {
	margin-top: 2px;
	font-size: 25px;
}

.cosmos-news-cat {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	padding: 8px 24px 7px 24px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	background-color: var(--c);
	border-radius: 0 0 20px 0;
}

.cosmos-news-text {
	flex: 1;
	min-width: 0;
}

.cosmos-news-date {
	color: color-mix(in srgb, var(--cosmosblack) 75%, #fff);
	font-family: "Chewy", cursive;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0.06em;
}

.cosmos-news-post-title {
	display: -webkit-box;
	overflow: hidden;
	min-height: calc(1.6em * 2);
	margin: 6px 0 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.cosmos-news-arrow {
	position: relative;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background-color: var(--c);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.cosmos-news-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	margin: -5px 0 0 -7px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	border-radius: 1px;
	transform: rotate(45deg);
}

.cosmos-news-item:hover .cosmos-news-arrow {
	transform: translateX(4px);
}

.cosmos-news-empty {
	max-width: 560px;
	margin: 0 auto;
	padding: 32px 24px;
	color: var(--cosmosblack);
	font-weight: 700;
	text-align: center;
	background-color: #fff;
	border-radius: 28px;
	outline: 3px dashed color-mix(in srgb, var(--cosmosgreen) 55%, #fff);
	outline-offset: -12px;
}

.cosmos-news-more {
	margin-top: 56px;
	text-align: center;
}

.btn-cosmos {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 260px;
	min-height: 60px;
	padding: 14px 36px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	background-color: var(--cosmosorange);
	border: 2px solid var(--cosmosorange);
	border-radius: 999px;
	outline: 2px dashed rgba(255, 255, 255, 0.75);
	outline-offset: -7px;
	box-shadow: 0 5px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.3s ease;
}

.btn-cosmos span {
	font-size: 18px;
	transition: transform 0.3s ease;
}

.btn-cosmos:hover {
	color: var(--cosmosorange);
	background-color: #fff;
	outline-color: color-mix(in srgb, var(--cosmosorange) 50%, #fff);
	transform: translateY(3px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.btn-cosmos:hover span {
	transform: translateX(4px);
}

.btn-cosmos:focus-visible {
	outline: 3px solid var(--cosmosblue);
	outline-offset: 3px;
}

@media (min-width: 992px) {
	.cosmos-news-list {
		padding: 16px 0 24px;
	}

	.cosmos-news-item {
		transform-origin: 50% 100%;
	}

	.cosmos-news-item:nth-child(1) {
		transform: translateY(18px) rotate(-5deg);
	}

	.cosmos-news-item:nth-child(3) {
		transform: translateY(18px) rotate(5deg);
	}

	.cosmos-news-item:nth-child(1):hover {
		transform: translateY(6px) rotate(-6deg);
	}

	.cosmos-news-item:nth-child(2):hover {
		transform: translateY(-10px);
	}

	.cosmos-news-item:nth-child(3):hover {
		transform: translateY(6px) rotate(6deg);
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.cosmos-news-list {
		padding-inline: 20px;
	}

	.cosmos-news-item:nth-child(1) {
		transform: translateY(12px) rotate(-3deg);
	}

	.cosmos-news-item:nth-child(3) {
		transform: translateY(12px) rotate(3deg);
	}

	.cosmos-news-item:nth-child(1):hover {
		transform: translateY(2px) rotate(-4deg);
	}

	.cosmos-news-item:nth-child(3):hover {
		transform: translateY(2px) rotate(4deg);
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.cosmos-news-list {
		gap: 20px;
	}

	.cosmos-news-top {
		padding: 8px 8px 0;
	}

	.cosmos-news-bottom {
		padding: 16px 14px 18px;
		gap: 10px;
	}

	.cosmos-news-stamp {
		width: 56px;
		height: 56px;
		border-width: 3px;
	}

	.cosmos-news-stamp-month {
		font-size: 11px;
	}

	.cosmos-news-stamp-day {
		font-size: 21px;
	}

	.cosmos-news-cat {
		top: 0;
		padding: 6px 18px 5px 18px;
		font-size: 16px;
	}

	.cosmos-news-post-title {
		font-size: 14px;
	}

	.cosmos-news-arrow {
		width: 32px;
		height: 32px;
	}

	.cosmos-news-arrow::before {
		width: 7px;
		height: 7px;
		margin: -4px 0 0 -6px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-news-head {
		margin-bottom:20px;
	}

	.cosmos-section-en span {
		font-size: 24px;
	}

	.cosmos-news-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		margin: 0 auto;
	}

	.cosmos-news-item {
		display: grid;
		grid-template-columns: 116px auto minmax(0, 1fr) 32px;
		grid-template-areas:
			"photo cat date arrow"
			"photo title title arrow";
		gap: 8px 10px;
		align-items: center;
		padding: 10px 12px 10px 10px;
		background-color: #fff;
		border: 0;
		border-radius: 28px;
		box-shadow: 0 10px 0 color-mix(in srgb, var(--c) 40%, #fff);
	}

	.cosmos-news-item:hover,
	.cosmos-news-item:nth-child(2):hover {
		transform: translateX(6px);
	}

	.cosmos-news-top,
	.cosmos-news-bottom,
	.cosmos-news-text {
		display: contents;
	}

	.cosmos-news-stamp {
		display: none;
	}

	.cosmos-news-photo {
		grid-area: photo;
		width: 116px;
		aspect-ratio: auto;
		height: 100%;
		min-height: 96px;
		margin-right: 4px;
		border-radius: 20px;
	}

	.cosmos-news-cat {
		position: static;
		grid-area: cat;
		align-self: end;
		padding: 4px 12px 3px;
		font-size: 11px;
		border-radius: 999px;
	}

	.cosmos-news-date {
		grid-area: date;
		align-self: end;
		font-size: 14px;
	}

	.cosmos-news-post-title {
		grid-area: title;
		align-self: start;
		min-height: 0;
		margin: 0;
		font-size: 15px;
		line-height: 1.5;
	}

	.cosmos-news-arrow {
		grid-area: arrow;
		width: 32px;
		height: 32px;
	}

	.cosmos-news-arrow::before {
		width: 7px;
		height: 7px;
		margin: -4px 0 0 -6px;
	}

	.cosmos-news-more {
		margin-top: 44px;
	}

	.btn-cosmos {
		min-width: 240px;
		min-height: 56px;
		font-size: 15px;
	}
}

.cosmos-news-sloth {
	position: absolute;
	top: 40px;
	left: 0;
	z-index: 1;
	width: clamp(220px, 22vw, 340px);
	height: auto;
	pointer-events: none;
	transform-origin: 0 63%;
	animation: cosmosNewsSway 4s ease-in-out infinite;
}

.cosmos-news > .cosmos-containerdai {
	position: relative;
	z-index: 2;
}

@keyframes cosmosNewsSway {
	0%,
	100% {
		transform: rotate(-8deg);
	}
	50% {
		transform: rotate(15deg);
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.cosmos-news-sloth {
		top: 24px;
		width: 200px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-news-sloth {
		top: 12px;
		width: 130px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-news-sloth {
		animation: none;
	}
}

.cosmos-news-monkey {
	position: absolute;
	top: -10%;;
	right: 0;
	z-index: 1;
	width: clamp(200px, 20vw, 360px);
	height: auto;
	pointer-events: none;
	transform-origin: 100% 16%;
	animation: cosmosNewsSwing 3.4s ease-in-out infinite;
}

@keyframes cosmosNewsSwing {
	0%,
	100% {
		transform: rotate(3deg);
	}
	50% {
		transform: rotate(-3deg);
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.cosmos-news-monkey {
		top: -5%;
		width: 200px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-news-monkey {
		top: -6%;
		width: 160px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-news-monkey {
		animation: none;
	}
}

@supports (animation-timeline: view()) {
	.cosmos-news-photo-img {
		animation: cosmosNewsReveal linear both;
		animation-timeline: view();
		animation-range: entry 10% entry 70%;
	}
}

@keyframes cosmosNewsReveal {
	from {
		opacity: 0;
		transform: scale(1.08);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-news-photo-img {
		animation: none;
	}
}


/* =========================================================
	COSMOS INSTAGRAM
========================================================= */
.cosmos-instagram {
	position: relative;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	background-color: color-mix(in srgb, #e73675 16%, #fff);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-boy {
	position: absolute;
	top: -2%;
	left: 0;
	z-index: 1;
	width: clamp(100px, 16vw, 500px);
	height: auto;
	pointer-events: none;
	transform-origin: 50% 100%;
}

.js-cosmos-boy .cosmos-boy {
	opacity: 0;
}

.js-cosmos-boy .cosmos-boy.is-show {
	opacity: 1;
	animation:
		cosmosBoyJump 1.1s cubic-bezier(0.22, 1, 0.36, 1) both,
		cosmosBoyHop 1.1s ease-in-out 1.1s infinite;
}

@keyframes cosmosBoyJump {
	0% {
		opacity: 0;
		transform: translate(-130%, 90%) rotate(-30deg);
	}
	15% {
		opacity: 1;
	}
	55% {
		transform: translate(10%, -28%) rotate(10deg);
	}
	78% {
		transform: translate(-2%, 4%) rotate(-3deg) scale(1.06, 0.94);
	}
	90% {
		transform: translate(0, -3%) rotate(1deg) scale(0.98, 1.02);
	}
	100% {
		opacity: 1;
		transform: none;
	}
}

@keyframes cosmosBoyHop {
	0%,
	100% {
		transform: none;
	}
	12% {
		transform: translateY(0) scale(1.08, 1.0);
	}
	30% {
		transform: translateY(-32%) scale(0.95, 1.0) rotate(-3deg);
	}
	45% {
		transform: translateY(-38%) scale(1) rotate(3deg);
	}
	62% {
		transform: translateY(0) scale(1.1, 1.0);
	}
	74% {
		transform: translateY(-4%) scale(0.97, 1.0);
	}
	84% {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.js-cosmos-boy .cosmos-boy,
	.js-cosmos-boy .cosmos-boy.is-show {
		opacity: 1;
		animation: none;
	}
}

.cosmos-girl {
	position: absolute;
	top: -2%;
	right: 0;
	z-index: 1;
	width: clamp(80px, 16vw, 380px);
	height: auto;
	pointer-events: none;
	transform-origin: 50% 100%;
}
@media (min-width: 992px) {
	.cosmos-girl {
		top: 10%;
	}
}

.js-cosmos-boy .cosmos-girl {
	opacity: 0;
}

.js-cosmos-boy .cosmos-girl.is-show {
	opacity: 1;
	animation:
		cosmosGirlJump 1.1s cubic-bezier(0.22, 1, 0.36, 1) both,
		cosmosBoyHop 1.4s ease-in-out 1.5s infinite;
}

@keyframes cosmosGirlJump {
	0% {
		opacity: 0;
		transform: translate(130%, 90%) rotate(30deg);
	}
	15% {
		opacity: 1;
	}
	55% {
		transform: translate(-10%, -28%) rotate(-10deg);
	}
	78% {
		transform: translate(2%, 4%) rotate(3deg) scale(1.06, 0.94);
	}
	90% {
		transform: translate(0, -3%) rotate(-1deg) scale(0.98, 1.02);
	}
	100% {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.js-cosmos-boy .cosmos-girl,
	.js-cosmos-boy .cosmos-girl.is-show {
		opacity: 1;
		animation: none;
	}
}



.cosmos-wani {
	--wani-up: 320px;
	--wani-climb: 260px;
	position: absolute;
	bottom: var(--wani-up);
	left: -3%;
	z-index: 1;
	width: clamp(40px, 9vw, 150px);
	height: auto;
	pointer-events: none;
	transform-origin: 50% 100%;
}
@media (min-width: 1200px) {
	.cosmos-wani {
		--wani-up: 520px;
		--wani-climb: 360px;
	}
}

.js-cosmos-boy .cosmos-wani {
	opacity: 0;
	transform: translateY(calc(100% + var(--wani-up) + 10px));
}

.js-cosmos-boy .cosmos-wani.is-show {
	opacity: 1;
	transform: translateY(calc(var(--wani-climb) * -1));
	animation:
		cosmosWaniRise 3s cubic-bezier(0.25, 0.8, 0.3, 1) both,
		cosmosWaniClimb 6s ease-in-out 3s forwards,
		cosmosWaniSway 4s ease-in-out 9s infinite;
}

@keyframes cosmosWaniRise {
	0% {
		opacity: 0;
		transform: translateY(calc(100% + var(--wani-up) + 10px)) rotate(-6deg);
	}
	20% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		transform: none;
	}
}

@keyframes cosmosWaniClimb {
	0% {
		transform: none;
	}
	30% {
		transform: translateY(calc(var(--wani-climb) * -0.35)) rotate(-4deg);
	}
	60% {
		transform: translateY(calc(var(--wani-climb) * -0.7)) rotate(3deg);
	}
	100% {
		transform: translateY(calc(var(--wani-climb) * -1));
	}
}

@keyframes cosmosWaniSway {
	0%,
	100% {
		transform: translateY(calc(var(--wani-climb) * -1));
	}
	25% {
		transform: translateY(calc(var(--wani-climb) * -1 - 4%)) rotate(-4deg);
	}
	50% {
		transform: translateY(calc(var(--wani-climb) * -1));
	}
	75% {
		transform: translateY(calc(var(--wani-climb) * -1 - 2%)) rotate(3deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.js-cosmos-boy .cosmos-wani,
	.js-cosmos-boy .cosmos-wani.is-show {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

.cosmos-coara {
	display: none;
	position: absolute;
	z-index: 1;
	bottom: 3%;
	right: -3%;
	z-index: 0;
	width: clamp(180px, 20vw, 300px);
	height: auto;
	pointer-events: none;
	transform-origin: 100% 85%;
	animation: cosmosCoaraBend 4.5s ease-in-out infinite;
}
@media (min-width: 500px) {
	.cosmos-coara {
		display: block;
	}
}

@keyframes cosmosCoaraBend {
	0%,
	100% {
		transform: rotate(0);
	}
	20% {
		transform: rotate(-4deg);
	}
	35% {
		transform: rotate(1.2deg);
	}
	50% {
		transform: rotate(-2.4deg);
	}
	65% {
		transform: rotate(0.6deg);
	}
	80% {
		transform: rotate(-1deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-coara {
		animation: none;
	}
}


.cosmos-instagram::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z' fill='%23fef9e0'/%3E%3C/svg%3E") repeat-x;
	background-size: 160px 40px;
	pointer-events: none;
}

.cosmos-instagram-head {
	margin-bottom: 56px;
	text-align: center;
}

.cosmos-instagram-account {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	padding: 8px 22px 8px 8px;
	color: var(--cosmosblack);
	font-family: "Chewy", cursive;
	font-size: 24px;
	letter-spacing: 0.04em;
	text-decoration: none;
	background-color: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosgreen) 40%, #fff);
	transition: transform 0.3s ease;
}

.cosmos-instagram-account:hover {
	color: var(--cosmosblack);
	transform: translateY(-3px);
}

.cosmos-instagram-account img {
	width: 36px;
	height: 36px;
	padding: 7px;
	background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
	border-radius: 50%;
}

.cosmos-instagram-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 44px 32px;
	padding-top: 12px;
}

.cosmos-instagram-card {
	--t: var(--cosmosgreen);
	--r: -2.5deg;
	position: relative;
	display: block;
	padding: 10px 10px 14px;
	background-color: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 0 rgb(169 127 142 / 66%);
	transform: rotate(var(--r));
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.cosmos-instagram-card:nth-child(4n + 2) {
	--t: var(--cosmosyellow);
	--r: 1.8deg;
}

.cosmos-instagram-card:nth-child(4n + 3) {
	--t: var(--cosmosaomidori);
	--r: -1.2deg;
}

.cosmos-instagram-card:nth-child(4n + 4) {
	--t: var(--cosmosorange);
	--r: 2.6deg;
}

.cosmos-instagram-card::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	z-index: 2;
	width: 76px;
	height: 24px;
	margin-left: -38px;
	background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--t) 80%, transparent) 0 6px, color-mix(in srgb, var(--t) 50%, transparent) 6px 12px);
	border-radius: 3px;
	transform: rotate(calc(var(--r) * -2));
}

.cosmos-instagram-card:hover {
	z-index: 3;
	transform: rotate(0) translateY(-8px) scale(1.04);
	box-shadow: 0 14px 0 rgba(96, 71, 60, 0.12);
}

.cosmos-instagram-card:focus-visible {
	outline: 3px dashed var(--cosmosorange);
	outline-offset: 4px;
}

.cosmos-instagram-img {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background-color: color-mix(in srgb, var(--t) 25%, #fff);
	border-radius: 8px;
}

.cosmos-instagram-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.cosmos-instagram-card:hover .cosmos-instagram-img img {
	transform: scale(1.08);
}

.cosmos-instagram-icon {
	position: absolute;
	right: 2px;
	bottom: 2px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
	border: 3px solid #fff;
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.4) rotate(-30deg);
	transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cosmos-instagram-icon img {
	width: 20px;
	height: 20px;
}

.cosmos-instagram-card:hover .cosmos-instagram-icon {
	opacity: 1;
	transform: scale(1) rotate(0);
}

.cosmos-instagram-more {
	margin-top: 56px;
	text-align: center;
}

@media (max-width: 1199.98px) {
	.cosmos-instagram-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 28px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-instagram-head {
		margin-bottom: 40px;
	}

	.cosmos-instagram-account {
		margin-top: 16px;
		font-size: 15px;
	}

	.cosmos-instagram-account img {
		width: 30px;
		height: 30px;
		padding: 6px;
	}

	.cosmos-instagram-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 16px;
	}

	.cosmos-instagram-card:nth-child(n + 7) {
		display: none;
	}

	.cosmos-instagram-card {
		padding: 6px 6px 10px;
		border-radius: 10px;
		box-shadow: 0 5px 0 rgba(96, 71, 60, 0.1);
	}

	.cosmos-instagram-card::before {
		top: -9px;
		width: 54px;
		height: 18px;
		margin-left: -27px;
	}

	.cosmos-instagram-img {
		border-radius: 6px;
	}

	.cosmos-instagram-icon {
		width: 34px;
		height: 34px;
		opacity: 1;
		transform: none;
	}

	.cosmos-instagram-icon img {
		width: 16px;
		height: 16px;
	}

	.cosmos-instagram-more {
		margin-top: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-instagram *,
	.cosmos-instagram *::before {
		transition: none !important;
	}
}

/* =========================================================
	COSMOS CONTACT
========================================================= */
.cosmos-contact {
	--cosmos-contact-wave: #fcdfe9;
	position: relative;
	padding: 160px 0 120px;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	background-color: var(--cosmosaomidori);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-contact::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: var(--cosmos-contact-wave);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	pointer-events: none;
}

.cosmos-contact-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	max-width: 1300px;
	margin: 0 auto;
	padding: 32px 56px 32px 32px;
	text-align: center;
	background-color: #fff;
	border-radius: 56px;
	box-shadow: 0 14px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
	outline: 3px dashed color-mix(in srgb, var(--cosmosgreen) 55%, #fff);
	outline-offset: -18px;
}

.cosmos-contact-card::before {
	content: "";
    position: absolute;
    top: -190px;
    left: 76%;
    width: 230px;
    height: 230px;
    margin-left: -130px;
    z-index: 10;
	background: url("../img/palm-cosmos/cosmos-logomark.svg") center / contain no-repeat;
	transform-origin: 50% 100%;
	animation: cosmosContactSway 4s ease-in-out infinite;
}
@media (min-width: 992px) {
	.cosmos-contact-card::before {
		top: -220px;
	    width: 280px;
	    height: 280px;
	    margin-left: -170px;
	}
}

.cosmos-contact-photo {
	position: relative;
	align-self: stretch;
	min-height: 440px;
}

.cosmos-contact-photo-img {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-color: color-mix(in srgb, var(--cosmosgreen) 25%, #fff);
	border-radius: 40px;
}

.cosmos-contact-photo-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
}

.cosmos-contact-badge {
	position: absolute;
	right: -30px;
	bottom: -5px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 140px;
	height: 140px;
	color: var(--cosmosaomidori);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	background-color: var(--cosmosyellow);
	border: 5px solid #fff;
	border-radius: 50%;
	box-shadow: 0 5px 0 color-mix(in srgb, var(--cosmosyellow) 60%, var(--cosmosbrown));
	transform: rotate(-10deg);
	animation: cosmosContactBadge 3s ease-in-out infinite;
}

.cosmos-contact-body {
	padding: 20px 0;
}

.cosmos-contact-head {
	margin-bottom: 24px;
}

.cosmos-contact-lead {
	margin: 0 0 40px;
	color: var(--cosmosblack);
	font-size: 16px;
	font-weight: 500;
	line-height: 2;
}

.cosmos-contact-buttons {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	max-width: 440px;
	margin: 0 auto;
}

.cosmos-contact-buttons .btn-cosmos {
	width: 100%;
	min-width: 0;
	min-height: 70px;
	font-size: 16px;
}

.btn-cosmos-tel {
	flex-direction: column;
	gap: 2px;
	padding-left: 72px;
	background-color: var(--cosmosgreen);
	border-color: var(--cosmosgreen);
	box-shadow: 0 5px 0 color-mix(in srgb, var(--cosmosgreen) 65%, #000);
}

.btn-cosmos-tel::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 22px;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z' fill='%238fc31f'/%3E%3C/svg%3E") center / 22px no-repeat,
		#fff;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.btn-cosmos-tel small {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.btn-cosmos-tel b {
	font-family: "Chewy", cursive;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.06em;
}

.btn-cosmos-tel:hover {
	color: var(--cosmosgreen);
	background-color: #fff;
	outline-color: color-mix(in srgb, var(--cosmosgreen) 50%, #fff);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosgreen) 65%, #000);
}

.btn-cosmos-tel:hover::before {
	background-color: color-mix(in srgb, var(--cosmosgreen) 15%, #fff);
	animation: cosmosContactRing 0.6s ease;
}

@keyframes cosmosContactSway {
	0%,
	100% {
		transform: rotate(-4deg);
	}
	50% {
		transform: rotate(4deg);
	}
}

@keyframes cosmosContactBadge {
	0%,
	100% {
		transform: rotate(-10deg) translateY(0);
	}
	50% {
		transform: rotate(-4deg) translateY(-6px);
	}
}

@keyframes cosmosContactRing {
	0%,
	100% {
		transform: rotate(0);
	}
	20%,
	60% {
		transform: rotate(-14deg);
	}
	40%,
	80% {
		transform: rotate(14deg);
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.cosmos-contact-card {
		gap: 36px;
		padding-right: 44px;
	}

	.cosmos-contact-lead {
		font-size: 15px;
	}
}

@media (max-width: 991.98px) {
	.cosmos-contact-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		max-width: 640px;
		padding: 24px 24px 52px;
		border-radius: 44px;
	}

	.cosmos-contact-card::before {
		left: 50%;
	}

	.cosmos-contact-photo {
		min-height: 0;
		aspect-ratio: 3 / 2;
	}

	.cosmos-contact-photo-img {
		border-radius: 32px;
	}

	.cosmos-contact-badge {
		right: -10px;
		bottom: -18px;
		width: 96px;
		height: 96px;
		font-size: 15px;
	}

	.cosmos-contact-body {
		padding: 40px 16px 0;
	}
}

@media (max-width: 767.98px) {
	.cosmos-contact {
		padding: 120px 0 80px;
	}

	.cosmos-contact-card {
		padding: 14px 14px 36px;
		border-radius: 36px;
		box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
		outline-offset: -11px;
	}

	.cosmos-contact-card::before {
		top: -162px;
		width: 180px;
		height: 180px;
		margin-left: -100px;
	}

	.cosmos-contact-photo-img {
		border-radius: 26px;
	}

	.cosmos-contact-badge {
		right: -20px;
		bottom: -20px;
		width: 110px;
		height: 110px;
		font-size: 20px;
		border-width: 4px;
	}

	.cosmos-contact-body {
		padding: 36px 6px 0;
	}

	.cosmos-contact-lead {
		margin-bottom: 28px;
		font-size: 14px;
		line-height: 1.9;
	}

	.cosmos-contact-buttons .btn-cosmos {
		min-height: 72px;
		font-size: 15px;
	}

	.btn-cosmos-tel {
		padding-left: 60px;
	}

	.btn-cosmos-tel::before {
		left: 16px;
		width: 36px;
		height: 36px;
		margin-top: -18px;
		background-size: 20px, auto;
	}

	.btn-cosmos-tel b {
		font-size: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-contact *,
	.cosmos-contact *::before {
		animation: none !important;
	}
}


/* =========================================================
	COSMOS FOOTER
========================================================= */
.cosmos-footer {
	--cosmos-footer-wave: var(--cosmosaomidori);
	--cosmos-footer-sand: color-mix(in srgb, var(--cosmosyellow) 22%, #fff);
	position: relative;
	padding-top: 120px;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	color: var(--cosmosblack);
	background-color: var(--cosmos-cream);
	background-image:
		radial-gradient(circle, rgba(240, 131, 0, 0.14) 1.5px, transparent 2px),
		radial-gradient(circle, rgba(255, 255, 255, 0.9) 2px, transparent 2.5px);
	background-size: 22px 22px, 36px 36px;
	background-position: 0 0, 11px 11px;
}

.cosmos-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: var(--cosmos-footer-wave);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	pointer-events: none;
}

.cosmos-footer::after {
	content: "";
	position: absolute;
	top: 30px;
	left: 0;
	width: 100%;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 24' preserveAspectRatio='none'%3E%3Cpath d='M0 6C20 20 60 20 80 6S140 -8 160 6' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-dasharray='2 10'/%3E%3C/svg%3E") repeat-x;
	background-size: 160px 24px;
	opacity: 0.9;
	pointer-events: none;
}

.cosmos-footer a {
	color: inherit;
	text-decoration: none;
}

.cosmos-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 70px;
	align-items: start;
	padding-bottom: 72px;
}

.cosmos-footer-logo {
	display: block;
	width: 100%;
	margin-bottom: 22px;
	transition: transform 0.3s ease;
}

.cosmos-footer-logo:hover {
	transform: rotate(-2deg) scale(1.02);
}

.cosmos-footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.cosmos-footer-address {
	margin: 0 0 20px;
	font-style: normal;
	line-height: 1.8;
}

.cosmos-footer-address p {
	margin: 0 0 6px;
}

.cosmos-footer-tel {
	font-family: "Chewy", cursive;
	font-size: 32px;
	letter-spacing: 0.04em;
	line-height: 1.5;
	color: var(--cosmosaomidori) !important;
}

.cosmos-footer-note {
	display: inline-block;
	padding: 3px 12px 2px;
	background-color: color-mix(in srgb, var(--cosmosyellow) 25%, #fff);
	border-radius: 999px;
}

.cosmos-footer-corp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 450px;
	gap: 8px;
	padding: 15px;
	font-size: 13px;
	font-weight: 700;
	color: #fff !important;
	background-color: var(--cosmosorange);
	border-radius: 999px;
	box-shadow: 0 3px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 992px) {
	.cosmos-footer-corp {
		font-size: 15px;
	}
}

.cosmos-footer-corp span {
	transition: transform 0.3s ease;
}

.cosmos-footer-corp:hover {
	transform: translateY(2px);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.cosmos-footer-corp:hover span {
	transform: translateX(3px);
}

.cosmos-footer-nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-top: 8px;
}

.cosmos-footer-col {
	--c: var(--cosmosgreen);
}

.cosmos-footer-col:nth-child(2) {
	--c: var(--cosmosorange);
}

.cosmos-footer-col:nth-child(3) {
	--c: var(--cosmosaomidori);
}

.cosmos-footer-heading {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 14px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.cosmos-footer-heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: -webkit-fill-available;
	height: 8px;
	background-color: var(--c);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M1 4Q4 0 7 4T13 4 19 4 23 4' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 24px 8px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M1 4Q4 0 7 4T13 4 19 4 23 4' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 24px 8px repeat-x;
}

.cosmos-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-footer-menu li {
	margin-bottom: 12px;
}

.cosmos-footer-menu a {
	position: relative;
	display: inline-block;
	padding-left: 22px;
	font-weight: 500;
	line-height: 1.6;
	transition: color 0.3s ease, transform 0.3s ease;
}

.cosmos-footer-menu a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background-color: var(--c);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.cosmos-footer-menu a::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 4px;
	width: 4px;
	height: 4px;
	margin-top: -2.5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}

.cosmos-footer-menu a:hover {
	color: color-mix(in srgb, var(--c) 75%, var(--cosmosbrown));
	transform: translateX(4px);
}

.cosmos-footer-menu a:hover::before {
	transform: scale(1.2);
}

.cosmos-footer-menu small {
	display: block;
	margin-top: 4px;
	padding-left: 22px;
	font-size: 12px;
	color: color-mix(in srgb, var(--cosmosblack) 80%, #fff);
}

.cosmos-footer-bottom {
	position: relative;
	z-index: 10;
	padding: 18px 0;
	color: #fff9e0;
	background-color: var(--cosmosgreen);
}

.cosmos-footer-bottom::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: 14px;
	background-color: var(--cosmosgreen);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12V10C0 -0.5 40 -0.5 40 10V12Z'/%3E%3C/svg%3E") 0 0 / 40px 14px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12V10C0 -0.5 40 -0.5 40 10V12Z'/%3E%3C/svg%3E") 0 0 / 40px 14px repeat-x;
}

.cosmos-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
}

.cosmos-footer-copy {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.02em;
}

.cosmos-footer-sub {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-footer-sub a {
	font-size: 12px;
	opacity: 0.85;
	transition: opacity 0.3s ease;
}

.cosmos-footer-sub a:hover {
	opacity: 1;
	text-decoration: underline;
}

.cosmos-footer a:focus-visible {
	outline: 3px dashed var(--cosmosorange);
	outline-offset: 3px;
}

@media (max-width: 1199.98px) {
	.cosmos-footer-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.cosmos-footer-info {
		display: grid;
		grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
		gap: 8px 40px;
		align-items: center;
	}

	.cosmos-footer-logo {
		grid-row: span 2;
		margin-bottom: 0;
	}

	.cosmos-footer-address {
		margin-bottom: 8px;
	}

	.cosmos-footer-corp {
		justify-self: start;
	}
}

@media (max-width: 767.98px) {
	.cosmos-footer {
		padding-top: 96px;
	}

	.cosmos-footer-inner {
		gap: 60px;
		padding-bottom: 56px;
	}

	.cosmos-footer-info {
		display: block;
	}

	.cosmos-footer-logo {
		max-width: 360px;
		margin: 0 auto 18px;
	}

	.cosmos-footer-nav {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding: 0 8px;
	}

	.cosmos-footer-heading {
		margin-bottom: 14px;
	}

	.cosmos-footer-col:first-child .cosmos-footer-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
	}

	.cosmos-footer-bottom {
		padding: 18px 0 22px;
	}

	.cosmos-footer-bottom-inner {
		flex-direction: column-reverse;
		text-align: center;
	}

	.cosmos-footer-copy {
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-footer *,
	.cosmos-footer *::before {
		transition: none !important;
	}
}

.cosmos-kirin {
	--kirin-walk: 260px;
	position: absolute;
	right: 10%;
	bottom: -6px;
	z-index: 1;
	width: clamp(120px, 9vw, 240px);
	height: auto;
	pointer-events: none;
	transform-origin: 50% 100%;
}
@media (max-width: 1200px) {
	.cosmos-kirin {
		bottom: 40px;
	}
}

.js-cosmos-boy .cosmos-kirin {
	opacity: 0;
	translate: 0 calc(100% + 10px);
}

.js-cosmos-boy .cosmos-kirin.is-show {
	opacity: 1;
	translate: 0 0;
	animation:
		cosmosKirinRise 1.6s cubic-bezier(0.22, 1, 0.36, 1) both,
		cosmosKirinWalk 12s linear 1.8s infinite,
		cosmosKirinStep 0.7s ease-in-out 1.8s infinite;
}

@keyframes cosmosKirinRise {
	0% {
		opacity: 0;
		translate: 0 calc(100% + 10px);
	}
	30% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes cosmosKirinWalk {
	0% {
		translate: 0 0;
		scale: 1 1;
	}
	42% {
		translate: calc(var(--kirin-walk) * -1) 0;
		scale: 1 1;
	}
	46% {
		translate: calc(var(--kirin-walk) * -1) 0;
		scale: 1 1;
	}
	46.1% {
		scale: -1 1;
	}
	50% {
		translate: calc(var(--kirin-walk) * -1) 0;
		scale: -1 1;
	}
	92% {
		translate: 0 0;
		scale: -1 1;
	}
	96% {
		translate: 0 0;
		scale: -1 1;
	}
	96.1% {
		scale: 1 1;
	}
	100% {
		translate: 0 0;
		scale: 1 1;
	}
}

@keyframes cosmosKirinStep {
	0%,
	50%,
	100% {
		transform: none;
	}
	25% {
		transform: translateY(-3%) rotate(-2deg);
	}
	75% {
		transform: translateY(-3%) rotate(2deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.js-cosmos-boy .cosmos-kirin,
	.js-cosmos-boy .cosmos-kirin.is-show {
		opacity: 1;
		translate: none;
		animation: none;
	}
}


/* =========================================================
	COSMOS ABOUT
========================================================= */
.cosmos-about {
	--cosmos-green-tint: color-mix(in srgb, var(--cosmosgreen) 16%, #fff);
	margin-top: 90px;
	overflow: hidden;
	font-family: YakuHanJP, "M PLUS Rounded 1c", sans-serif;
	color: var(--cosmosblack);
}

.cosmos-about img {
	max-width: 100%;
}

.cosmos-about .cosmos-section-en {
	margin: 0 0 18px;
	text-align: center;
}

.cosmos-about .cosmos-section-en span {
	display: inline-block;
	padding: 8px 28px 6px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 22px;
	line-height: 1;
	letter-spacing: 0.08em;
	background-color: var(--cosmosaomidori);
	border-radius: 999px;
	box-shadow: none;
}

.cosmos-about .cosmos-section-heading {
	margin: 0;
	color: var(--cosmosblack);
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-align: center;
}

.cosmos-about .btn-cosmos {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 260px;
	min-height: 60px;
	padding: 14px 36px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	background-color: var(--cosmosorange);
	border: 2px solid var(--cosmosorange);
	border-radius: 999px;
	outline: 2px dashed rgba(255, 255, 255, 0.75);
	outline-offset: -7px;
	box-shadow: 0 5px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.3s ease;
}

.cosmos-about .btn-cosmos span {
	font-size: 18px;
	transition: transform 0.3s ease;
}

.cosmos-about .btn-cosmos:hover {
	color: var(--cosmosorange);
	background-color: #fff;
	outline-color: color-mix(in srgb, var(--cosmosorange) 50%, #fff);
	transform: translateY(3px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.cosmos-about .btn-cosmos:hover span {
	transform: translateX(4px);
}

.cosmos-about-mark {
	position: relative;
	z-index: 0;
	display: inline-block;
	color: var(--cosmosorange);
}

.cosmos-about-mark::after {
	content: "";
	position: absolute;
	right: 0.2em;
	bottom: 0.08em;
	left: 0.2em;
	z-index: -1;
	height: 0.4em;
	background-color: var(--cosmosyellow);
	border-radius: 999px;
	opacity: 0.6;
}

/* ---------- PAGE HERO ---------- */
.cosmos-page-hero {
	position: relative;
	overflow: hidden;
	padding: 100px 0 100px;
	text-align: center;
	background-color: var(--cosmosskyblue);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-page-hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: var(--cosmos-cream);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C20 6 60 6 80 20S140 34 160 20V40Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C20 6 60 6 80 20S140 34 160 20V40Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	pointer-events: none;
}

.cosmos-page-hero-inner {
	position: relative;
	z-index: 1;
}

.cosmos-page-hero-en {
	margin: 0 0 6px;
	color: var(--cosmosbrown);
	font-family: "Chewy", cursive;
	font-size: clamp(22px, 2vw, 40px);
	letter-spacing: 0.12em;
}

.cosmos-page-hero-title {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 50px 0 36px;
	padding: 18px 56px 16px;
	color: var(--cosmosorange);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(96, 71, 60, 0.06) 10px 12px), var(--cosmos-cream);
	border: 5px solid var(--cosmosbrown);
	border-radius: 22px;
	outline: 3px dashed color-mix(in srgb, var(--cosmosbrown) 35%, #fff);
	outline-offset: -13px;
	box-shadow: 0 8px 0 color-mix(in srgb, var(--cosmosbrown) 75%, #000);
	transform-origin: 50% -42px;
	animation: cosmosAboutSign 4s ease-in-out infinite;
}
@media (max-width: 576px) {
	.cosmos-page-hero-title {
		flex-direction: column;
		gap: 5px;
	}
}

.cosmos-page-hero-icon {
	flex-shrink: 0;
	width: clamp(80px, 4vw, 100px);
	height: auto;
}

.cosmos-page-hero-title::before {
	content: "";
	position: absolute;
	right: 22%;
	bottom: 100%;
	left: 22%;
	height: 40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M2 40L50 2L98 40' fill='none' stroke='%2360473c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.cosmos-page-hero-title::after {
	content: "";
	position: absolute;
	bottom: calc(100% + 28px);
	left: calc(50% - 10px);
	width: 20px;
	height: 20px;
	background: var(--cosmosyellow);
	border: 3px solid var(--cosmosbrown);
	border-radius: 50%;
}

@keyframes cosmosAboutSign {
	0%,
	100% {
		transform: rotate(-2deg);
	}
	50% {
		transform: rotate(2deg);
	}
}

.cosmos-page-hero-lead {
	margin: 0;
	font-weight: 700;
	line-height: 1.7;
}

.cosmos-page-hero-palm {
	position: absolute;
	right: -3%;
	bottom: 0px;
	width: clamp(120px, 18vw, 300px);
	transform-origin: 50% 100%;
	animation: cosmosAboutSway 4s ease-in-out infinite;
}

.cosmos-page-hero-cloud {
	position: absolute;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M22 56C10 56 4 48 6 40C8 32 16 28 24 30C24 18 34 8 46 10C54 2 70 2 78 12C88 8 100 14 102 26C112 26 118 34 116 44C114 52 108 56 100 56Z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
	animation: cosmosAboutCloud 10s ease-in-out infinite alternate;
}

.cosmos-page-hero-cloud--1 {
	top: 28px;
	left: 5%;
	width: 140px;
	height: 70px;
}

.cosmos-page-hero-cloud--2 {
	top: 110px;
	left: 20%;
	width: 90px;
	height: 45px;
	opacity: 0.8;
	animation-duration: 13s;
}

/* ---------- BREADCRUMB ---------- */
.cosmos-breadcrumb {
	position: relative;
	z-index: 2;
	height: 0;
}

.cosmos-breadcrumb .container {
	transform: translateY(-26px);
}

.cosmos-breadcrumb ol {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 10px 24px;
	font-size: 13px;
	list-style: none;
	background-color: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 0 rgba(96, 71, 60, 0.08);
}

.cosmos-breadcrumb li + li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 12px 2px;
	border-top: 2px solid var(--cosmosgreen);
	border-right: 2px solid var(--cosmosgreen);
	transform: rotate(45deg);
}

.cosmos-breadcrumb a {
	color: var(--cosmosaomidori);
	font-weight: 700;
	text-decoration: none;
}

/* ---------- SECTION BASE ---------- */
.cosmos-about-sec {
	--wave: var(--cosmos-cream);
	position: relative;
	padding: 120px 0 110px;
	background-color: var(--cosmos-cream);
	background-image:
		radial-gradient(circle, rgba(253, 208, 0, 0.28) 2px, transparent 2.5px),
		radial-gradient(circle, rgba(143, 195, 31, 0.22) 2px, transparent 2.5px);
	background-size: 30px 30px;
	background-position: 0 0, 15px 15px;
}

.cosmos-about-sec::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: var(--wave);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0V20C20 34 60 34 80 20S140 6 160 20V0Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	pointer-events: none;
}

.cosmos-about-head {
	margin-bottom: 56px;
}

.cosmos-about-head.is-left .cosmos-section-en,
.cosmos-about-head.is-left .cosmos-section-heading {
	text-align: left;
}

.cosmos-about-lead {
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 2;
	text-align: center;
}

/* ---------- GREETING ---------- */
.cosmos-greeting {
	--wave: var(--cosmosskyblue);
	padding-top: 96px;
}

.cosmos-greeting::before {
	display: none;
}

.cosmos-greeting-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: 40px;
	align-items: stretch;
}

.cosmos-greeting-photo {
	position: relative;
	width: 100%;
}

@media (min-width: 768px) and (max-width: 992px) {
	.cosmos-greeting-photo::before {
		content: "";
		display: block;
		padding-top: 75%;
	}
}

.cosmos-greeting-photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 8px solid #fff;
	border-radius: 48px;
	box-shadow: 14px 14px 0 var(--cosmosyellow);
}

.cosmos-greeting-photo::after {
	content: "";
	position: absolute;
	top: -64px;
	left: -24px;
	width: 110px;
	height: 108px;
	background: url("../img/palm-cosmos/cosmos-logomark.svg") center / contain no-repeat;
	transform-origin: 50% 100%;
	animation: cosmosAboutSway 4s ease-in-out infinite;
}

.cosmos-greeting-body {
	--grid: color-mix(in srgb, var(--cosmosskyblue) 40%, transparent);
	position: relative;
	padding: 60px 48px 44px;
	background:
		linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
		#fff;
	border-radius: 20px;
	outline: 0;
	box-shadow: 0 14px 30px rgba(96, 71, 60, 0.12), 0 2px 0 rgba(96, 71, 60, 0.06);
}

.cosmos-greeting-catch {
	margin: 0 0 24px;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 700;
	line-height: 1.6;
}

.cosmos-greeting-body p:not(.cosmos-greeting-catch):not(.cosmos-greeting-sign) {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 2;
}

.cosmos-greeting-sign {
	margin: 28px 0 0;
	font-size: 14px;
	text-align: right;
}

.cosmos-greeting-sign span {
	display: inline-block;
	margin-left: 14px;
	font-size: 20px;
	font-weight: 700;
}

/* ---------- ENVIRONMENT ---------- */
.cosmos-env {
	--wave: var(--cosmos-cream);
	background-color: var(--cosmos-green-tint);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-env-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.cosmos-env-card {
	--c: var(--cosmosgreen);
	overflow: hidden;
	background-color: #fff;
	border: 4px solid var(--c);
	border-radius: 36px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--c) 40%, #fff);
}

.cosmos-env-card:nth-child(2) {
	--c: var(--cosmospink);
}

.cosmos-env-card:nth-child(3) {
	--c: var(--cosmosaomidori);
}

.cosmos-env-card:nth-child(4) {
	--c: var(--cosmosorange);
}

.cosmos-env-img {
	padding: 10px 10px 0;
}

.cosmos-env-img img {
	display: block;
	width: 100%;
	aspect-ratio: 1.2 / 1;
	object-fit: cover;
	background-color: color-mix(in srgb, var(--c) 25%, #fff);
	border-radius: 26px;
}
@media (min-width: 992px) {
	.cosmos-env-img img {
		aspect-ratio: 1.5 / 1;
	}
}

.cosmos-env-body {
	position: relative;
	padding: 34px 30px 30px;
}

.cosmos-env-num {
	position: absolute;
	top: -40px;
	left: 20px;
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 24px;
	background-color: var(--c);
	border: 4px solid #fff;
	border-radius: 50%;
}

.cosmos-env-title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
}

.cosmos-env-body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
}

/* ---------- GOALS ---------- */
.cosmos-goals {
	--wave: var(--cosmos-green-tint);
}

.cosmos-goal {
	--c: var(--cosmosorange);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}

.cosmos-goal + .cosmos-goal {
	margin-top: 88px;
}

.cosmos-goal:nth-of-type(3) {
	--c: var(--cosmosaomidori);
}

.cosmos-goal:nth-of-type(4) {
	--c: var(--cosmosblue);
}

.cosmos-goal.is-reverse .cosmos-goal-photo {
	order: 2;
}

.cosmos-goal-photo {
	position: relative;
}

.cosmos-goal-num {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	color: var(--c);
	font-family: "Chewy", cursive;
	font-size: 26px;
	letter-spacing: 0.08em;
}

.cosmos-goal-num b {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	background-color: var(--c);
	border-radius: 50%;
}

.cosmos-goal-title {
	margin: 0 0 16px;
	font-size: clamp(46px, 4.6vw, 56px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

.cosmos-goal-catch {
	display: inline-block;
	margin: 0 0 20px;
	padding: 12px 22px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.7;
	background-color: color-mix(in srgb, var(--c) 18%, #fff);
	border-radius: 20px;
}

.cosmos-goal-body p:not(.cosmos-goal-num):not(.cosmos-goal-catch) {
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 2;
}

/* ---------- POLICY ---------- */
.cosmos-policy {
	--wave: var(--cosmos-cream);
	color: #fff;
	background-color: var(--cosmosaomidori);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-about-head.is-white .cosmos-section-heading,
.cosmos-about-head.is-white .cosmos-about-lead {
	color: #fff;
}

.cosmos-policy-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.cosmos-policy-card {
	position: relative;
	--c: var(--cosmosgreen);
	padding: 60px 26px 28px;
	color: var(--cosmosblack);
	text-align: center;
	background-color: #fff;
	border-radius: 32px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
	transition: transform 0.3s ease;
}

.cosmos-policy-card:nth-child(2) {
	--c: var(--cosmosorange);
}

.cosmos-policy-card:nth-child(3) {
	--c: var(--cosmospink);
}

.cosmos-policy-card:nth-child(4) {
	--c: var(--cosmosblue);
}

.cosmos-policy-card:hover {
	transform: translateY(-6px) rotate(-1deg);
}

.cosmos-policy-num {
	position: absolute;
	top: -5%;
	left: 50%;
    transform: translateX(-50%);
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 80px; 
	aspect-ratio: 1;
	margin: 0 0 12px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-indent: 0.1em;
}

.cosmos-policy-num::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--c);
	border-radius: 58% 42% 52% 48% / 45% 55% 45% 55%;
	border: 3px solid #fff;
	animation: cosmos-blob-spin 8s linear infinite;
}

@keyframes cosmos-blob-spin {
	to {
		transform: rotate(360deg);
	}
}

/* 動きを減らす設定の人には回転を止める */
@media (prefers-reduced-motion: reduce) {
	.cosmos-policy-num::before {
		animation: none;
	}
}

.cosmos-policy-num b {
	display: block;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}

.cosmos-policy-title {
	position: relative;
	margin: 0 0 16px;
	padding-bottom: 14px;
	font-size: 28px;
	font-weight: 700;
}

.cosmos-policy-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 48px;
	height: 8px;
	margin-left: -24px;
	background-color: var(--c);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M1 4Q4 0 7 4T13 4 19 4 23 4' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 24px 8px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M1 4Q4 0 7 4T13 4 19 4 23 4' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 24px 8px repeat-x;
}

.cosmos-policy-card p:last-child {
	margin: 0;
	line-height: 1.7;
	text-align: left;
	text-align: justify;
}

/* ---------- OUTLINE ---------- */
.cosmos-outline {
	--wave: var(--cosmosaomidori);
}

.cosmos-outline-photo {
	position: sticky;
	top: 130px;
}

.cosmos-outline-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 58% center;
	border: 10px solid transparent;
	border-radius: 40px;
	background: repeating-linear-gradient(-45deg, #fff 0 7px, var(--cosmosskyblue) 7px 14px) border-box;
}

.cosmos-outline-table {
	margin: 0;
	padding: 16px 36px;
	background-color: #fff;
	border-radius: 36px;
	box-shadow: 0 8px 0 color-mix(in srgb, var(--cosmosyellow) 40%, #fff);
}

.cosmos-outline-table > div {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 0;
	border-bottom: 3px dotted color-mix(in srgb, var(--cosmosgreen) 45%, #fff);
}

.cosmos-outline-table > div:last-child {
	border-bottom: 0;
}

.cosmos-outline-table dt {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 700;
	color: var(--cosmosaomidori);
}

.cosmos-outline-table dt::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 5px;
	background-color: var(--cosmosyellow);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.cosmos-outline-table dd {
	margin: 0;
	line-height: 1.8;
	font-size: 20px;
}

.cosmos-outline-table dd small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: color-mix(in srgb, var(--cosmosblack) 80%, #fff);
}

.cosmos-outline-table a {
	color: var(--cosmosorange);
	font-weight: 700;
	text-decoration: none;
}

/* ---------- ACCESS ---------- */
.cosmos-about-access {
	--wave: var(--cosmos-cream);
	padding: 120px 0 140px;
	background-color: var(--cosmosaomidori);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-about-access-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 36px;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 48px;
	background-color: #fff;
	border-radius: 48px;
	box-shadow: 0 12px 0 color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
	outline: 3px dashed color-mix(in srgb, var(--cosmosgreen) 55%, #fff);
	outline-offset: -14px;
}

.cosmos-about-access-icon {
	width: 110px;
	height: 110px;
	animation: cosmosAboutBounce 2.4s ease-in-out infinite;
}

.cosmos-about-access-text .cosmos-section-en,
.cosmos-about-access-text .cosmos-section-heading {
	text-align: left;
}

.cosmos-about-access-text .cosmos-section-en {
	margin-bottom: 10px;
}

.cosmos-about-access-text p:last-child {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.9;
}

/* ---------- KEYFRAMES ---------- */
@keyframes cosmosAboutSway {
	0%,
	100% {
		transform: rotate(-4deg);
	}
	50% {
		transform: rotate(4deg);
	}
}

@keyframes cosmosAboutCloud {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(40px);
	}
}

@keyframes cosmosAboutBounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
	.cosmos-policy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px;
	}
}

@media (max-width: 991.98px) {
	.cosmos-about {
		margin-top: 72px;
	}

	.cosmos-about-sec {
		padding: 100px 0 90px;
	}

	.cosmos-greeting-inner,
	.cosmos-outline-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.cosmos-greeting-photo {
		margin: 0 auto;
	}

	.cosmos-outline-photo {
		position: static;
	}

	.cosmos-goal,
	.cosmos-goal.is-reverse {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.cosmos-goal.is-reverse .cosmos-goal-photo {
		order: 0;
	}

	.cosmos-about-access-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		text-align: center;
	}

	.cosmos-about-access-icon {
		justify-self: center;
	}

	.cosmos-about-access-text .cosmos-section-en,
	.cosmos-about-access-text .cosmos-section-heading {
		text-align: center;
	}
}

@media (max-width: 767.98px) {
	.cosmos-about .cosmos-section-en span {
		font-size: 18px;
	}

	.cosmos-page-hero {
		padding: 56px 0 80px;
	}

	.cosmos-page-hero-title {
		padding: 20px 30px;
	}

	.cosmos-page-hero-palm {
		top: 20px;
		right: 0;
		bottom: auto;
		width: 80px;
	}

	.cosmos-page-hero-cloud--1 {
		top: 14px;
		left: -30px;
		width: 100px;
		height: 50px;
	}

	.cosmos-breadcrumb ol {
		padding: 8px 18px;
		font-size: 12px;
	}

	.cosmos-about-sec {
		padding: 84px 0 76px;
	}

	.cosmos-about-head {
		margin-bottom: 40px;
	}

	.cosmos-about-head.is-left .cosmos-section-en,
	.cosmos-about-head.is-left .cosmos-section-heading {
		text-align: center;
	}

	.cosmos-greeting {
		padding-top: 72px;
	}

	.cosmos-greeting-photo img {
		border-width: 6px;
		border-radius: 32px;
		box-shadow: 8px 8px 0 var(--cosmosyellow);
		position: static;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.cosmos-greeting-photo::after {
		top: -44px;
		left: -10px;
		width: 76px;
		height: 74px;
	}

	.cosmos-greeting-body {
		padding: 32px 22px 28px;
		border-radius: 30px;
		outline-offset: -10px;
	}

	.cosmos-greeting-body p:not(.cosmos-greeting-catch):not(.cosmos-greeting-sign),
	.cosmos-goal-body p:not(.cosmos-goal-num):not(.cosmos-goal-catch) {
		font-size: 14px;
		line-height: 1.9;
	}

	.cosmos-env-grid,
	.cosmos-policy-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 60px;
	}

	.cosmos-env-card {
		border-radius: 30px;
	}

	.cosmos-env-body {
		padding: 32px 22px 24px;
	}

	.cosmos-env-title {
		font-size: 24px;
	}

	.cosmos-goal + .cosmos-goal {
		margin-top: 64px;
	}

	.cosmos-policy-card {
		padding: 48px 22px 24px;
	}

	.cosmos-outline-photo img {
		border-width: 6px;
		border-radius: 30px;
		box-shadow: 8px 8px 0 var(--cosmosskyblue);
	}

	.cosmos-outline-table {
		padding: 8px 20px;
		border-radius: 28px;
	}

	.cosmos-outline-table > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
		padding: 14px 0;
	}

	.cosmos-outline-table dd {
		padding-left: 30px;
		font-size: 15px;
		line-height: 1.5;
	}

	.cosmos-about-access {
		padding: 96px 0 110px;
	}

	.cosmos-about-access-card {
		padding: 36px 22px 32px;
		border-radius: 36px;
		outline-offset: -10px;
	}

	.cosmos-about-access-icon {
		width: 80px;
		height: 80px;
	}

	.cosmos-about .btn-cosmos {
		min-width: 0;
		width: 100%;
		max-width: 320px;
		min-height: 56px;
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-about *,
	.cosmos-about *::before,
	.cosmos-about *::after {
		animation: none !important;
	}
}

/* ===== COSMOS SUB HEAD ===== */
.cosmos-sub-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-bottom: clamp(40px, 4vw, 56px);
	text-align: center;
}

.cosmos-sub-head-en {
	position: relative;
	z-index: 0;
	margin: 0 0 18px;
	text-align: center;
}

.cosmos-sub-head-en span {
	position: relative;
	display: inline-block;
	padding: 12px 30px 12px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: clamp(18px, 2.7vw, 22px);
	line-height: 1;
	letter-spacing: 0.12em;
	background: var(--cosmosorange);
	outline: 2px dashed rgba(255, 255, 255, 0.7);
	outline-offset: -5px;
}

.cosmos-sub-head-en span::before,
.cosmos-sub-head-en span::after {
	content: "";
	position: absolute;
	top: 7px;
	z-index: -1;
	width: 30px;
	height: 100%;
	background: color-mix(in srgb, var(--cosmosorange) 72%, #000);
}

.cosmos-sub-head-en span::before {
	left: -20px;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
}

.cosmos-sub-head-en span::after {
	right: -20px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
}

.cosmos-sub-head-title {
	margin: 0;
	color: var(--cosmosblack);
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-align: center;
}

.cosmos-sub-head-title::after {
	content: "";
	display: block;
	width: 100%;
	height: 20px;
	background: var(--cosmosblue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath d='M0 6Q7.5 0 15 6T30 6M0 15Q7.5 9 15 15T30 15' fill='none' stroke='%23000' stroke-width='4'/%3E%3C/svg%3E") 0 0 / 30px 20px round;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath d='M0 6Q7.5 0 15 6T30 6M0 15Q7.5 9 15 15T30 15' fill='none' stroke='%23000' stroke-width='4'/%3E%3C/svg%3E") 0 0 / 30px 20px round;
}

.cosmos-sub-head.is-white .cosmos-sub-head-title::after {
	background: #fff;
}

.cosmos-sub-head.nega .cosmos-sub-head-title::after {
	background: var(--cosmosyellow);
}
.cosmos-sub-head.nega .cosmos-sub-head-title {
	color: #fff;
}

@keyframes cosmosSubHeadStar {
	0%,
	100% {
		transform: scale(1) rotate(0);
		opacity: 1;
	}
	50% {
		transform: scale(0.6) rotate(45deg);
		opacity: 0.6;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-sub-head-en span::after {
		animation: none;
	}
}

@media (min-width: 992px) {
	.cosmos-outline-table {
		/* 流す文字（1回分）と、それを4回つなげたもの */
		--cosmos-marquee-1: "PALM COSMOS HOIKUEN ✦ ";
		--cosmos-marquee-4: var(--cosmos-marquee-1) var(--cosmos-marquee-1) var(--cosmos-marquee-1) var(--cosmos-marquee-1);

		position: relative;
		overflow: hidden;     /* はみ出た文字を隠す */
		padding-right: 80px;  /* 文字の帯の分、内容と重ならないよう空ける */
	}

	.cosmos-outline-table::after {
		/* 同じ内容を2セット並べ、半分の位置まで動かしてループさせる */
		content: var(--cosmos-marquee-4) var(--cosmos-marquee-4);
		content: var(--cosmos-marquee-4) var(--cosmos-marquee-4) / ""; /* 読み上げ対象から外す（対応ブラウザのみ） */
		position: absolute;
		top: 0;
		right: 16px;
		writing-mode: vertical-rl;
		white-space: pre;
		font-family: "Chewy", cursive;
		font-size: 40px;
		letter-spacing: 0.15em;
		line-height: .8;
		color: var(--cosmosaomidori);
		opacity: .5;
		pointer-events: none;
		animation: cosmos-marquee-up 40s linear infinite;
	}
}

@keyframes cosmos-marquee-up {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-outline-table::after {
		animation: none;
	}
}

/* =========================================================
	COSMOS ADMISSION
========================================================= */
.cosmos-admission {
	--sky-tint: color-mix(in srgb, var(--cosmosskyblue) 40%, #fff);
	--sun-tint: color-mix(in srgb, var(--cosmosyellow) 22%, #fff);
}

.cosmos-adm-notes {
	margin: 20px 0 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.8;
	list-style: none;
}
@media (min-width: 992px) {
	.cosmos-adm-notes {
		font-size: 16px;
	}
}

.cosmos-adm-notes li {
	position: relative;
	padding-left: 1.4em;
	margin-bottom: 10px;
}

.cosmos-adm-notes li::before {
	content: "※";
	position: absolute;
	left: 0;
	color: #fff;
}

/* ---------- SYSTEM ---------- */
.cosmos-adm-system::before {
	display: none;
}

.cosmos-adm-system-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin: 0 auto;
	padding: 48px 56px;
	background-color: #fff;
	border: 4px solid var(--cosmosskyblue);
	border-radius: 48px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosskyblue) 55%, #fff);
}

.cosmos-adm-badge {
	position: relative;
	display: grid;
	place-content: center;
	gap: 6px;
	width: 260px;
	aspect-ratio: 1;
	color: #fff;
	text-align: center;
	rotate: -8deg;
}

.cosmos-adm-badge::before,
.cosmos-adm-badge::after {
	content: "";
	position: absolute;
	z-index: -1;
}

.cosmos-adm-badge::before {
	inset: 0;
	background-color: var(--cosmosgreen);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 104 104'%3E%3Cpath d='M91 50Q100.2 58.9 88.5 64Q94.2 75.5 81.4 76.4Q82.8 89.1 70.5 85.5Q67.4 97.9 57.1 90.4Q50 101 42.9 90.4Q32.6 97.9 29.5 85.5Q17.2 89.1 18.6 76.4Q5.8 75.5 11.5 64Q-0.2 58.9 9 50Q-0.2 41.1 11.5 36Q5.8 24.5 18.6 23.6Q17.2 10.9 29.5 14.5Q32.6 2.1 42.9 9.6Q50 -1 57.1 9.6Q67.4 2.1 70.5 14.5Q82.8 10.9 81.4 23.6Q94.2 24.5 88.5 36Q100.2 41.1 91 50Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 104 104'%3E%3Cpath d='M91 50Q100.2 58.9 88.5 64Q94.2 75.5 81.4 76.4Q82.8 89.1 70.5 85.5Q67.4 97.9 57.1 90.4Q50 101 42.9 90.4Q32.6 97.9 29.5 85.5Q17.2 89.1 18.6 76.4Q5.8 75.5 11.5 64Q-0.2 58.9 9 50Q-0.2 41.1 11.5 36Q5.8 24.5 18.6 23.6Q17.2 10.9 29.5 14.5Q32.6 2.1 42.9 9.6Q50 -1 57.1 9.6Q67.4 2.1 70.5 14.5Q82.8 10.9 81.4 23.6Q94.2 24.5 88.5 36Q100.2 41.1 91 50Z'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: cosmosAdmSpin 30s linear infinite;
}

.cosmos-adm-badge::after {
	inset: 34px;
	border: 2px dashed rgba(255, 255, 255, 0.8);
	border-radius: 50%;
}

.cosmos-adm-badge span {
	font-family: "Chewy", cursive;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0.14em;
	color: var(--cosmosyellow);
}

.cosmos-adm-badge b {
	font-size: 26px;
	line-height: 1.35;
	letter-spacing: 0.06em;
}

.cosmos-adm-system-text p {
	margin: 0;
	font-size: 18px;
	line-height: 2;
}

.cosmos-adm-system-text p + p {
	margin-top: 14px;
}

.cosmos-adm-system-text strong {
	color: var(--cosmosaomidori);
}

/* ---------- FLOW ---------- */
.cosmos-adm-flow {
	--wave: var(--cosmos-cream);
	background-color: var(--sky-tint);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.85) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-adm-steps {
	position: relative;
	display: grid;
	gap: 28px;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.cosmos-adm-steps::before {
	content: "";
	position: absolute;
	top: 50px;
	bottom: 50px;
	left: 49px;
	border-left: 5px dotted var(--cosmosblack);
}

.cosmos-adm-step {
	--c: var(--cosmosgreen);
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.cosmos-adm-step:nth-child(2) {
	--c: var(--cosmosyellow);
}

.cosmos-adm-step:nth-child(3) {
	--c: var(--cosmosorange);
}

.cosmos-adm-step:nth-child(4) {
	--c: var(--cosmospink);
}

.cosmos-adm-step:nth-child(5) {
	--c: var(--cosmosblue);
}

.cosmos-adm-step-num {
	display: grid;
	place-content: center;
	width: 104px;
	aspect-ratio: 1;
	margin: 0;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.12em;
	text-align: center;
	background-color: var(--c);
	border: 5px solid #fff;
	border-radius: 50%;
	box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 60%, #000);
}

.cosmos-adm-step-num b {
	margin-top: 2px;
	font-size: 38px;
	font-weight: 400;
	letter-spacing: 0.04em;
}

.cosmos-adm-step-body {
	position: relative;
	padding: 24px 32px;
	background-color: #fff;
	border-radius: 28px;
	box-shadow: 0 6px 0 color-mix(in srgb, var(--cosmosskyblue) 70%, #fff);
	border: 3px solid var(--cosmosblue);
}

.cosmos-adm-step-body::before {
	content: "";
	position: absolute;
	top: calc(50% - 12px);
	left: -18px;
	width: 18px;
	height: 24px;
	background-color: var(--cosmosblue);
	clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.cosmos-adm-step-body h3 {
	display: inline;
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
	background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 35%, transparent) 62%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.cosmos-adm-step-body p {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.85;
}

.cosmos-adm-step:last-child .cosmos-adm-step-num {
	animation: cosmosAdmBounce 2.4s ease-in-out infinite;
}

.cosmos-adm-step:last-child .cosmos-adm-step-body {
	background-color: color-mix(in srgb, var(--cosmosyellow) 22%, #fff);
}

.cosmos-adm-step:last-child .cosmos-adm-step-body::before {
	background-color: var(--cosmosblue);
}

/* ---------- DOWNLOAD ---------- */
.cosmos-adm-dl {
	position: relative;
	max-width: 1000px;
	margin: 100px auto 0;
	padding: 44px 48px 48px;
	background-color: color-mix(in srgb, var(--cosmosorange) 14%, #fff);
	border: 4px solid var(--cosmosorange);
	border-radius: 0 36px 36px 36px;
}

.cosmos-adm-dl-tab {
	position: absolute;
	bottom: 100%;
	left: -4px;
	margin: 0;
	padding: 12px 34px 8px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 0.14em;
	background-color: var(--cosmosorange);
	border-radius: 20px 20px 0 0;
}

.cosmos-adm-dl-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
}

.cosmos-adm-dl-lead {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.8;
}

.cosmos-adm-dl-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-adm-dl-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 16px 22px;
	color: var(--cosmosblack);
	text-decoration: none;
	background-color: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 30%, #fff);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cosmos-adm-dl-item:hover {
	color: var(--cosmosblack);
	transform: translateY(-3px);
	box-shadow: 0 7px 0 color-mix(in srgb, var(--cosmosorange) 30%, #fff);
}

.cosmos-adm-dl-icon {
	display: grid;
	place-items: end center;
	width: 42px;
	height: 52px;
	padding-bottom: 8px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.06em;
	background:
		linear-gradient(225deg, transparent 10px, var(--cosmospink) 10px) top right / 100% 100% no-repeat;
	border-radius: 6px;
}

.cosmos-adm-dl-text {
	font-size: 16px;
	line-height: 1.6;
}

.cosmos-adm-dl-text b {
	display: block;
	font-size: 24px;
	line-height: 1.2;
	color: var(--cosmospink);
}

.cosmos-adm-dl-arrow {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	background-color: var(--cosmosorange);
	border-radius: 50%;
	transition: transform 0.25s ease;
}

.cosmos-adm-dl-item:hover .cosmos-adm-dl-arrow {
	transform: translateY(4px);
}

/* ---------- PRICE ---------- */
.cosmos-adm-price {
	--wave: var(--sky-tint);
}

.cosmos-adm-lead {
	margin: 0 0 32px;
	font-size: 18px;
	line-height: 2;
}

.cosmos-adm-lead strong {
	background: linear-gradient(transparent 62%, color-mix(in srgb, var(--cosmosyellow) 55%, transparent) 62%);
}

.cosmos-adm-table-wrap {
	overflow-x: auto;
	border-radius: 30px;
	border: 4px solid var(--cosmosaomidori);
	box-shadow: 0 8px 0 color-mix(in srgb, var(--cosmosaomidori) 100%, #fff);
}

.cosmos-adm-price-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
}

.cosmos-adm-price-table thead th {
	padding: 18px 12px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	background-color: var(--cosmosaomidori);
}

.cosmos-adm-price-table thead th + th {
	border-left: 2px solid rgba(255, 255, 255, 0.35);
}

.cosmos-adm-price-table tbody th,
.cosmos-adm-price-table tbody td {
	padding: 16px 24px;
	border-bottom: 2px dotted color-mix(in srgb, var(--cosmosgreen) 45%, #fff);
}

.cosmos-adm-price-table tbody tr:last-child > * {
	border-bottom: 0;
}

.cosmos-adm-price-table tbody th {
	width: 32%;
	font-size: 24px;
	font-weight: 700;
	text-align: left;
	background-color: color-mix(in srgb, var(--cosmosgreen) 12%, #fff);
}

.cosmos-adm-price-table tbody th small {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-weight: 500;
	color: color-mix(in srgb, var(--cosmosblack) 75%, #fff);
}

.cosmos-adm-price-table tbody td {
	font-size: 13px;
	text-align: center;
}

.cosmos-adm-price-table tbody td b {
	margin-right: 2px;
	color: var(--cosmosorange);
	font-family: "Chewy", cursive;
	font-size: 40px;
	font-weight: 400;
	letter-spacing: 0.04em;
}
@media (min-width: 768px) {
	.cosmos-adm-price-table tbody td.cosmos-adm-free b {
		font-size: 60px;
	}
}

.cosmos-adm-price-table .cosmos-adm-free {
	width: 34%;
	background-color: var(--sun-tint);
	border-bottom: 0;
	border-left: 2px dotted color-mix(in srgb, var(--cosmosgreen) 45%, #fff);
}

.cosmos-adm-free-badge {
	display: inline-grid;
	place-content: center;
	gap: 4px;
	width: 80%;
	aspect-ratio: 1;
	color: var(--cosmosblack);
	font-size: 26px;
	font-weight: 700;
	background-color: var(--cosmosyellow);
	border-radius: 50%;
	box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--cosmosyellow);
	animation: cosmosAdmBounce 3s ease-in-out infinite;
}

.cosmos-adm-free-badge b {
	color: var(--cosmospink);
	font-family: "Chewy", cursive;
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.06em;
	text-shadow: 2px 2px 0 #fff;
}

.cosmos-adm-point {
	position: relative;
	margin-top: 64px;
	padding: 48px 44px 36px;
	background-color: #fff;
	border: 3px dashed var(--cosmospink);
	border-radius: 32px;
}

.cosmos-adm-point-label {
	position: absolute;
	top: -24px;
	left: 32px;
	margin: 0;
	padding: 10px 26px 8px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 30px;
	line-height: 1;
	letter-spacing: 0.12em;
	background-color: var(--cosmospink);
	border-radius: 999px;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmospink) 65%, #000);
	rotate: -6deg;
}

.cosmos-adm-point-title {
	margin: 0 0 18px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
}

.cosmos-adm-point ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-adm-point li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	font-size: 20px;
	line-height: 1.8;
}

.cosmos-adm-age {
	flex-shrink: 0;
	padding: 4px 14px;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	background-color: var(--cosmosblue);
	border-radius: 999px;
}

.cosmos-adm-point li + li .cosmos-adm-age {
	background-color: var(--cosmosgreen);
}

/* ---------- HOURS ---------- */
.cosmos-adm-hours {
	--wave: var(--cosmos-cream);
	color: #fff;
	background-color: var(--cosmospink);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-adm-hours-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 14px;
	margin-top: -14px;
}

.cosmos-adm-hours-table thead th {
	padding: 5px;
	color: var(--cosmosbrown);
	background-color: var(--cosmosyellow);
	background-clip: padding-box;
	border: 0 solid transparent;
	border-inline-width: 5px;
	border-radius: 20px;
	font-size: 20px;
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.cosmos-adm-hours-table thead th:first-child {
	border-left-width: 0;
}
.cosmos-adm-hours-table thead th:last-child {
	border-right-width: 0;
}

.cosmos-adm-hours-table tbody tr {
	--c: var(--cosmosgreen);
}

.cosmos-adm-hours-table tbody tr:nth-child(2) {
	--c: var(--cosmospink);
}

.cosmos-adm-hours-table tbody tr:nth-child(3) {
	--c: var(--cosmosorange);
}

.cosmos-adm-hours-table tbody tr:nth-child(4) {
	--c: var(--cosmosblue);
}

.cosmos-adm-hours-table tbody > tr > * {
	padding: 22px 24px;
	color: var(--cosmosbrown);
	font-size: 18px;
	line-height: 1.7;
	text-align: left;
	vertical-align: middle;
	background-color: #fff;
	border-block: 3px solid color-mix(in srgb, var(--c) 45%, #fff);
}

.cosmos-adm-hours-table tbody th {
	width: 210px;
	border-left: 3px solid color-mix(in srgb, var(--c) 45%, #fff);
	border-radius: 24px 0 0 24px;
}

.cosmos-adm-hours-table tbody td:last-child {
	border-right: 3px solid color-mix(in srgb, var(--c) 45%, #fff);
	border-radius: 0 24px 24px 0;
}

.cosmos-adm-hours-table tbody th span {
	display: block;
	padding: 8px 18px;
	color: #fff;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	background-color: var(--c);
	border-radius: 999px;
}

.cosmos-adm-hours-table td b {
	margin-right: 10px;
	color: var(--cosmosaomidori);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.cosmos-adm-hours-table td b.is-text {
	font-size: 24px;
	line-height: 1.4;
}

.cosmos-adm-hours-table td small {
	display: inline-block;
	padding: 2px 12px;
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
	background-color: color-mix(in srgb, var(--cosmosyellow) 45%, #fff);
	border-radius: 999px;
}

/* ---------- CTA ---------- */
.cosmos-adm-cta {
	--wave-bottom: var(--cosmos-cream);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-top: 50px;
	padding-bottom: 90px;
}

/* 動く背景レイヤー */
.cosmos-adm-cta-bg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 130%;
	z-index: -1;
	background-image:
		linear-gradient(rgba(26, 166, 146, 0.85), rgba(26, 166, 146, 0.85)),
		url(../img/palm-cosmos/palm-cosmosgaikan.jpg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	animation: cosmos-cta-pan 10s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes cosmos-cta-pan {
	from { transform: translateX(0); }
	to   { transform: translateX(-23%); }
}

@media (prefers-reduced-motion: reduce) {
	.cosmos-adm-cta-bg {
		animation: none;
	}
}
.cosmos-adm-cta::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: var(--wave-bottom);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C20 6 60 6 80 20S140 34 160 20V40Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C20 6 60 6 80 20S140 34 160 20V40Z'/%3E%3C/svg%3E") 0 0 / 160px 40px repeat-x;
	pointer-events: none;
}

.cosmos-adm-cta-icon {
	display: block;
	width: 340px;
	margin: 0 auto 20px;
	transform-origin: 50% 100%;
	animation: cosmosAboutSway 4s ease-in-out infinite;
}

.cosmos-adm-cta-title {
	margin: 0 0 16px;
	color: var(--cosmosyellow);
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.cosmos-adm-cta-lead {
	margin: 0 0 32px;
	line-height: 1.9;
}

@media (max-width: 767.98px) {
	.cosmos-adm-cta-icon {
		width: 64px;
	}

	.cosmos-adm-cta-lead {
		font-size: 14px;
	}
}

/*.page-template-page-palm-cosmos-admission .cosmos-adm-cta {
    --wave-bottom: #fef5c7;
}*/
.page-template-page-palm-cosmos-admission .cosmos-adm-cta::before {
	background-color: var(--cosmospink);
}
.page-template-page-palm-cosmos-admission .cosmos-footer {
    --cosmos-footer-wave: none;
 }

/* ---------- KEYFRAMES ---------- */
@keyframes cosmosAdmSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes cosmosAdmBounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
	.cosmos-adm-system-card {
		gap: 32px;
		padding: 40px;
	}

	.cosmos-adm-badge {
		width: 240px;
	}

	.cosmos-adm-hours-table tbody th {
		width: 180px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-adm-system-card {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 24px;
		padding: 40px 22px 32px;
		border-radius: 36px;
	}

	.cosmos-adm-badge {
		width: 240px;
	}

	.cosmos-adm-badge::after {
		inset: 34px;
	}

	.cosmos-adm-badge b {
		font-size: 26px;
	}

	.cosmos-adm-system-text p {
		line-height: 1.9;
	}

	.cosmos-adm-steps {
		gap: 22px;
	}

	.cosmos-adm-steps::before {
		top: 36px;
		bottom: 36px;
		left: 35px;
		border-left-width: 4px;
	}

	.cosmos-adm-step {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 18px;
	}

	.cosmos-adm-step-num {
		width: 74px;
		font-size: 10px;
		border-width: 4px;
	}

	.cosmos-adm-step-num b {
		font-size: 28px;
	}

	.cosmos-adm-step-body {
		padding: 18px 20px;
		border-radius: 22px;
	}

	.cosmos-adm-step-body h3 {
		font-size: 20px;
	}

	.cosmos-adm-step-body p {
		font-size: 13px;
	}

	.cosmos-adm-dl {
		margin-top: 80px;
		padding: 32px 18px 24px;
		border-radius: 0 28px 28px 28px;
	}

	.cosmos-adm-dl-tab {
		padding: 10px 24px 7px;
		font-size: 17px;
	}

	.cosmos-adm-dl-title {
		font-size: 22px;
	}

	.cosmos-adm-dl-lead {
		font-size: 14px;
	}

	.cosmos-adm-dl-item {
		gap: 12px;
		padding: 14px 14px;
		border-radius: 16px;
	}

	.cosmos-adm-dl-icon {
		width: 36px;
		height: 44px;
		padding-bottom: 6px;
		font-size: 11px;
	}

	.cosmos-adm-dl-text {
		font-size: 15px;
	}

	.cosmos-adm-dl-arrow {
		width: 36px;
		height: 36px;
		font-size: 15px;
	}

	.cosmos-adm-lead {
		line-height: 1.9;
	}

	.cosmos-adm-table-wrap {
		border-radius: 22px;
	}

	.cosmos-adm-price-table thead th {
		padding: 14px 6px;
		font-size: 13px;
	}

	.cosmos-adm-price-table tbody th,
	.cosmos-adm-price-table tbody td {
		padding: 12px 10px;
	}

	.cosmos-adm-price-table tbody th {
		font-size: 13px;
	}

	.cosmos-adm-price-table tbody th small {
		font-size: 10px;
	}

	.cosmos-adm-price-table tbody td {
		font-size: 11px;
	}

	.cosmos-adm-price-table tbody td b {
		font-size: 20px;
	}

	.cosmos-adm-price-table .cosmos-adm-free {
		padding: 10px 6px;
	}

	.cosmos-adm-free-badge {
		width: 86px;
		font-size: 10px;
		box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--cosmosyellow);
	}

	.cosmos-adm-free-badge b {
		font-size: 24px;
	}

	.cosmos-adm-point {
		margin-top: 56px;
		padding: 40px 20px 26px;
		border-radius: 26px;
	}

	.cosmos-adm-point-label {
		left: 20px;
		font-size: 24px;
	}

	.cosmos-adm-point-title {
		font-size: 22px;
	}

	.cosmos-adm-point li {
		flex-direction: column;
		gap: 6px;
	}

	.cosmos-adm-hours-table,
	.cosmos-adm-hours-table tbody,
	.cosmos-adm-hours-table tr,
	.cosmos-adm-hours-table th,
	.cosmos-adm-hours-table td {
		display: block;
	}

	.cosmos-adm-hours-table {
		margin-top: 0;
	}

	.cosmos-adm-hours-table thead {
		display: none;
	}

	.cosmos-adm-hours-table tbody tr {
		padding: 22px 20px 18px;
		background-color: #fff;
		border: 3px solid color-mix(in srgb, var(--c) 45%, #fff);
		border-radius: 24px;
	}

	.cosmos-adm-hours-table tbody tr + tr {
		margin-top: 16px;
	}

	.cosmos-adm-hours-table tbody > tr > *,
	.cosmos-adm-hours-table tbody th,
	.cosmos-adm-hours-table tbody td:last-child {
		width: auto;
		padding: 0;
		font-size: 18px;
		line-height: 1.5;
		background: none;
		border: 0;
		border-radius: 0;
	}

	.cosmos-adm-hours-table tbody th {
		margin-bottom: 12px;
	}

	.cosmos-adm-hours-table tbody th span {
		font-size: 18px;
	}

	.cosmos-adm-hours-table td {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 8px;
		align-items: baseline;
	}

	.cosmos-adm-hours-table tbody td + td {
		margin-top: 20px;
		padding-top: 10px;
		border-top: 2px dotted color-mix(in srgb, var(--c) 45%, #fff);
	}

	.cosmos-adm-hours-table td::before {
		content: attr(data-label);
		color: var(--cosmosbrown);
		font-size: 14px;
		font-weight: 700;
	}

	.cosmos-adm-hours-table td b {
		font-size: 24px;
	}

	.cosmos-adm-hours-table td b.is-text {
		font-size: 24px;
	}

	.cosmos-adm-hours-table td small {
		grid-column: 2;
		justify-self: start;
	}
}

.cosmos-admission .cosmos-page-hero .cosmos-news-sloth {
	position: absolute;
	z-index: 0;
	left: 0;
	top: 20%;;
	width: 30%;
	max-width: 450px;
}

.cosmos-page-hero-cloud--1.right {
	 top: 15%;
    left: inherit;
    right: 8%;
    width: 25%;
    height: 20%;
    animation-duration: 5s;
}
.cosmos-page-hero-cloud--2.right {
	 top: 40%;
    left: inherit;
    right: 3%;
    width: 20%;
    height: 15%;
    animation-duration: 10s;
}





/* =========================================================
	COSMOS LIFE
========================================================= */
.cosmos-life {
	--teal-shadow: color-mix(in srgb, var(--cosmosaomidori) 70%, #000);
}

/* ---------- FEATURES ---------- */
.cosmos-life-features::before {
	display: none;
}

.cosmos-life-feature {
	--c: var(--cosmosorange);
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: 80px;
	align-items: center;
}

.cosmos-life-feature + .cosmos-life-feature {
	margin-top: 110px;
}

.cosmos-life-feature.is-swim {
	--c: var(--cosmosblue);
}

.cosmos-life-feature.is-culture {
	--c: var(--cosmospink);
}

.cosmos-life-feature.is-reverse .cosmos-life-feature-photo {
	order: 2;
}

.cosmos-life-feature-photo {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.cosmos-life-feature-photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--c) 45%, #fff) 0 10px, color-mix(in srgb, var(--c) 25%, #fff) 10px 20px);
	border-radius: 999px 999px 40px 40px;
	translate: 20px 20px;
}

.cosmos-life-feature.is-reverse .cosmos-life-feature-photo::before {
	translate: -20px 20px;
}

.cosmos-life-feature-photo::after {
	content: "";
	position: absolute;
	top: -18px;
	right: -10px;
	width: 90px;
	height: 90px;
	background:
		radial-gradient(circle, var(--cosmosyellow) 15px, transparent 16px) 0 30px / 40px 40px no-repeat,
		radial-gradient(circle, color-mix(in srgb, var(--c) 60%, #fff) 10px, transparent 11px) 50px 0 / 30px 30px no-repeat,
		radial-gradient(circle, var(--cosmosgreen) 7px, transparent 8px) 60px 56px / 20px 20px no-repeat;
}

.cosmos-life-feature.is-reverse .cosmos-life-feature-photo::after {
	right: auto;
	left: -10px;
}

.cosmos-life-feature-photo img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background-color: color-mix(in srgb, var(--c) 20%, #fff);
	border: 8px solid #fff;
	border-radius: 999px 999px 40px 40px;
}

.cosmos-life-feature-num {
	display: inline-block;
	margin: 0 0 14px;
	padding: 8px 18px 6px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.12em;
	background-color: var(--c);
	border-radius: 999px 999px 999px 4px;
}

.cosmos-life-feature-num b {
	margin-left: 0.3em;
	font-weight: 400;
}

.cosmos-life-feature-title {
	margin: 0 0 6px;
	font-size: clamp(36px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

.cosmos-life-feature-sub {
	margin: 0 0 20px;
	color: var(--c);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.08em;
}

.cosmos-life-feature-body > p:not([class]) {
	margin: 0;
	font-size: 16px;
	line-height: 2;
}

.cosmos-life-food {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: food;
}

.cosmos-life-food li {
	position: relative;
	padding: 15px 15px 15px 60px;
	font-size: 16px;
	line-height: 1.5;
	background-color: var(--cosmosyellow);
	border-radius: 20px;
	counter-increment: food;
}

.cosmos-life-food li::before {
	content: counter(food);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 16px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 17px;
	background-color: var(--c);
	border-radius: 50%;
}

.cosmos-life-food b {
	display: block;
	font-size: 24px;
	margin-bottom: 10px;
}

/* ---------- A DAY ---------- */
.cosmos-life-day {
	--wave: var(--cosmos-cream);
	background-color: var(--cosmos-green-tint);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-life-day-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 64px;
	align-items: center;
}

.cosmos-life-day-photo {
	position: sticky;
	top: 130px;
	width: 100%;
	margin: 0 auto;
}

.cosmos-life-day-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background-color: #fff;
	border: 10px solid #fff;
	border-radius: 50%;
	outline: 4px dashed var(--cosmosgreen);
	outline-offset: 10px;
}

.cosmos-life-timeline {
	position: relative;
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-life-timeline::before {
	content: "";
	position: absolute;
	top: 30px;
	bottom: 30px;
	left: 9px;
	border-left: 4px solid #fff;
	border-radius: 4px;
}

.cosmos-life-timeline li {
	--c: var(--cosmosgreen);
	position: relative;
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	margin-left: 40px;
	padding: 18px 24px;
	background-color: #fff;
	border-radius: 22px;
	box-shadow: 0 5px 0 color-mix(in srgb, var(--cosmosgreen) 30%, #fff);
}

.cosmos-life-timeline li:nth-child(5n + 2) {
	--c: var(--cosmosyellow);
}

.cosmos-life-timeline li:nth-child(5n + 3) {
	--c: var(--cosmosorange);
}

.cosmos-life-timeline li:nth-child(5n + 4) {
	--c: var(--cosmospink);
}

.cosmos-life-timeline li:nth-child(5n + 5) {
	--c: var(--cosmosblue);
}

.cosmos-life-timeline li::before {
	content: "";
	position: absolute;
	top: calc(50% - 11px);
	left: -42px;
	width: 22px;
	height: 22px;
	background-color: var(--c);
	border: 4px solid #fff;
	border-radius: 50%;
}

.cosmos-life-time {
	margin: 0;
	color: var(--cosmosaomidori);
	font-family: "Chewy", cursive;
	font-size: 30px;
	line-height: 1;
	letter-spacing: 0.04em;
}

.cosmos-life-time span {
	margin-left: 2px;
	font-size: 16px;
}

.cosmos-life-timeline h3 {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 700;
	color: var(--cosmosaomidori);
	line-height: 1.5;
}

.cosmos-life-timeline h3 + p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
@media (min-width: 992px) {
	.cosmos-life-timeline h3 + p {
		font-size: 16px;
	}
}

/* ---------- ANNUAL EVENTS ---------- */
.cosmos-life-events {
	--wave: var(--cosmos-green-tint);
	color: #fff;
	background-color: var(--cosmosaomidori);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-life-calendar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 50px;
	margin: 0;
	padding: 16px 0 0;
	list-style: none;
}

.cosmos-life-cal {
	--s: var(--cosmospink);
	--ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 34'%3E%3Ccircle cx='7' cy='27' r='5' fill='rgba(0,0,0,0.25)'/%3E%3Crect x='2' y='2' width='10' height='26' rx='5' fill='none' stroke='%2360473c' stroke-width='3.4'/%3E%3C/svg%3E");
	position: relative;
	display: flex;
	flex-direction: column;
	color: var(--cosmosblack);
	text-align: center;
	filter: drop-shadow(0 8px 0 var(--teal-shadow));
	transition: transform 0.3s ease;
}

.cosmos-life-cal:hover {
	rotate: 0deg;
	transform: translateY(-6px);
}

.cosmos-life-cal.is-summer {
	--s: var(--cosmosblue);
}

.cosmos-life-cal.is-autumn {
	--s: var(--cosmosorange);
}

.cosmos-life-cal.is-winter {
	--s: var(--cosmospurple);
}

.cosmos-life-cal::before {
	content: "";
	position: absolute;
	top: -18px;
	right: 0;
	left: 0;
	z-index: 1;
	height: 34px;
	background:
		var(--ring) 26% 0 / 14px 34px no-repeat,
		var(--ring) 74% 0 / 14px 34px no-repeat;
}

.cosmos-life-cal::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 30px;
	height: 30px;
	background: linear-gradient(to bottom right, color-mix(in srgb, var(--s) 35%, #fff) 50%, transparent 50%);
	border-radius: 0 0 0 8px;
}

.cosmos-life-cal-head {
	margin: 0;
	padding: 20px 10px 8px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 20px;
	text-align: center;
	line-height: 1;
	letter-spacing: 0.16em;
	background-color: var(--s);
	border: 2px solid #fff;
	border-radius: 16px 16px 0 0;
}

.cosmos-life-cal-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 14px 26px;
	background:
		linear-gradient(color-mix(in srgb, var(--s) 14%, transparent) 1px, transparent 1px) 0 0 / 100% 22px,
		linear-gradient(90deg, color-mix(in srgb, var(--s) 14%, transparent) 1px, transparent 1px) 0 0 / 22px 100%,
		#fff;
	border-radius: 0 0 0 16px;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.cosmos-life-cal-month {
	display: block;
	width: auto;
	max-width: 100%;
	height: 160px;
	margin: 0;
	object-fit: contain;
}

.cosmos-life-cal-event {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
}

.cosmos-life-regular {
	margin-top: 90px;
	text-align: center;
}

.cosmos-life-regular-title {
	position: relative;
	display: inline-block;
	margin: 0 0 16px;
	padding: 12px 44px 10px;
	color: var(--cosmosaomidori);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.1em;
	background-color: #fff;
	border-radius: 999px;
	box-shadow: 0 6px 0 var(--teal-shadow);
}

.cosmos-life-regular-title::before,
.cosmos-life-regular-title::after {
	content: "";
	position: absolute;
	top: calc(50% - 4px);
	width: 100%;
	height: 8px;
	background: radial-gradient(circle, var(--cosmosyellow) 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x;
}

.cosmos-life-regular-title::before {
	right: calc(100% + 16px);
}

.cosmos-life-regular-title::after {
	left: calc(100% + 16px);
}

@media (max-width: 767.98px) {
	.cosmos-life-regular-title {
		padding: 10px 30px 8px;
		font-size: 26px;
	}

	.cosmos-life-regular-title::before {
		right: calc(100% + 10px);
	}

	.cosmos-life-regular-title::after {
		left: calc(100% + 10px);
	}
}

.cosmos-life-regular-lead {
	margin: 0 0 36px;
	font-size: 14px;
}

.cosmos-life-regular-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-life-regular-list li {
	--c: var(--cosmosyellow);
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 14px 26px 14px 14px;
	color: var(--cosmosblack);
	text-align: left;
	background-color: #fff;
	border: 4px solid var(--c);
	border-radius: 999px;
	box-shadow: 0 7px 0 var(--teal-shadow);
	transition: transform 0.3s ease;
}

.cosmos-life-regular-list li:nth-child(6n + 2) {
	--c: var(--cosmospink);
}

.cosmos-life-regular-list li:nth-child(6n + 3) {
	--c: var(--cosmosskyblue);
}

.cosmos-life-regular-list li:nth-child(6n + 4) {
	--c: var(--cosmosgreen);
}

.cosmos-life-regular-list li:nth-child(6n + 5) {
	--c: var(--cosmosorange);
}

.cosmos-life-regular-list li:nth-child(6n + 6) {
	--c: var(--cosmospurple);
}

.cosmos-life-regular-list li:hover {
	transform: translateY(-5px);
}

.cosmos-life-regular-img {
	display: block;
	width: 108px;
	height: 108px;
	object-fit: cover;
	background-color: color-mix(in srgb, var(--c) 25%, #fff);
	border-radius: 50%;
}

.cosmos-life-regular-text {
	display: grid;
	justify-items: start;
	gap: 4px;
}

.cosmos-life-regular-freq {
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	background-color: color-mix(in srgb, var(--c) 45%, #fff);
	border-radius: 999px;
}

.cosmos-life-regular-list b {
	font-size: 19px;
	line-height: 1.4;
}

.cosmos-life-regular-list small {
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 1199.98px) {
	.cosmos-life-regular-list li {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px;
		padding-right: 20px;
	}

	.cosmos-life-regular-img {
		width: 88px;
		height: 88px;
	}

	.cosmos-life-regular-list b {
		font-size: 17px;
	}
}

@media (max-width: 991.98px) {
	.cosmos-life-calendar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cosmos-life-regular-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.cosmos-life-calendar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 30px;
	}

	.cosmos-life-cal-head {
		padding: 18px 8px 7px;
		font-size: 16px;
		text-align: center;
		border: 2px solid #fff;
	}

	.cosmos-life-cal-body {
		padding: 14px 10px 24px;
	}

	.cosmos-life-cal-month {
		height: 100px;
		margin: 0;
	}

	.cosmos-life-cal-event {
		font-size: 16px;
		line-height: 1.5;
	}

	.cosmos-life-regular {
		margin-top: 72px;
	}

	.cosmos-life-regular-title {
		font-size: 22px;
	}

	.cosmos-life-regular-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		max-width: 420px;
		margin: 0 auto;
	}

	.cosmos-life-regular-list li {
		grid-template-columns: 76px minmax(0, 1fr);
		padding: 10px 20px 10px 10px;
	}

	.cosmos-life-regular-img {
		width: 76px;
		height: 76px;
	}

	.cosmos-life-regular-list b {
		font-size: 16px;
	}

	.cosmos-life-regular-list small {
		font-size: 11px;
	}
}

/* ---------- GALLERY ---------- */
.cosmos-life-gallery {
	--wave: var(--cosmosaomidori);
}

.cosmos-life-slider-track {
	--w: clamp(340px, 56vw, 820px);
	position: relative;
	display: flex;
	gap: 28px;
	margin: 0 calc(50% - 50vw);
	padding: 36px calc(50vw - var(--w) / 2) 44px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
}

.cosmos-life-slider-track::-webkit-scrollbar {
	display: none;
}

.cosmos-life-slide {
	--c: var(--cosmosyellow);
	position: relative;
	flex: 0 0 var(--w);
	padding: 12px 12px 52px;
	background-color: #fff;
	border-radius: 24px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--c) 55%, #fff);
	scroll-snap-align: center;
	cursor: pointer;
	opacity: 0.6;
	scale: 0.84;
	rotate: -4deg;
	transition: scale 0.5s ease, opacity 0.5s ease, rotate 0.5s ease;
}

.cosmos-life-slider-track.is-jumping .cosmos-life-slide {
	transition: none;
}

.cosmos-life-slide:nth-child(even) {
	rotate: 4deg;
}

.cosmos-life-slide:nth-child(4n + 2) {
	--c: var(--cosmospink);
}

.cosmos-life-slide:nth-child(4n + 3) {
	--c: var(--cosmosskyblue);
}

.cosmos-life-slide:nth-child(4n + 4) {
	--c: var(--cosmosgreen);
}

.cosmos-life-slide.is-active {
	cursor: default;
	opacity: 1;
	scale: 1;
	rotate: 0deg;
}

.cosmos-life-slide::before {
	content: "";
	position: absolute;
	top: -14px;
	left: calc(50% - 50px);
	z-index: 1;
	width: 100px;
	height: 28px;
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.55) 0 6px, transparent 6px 12px),
		color-mix(in srgb, var(--c) 85%, transparent);
	rotate: -3deg;
}

.cosmos-life-slide::after {
	content: "PALM COSMOS";
	position: absolute;
	right: 0;
	bottom: 16px;
	left: 0;
	color: color-mix(in srgb, var(--c) 80%, var(--cosmosbrown));
	font-family: "Chewy", cursive;
	font-size: 17px;
	line-height: 1;
	letter-spacing: 0.12em;
	text-align: center;
}

.cosmos-life-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background-color: color-mix(in srgb, var(--c) 25%, #fff);
	border-radius: 16px;
}

.cosmos-life-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 8px;
}

.cosmos-life-slider-btn {
	position: relative;
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	padding: 0;
	background-color: var(--cosmosorange);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 5px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cosmos-life-slider-btn::before {
	content: "";
	position: absolute;
	top: calc(50% - 7px);
	left: calc(50% - 9px);
	width: 14px;
	height: 14px;
	border-top: 4px solid #fff;
	border-right: 4px solid #fff;
	border-radius: 2px;
	transform: rotate(45deg);
}

.cosmos-life-slider-btn.is-prev::before {
	left: calc(50% - 5px);
	transform: rotate(-135deg);
}

.cosmos-life-slider-btn:hover {
	transform: translateY(3px);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.cosmos-life-slider-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.cosmos-life-slider-dots button {
	width: 14px;
	height: 14px;
	padding: 0;
	background-color: color-mix(in srgb, var(--cosmosorange) 30%, #fff);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.cosmos-life-slider-dots button.is-active {
	width: 34px;
	background-color: var(--cosmosorange);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
	.cosmos-life-feature,
	.cosmos-life-day-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.cosmos-life-feature.is-reverse .cosmos-life-feature-photo {
		order: 0;
	}

	.cosmos-life-day-photo {
		position: static;
	}
}

@media (max-width: 767.98px) {
	.cosmos-life-feature + .cosmos-life-feature {
		margin-top: 80px;
	}

	.cosmos-life-feature-photo::before {
		translate: 12px 12px;
	}

	.cosmos-life-feature.is-reverse .cosmos-life-feature-photo::before {
		translate: 12px 12px;
	}

	.cosmos-life-feature-photo img {
		border-width: 6px;
		border-radius: 999px 999px 30px 30px;
	}

	.cosmos-life-feature-photo::before {
		border-radius: 999px 999px 30px 30px;
	}

	.cosmos-life-feature.is-reverse .cosmos-life-feature-photo::after {
		right: -10px;
		left: auto;
	}

	.cosmos-life-feature-body > p:not([class]) {
		line-height: 1.6;
	}

	.cosmos-life-food li {
		padding: 12px 14px 12px 54px;
	}

	.cosmos-life-food li::before {
		left: 12px;
	}

	.cosmos-life-food b {
		font-size: 20px;
		line-height: 1.4;
		margin-bottom: 10px;
	}

	.cosmos-life-day-photo {
		width: calc(100% - 40px);
	}

	.cosmos-life-day-photo img {
		border-width: 8px;
		outline-offset: 8px;
	}

	.cosmos-life-timeline::before {
		left: 7px;
	}

	.cosmos-life-timeline li {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		margin-left: 32px;
		padding: 16px 18px;
		border-radius: 18px;
	}

	.cosmos-life-timeline li::before {
		top: 20px;
		left: -34px;
		width: 20px;
		height: 20px;
	}

	.cosmos-life-time {
		font-size: 24px;
	}

	.cosmos-life-timeline h3 {
		font-size: 20px;
	}

	.cosmos-life-slider-track {
		--w: 74vw;
		gap: 16px;
		padding-top: 28px;
		padding-bottom: 36px;
	}

	.cosmos-life-slide {
		padding: 10px 10px 44px;
		border-radius: 20px;
	}

	.cosmos-life-slide::after {
		bottom: 14px;
		font-size: 15px;
	}

	.cosmos-life-slider-nav {
		gap: 14px;
	}

	.cosmos-life-slider-btn {
		width: 46px;
		height: 46px;
	}

	.cosmos-life-slider-dots {
		gap: 7px;
	}

	.cosmos-life-slider-dots button {
		width: 10px;
		height: 10px;
	}

	.cosmos-life-slider-dots button.is-active {
		width: 24px;
	}
}

@media (max-width: 767.98px) {
    .page-template-page-palm-cosmos-life .cosmos-page-hero-palm {
        top: 40px;
        right: 0;
        bottom: auto;
        width: 30%;
    }
}
.page-template-page-palm-cosmos-life .cosmos-page-hero-palm {
    position: absolute;
    right: -3%;
    bottom: inherit;
    top: 10%;
    width: 30%;
    transform-origin: 50% 100%;
 }
@media (min-width: 1200px) {
	.page-template-page-palm-cosmos-life .cosmos-page-hero-palm {
		top: -5%;
		width: 32%;
		right: -1%;
	}
}
@media (max-width: 767.98px) {
    .page-template-page-palm-cosmos-life .cosmos-page-hero-cloud--1 {
        top: 9%;
        left: -15%;
        width: 40%;
        height: 70px;
    }
    .page-template-page-palm-cosmos-life .cosmos-page-hero-cloud--2 {
	    top: 60%;
	    left: 70%;
	    width: 90px;
	    height: 45px;
	    opacity: 0.8;
	    animation-duration: 13s;
	}
}
.page-template-page-palm-cosmos-life .cosmos-page-hero-cloud--1 {
		top: 20%;
		left: 5%;
		width: 30%;
		height: 160px;
}
.page-template-page-palm-cosmos-life .cosmos-page-hero-cloud--2 {
    top: 60%;
    left: 70%;
    width: 130px;
    height: 65px;
    opacity: 0.8;
    animation-duration: 13s;
}

.cosmos-life-cal:nth-child(1) { rotate: -3deg; }
.cosmos-life-cal:nth-child(2) { rotate: 2deg; }
.cosmos-life-cal:nth-child(3) { rotate: -1.5deg; }
.cosmos-life-cal:nth-child(4) { rotate: 3deg; }
.cosmos-life-cal:nth-child(5) { rotate: 1.5deg; }
.cosmos-life-cal:nth-child(6) { rotate: -2.5deg; }
.cosmos-life-cal:nth-child(7) { rotate: 2.5deg; }
.cosmos-life-cal:nth-child(8) { rotate: -1deg; }
.cosmos-life-cal:nth-child(9) { rotate: -2deg; }
.cosmos-life-cal:nth-child(10) { rotate: 3deg; }
.cosmos-life-cal:nth-child(11) { rotate: -3deg; }
.cosmos-life-cal:nth-child(12) { rotate: 1deg; }

.page-template-page-palm-cosmos-life .cosmos-about-sec.cosmos-life-gallery {
    background-color: #97dfff;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 2px, transparent 2.5px);
}

.page-template-page-palm-cosmos-life .cosmos-footer::before {
    background-color: #97dfff;
}




/* =========================================================
	COSMOS ACCESS
========================================================= */
.cosmos-access {
	--sky-tint: color-mix(in srgb, var(--cosmosskyblue) 40%, #fff);
}

.page-template-page-palm-cosmos-access .cosmos-page-hero::after {
    background-color: var(--cosmosgreen);
}
.page-template-page-palm-cosmos-access .cosmos-about-sec.cosmos-acc-routes::before {
	background-color: var(--cosmosgreen);
}

.cosmos-acc-map {
	background-color: var(--cosmosgreen);
	background-image: radial-gradient(circle, rgba(253, 208, 0, 0.6) 2px, transparent 2.5px), radial-gradient(circle, rgba(143, 195, 31, 0.6) 2px, transparent 2.5px);
}

/* ---------- MAP ---------- */
.cosmos-acc-map::before {
	display: none;
}

.cosmos-acc-map-frame {
	position: relative;
	margin: 0 auto;
	padding: 10px;
	background-color: #fff;
	border-radius: 40px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosaomidori) 100%, #fff);
}

.cosmos-acc-map-frame iframe {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
	border-radius: 30px;
}

.cosmos-acc-pin {
	position: absolute;
	top: -34px;
	left: calc(50% - 30px);
	z-index: 1;
	width: 60px;
	height: 60px;
	animation: cosmosAccPin 1.8s ease-in-out infinite;
}

.cosmos-acc-pin::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--cosmospink);
	border: 4px solid #fff;
	border-radius: 50% 50% 50% 0;
	rotate: -45deg;
}

.cosmos-acc-pin::after {
	content: "";
	position: absolute;
	top: 19px;
	left: 19px;
	width: 22px;
	height: 22px;
	background-color: #fff;
	border-radius: 50%;
}

.cosmos-acc-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 44px auto 0;
}
@media (min-width: 1200px) {
	.cosmos-acc-info {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cosmos-acc-info > div {
	position: relative;
	padding: 20px 20px 20px 100px;
	--c: var(--cosmosgreen);
	background-color: #fff;
	border: 3px solid color-mix(in srgb, var(--c) 50%, #fff);
	border-radius: 26px;
}
@media (min-width: 1200px) {
	.cosmos-acc-info > div {
		padding: 20px 20px 20px 130px;
	}
}

.cosmos-acc-info > div.is-wide {
	grid-column: 1 / -1;
}

.cosmos-acc-info > div:nth-child(2) {
	--c: var(--cosmosyellow);
}

.cosmos-acc-info > div:nth-child(3) {
	--c: var(--cosmosskyblue);
}

.cosmos-acc-info > div:nth-child(4) {
	--c: var(--cosmospink);
}

.cosmos-acc-info dt {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.cosmos-acc-info dt img {
	position: absolute;
	top: calc(50% - 28px);
	left: 26px;
	width: 56px;
	height: 56px;
	object-fit: contain;
}
@media (min-width: 1200px) {
	.cosmos-acc-info dt img {
		top: calc(50% - 40px);
		width: 80px;
		height: 80px;
	}
}

.cosmos-acc-info dt span {
	padding: 3px 16px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	background-color: color-mix(in srgb, var(--c) 45%, #fff);
	border-radius: 999px;
}

.cosmos-acc-info dd {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
}

.cosmos-acc-info a {
	color: var(--cosmosorange);
	font-family: "Chewy", cursive;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.cosmos-acc-map-btn {
	margin: 40px 0 0;
	text-align: center;
}

/* ---------- ROUTES ---------- */
.cosmos-acc-routes {
	--wave: var(--cosmos-cream);
	background-color: var(--sky-tint);
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.85) 2px, transparent 2.5px);
	background-size: 30px 30px;
}

.cosmos-acc-route-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	margin: 0 auto;
}

.cosmos-acc-route {
	--c: var(--cosmosorange);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #fff;
	border-radius: 36px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosskyblue) 70%, #fff);
}

.cosmos-acc-route.is-bus {
	--c: var(--cosmosaomidori);
}

.cosmos-acc-route-body {
	flex: 1;
	padding: 36px 36px 28px;
}

.cosmos-acc-route-en {
	margin: 0 0 4px;
	color: var(--c);
	font-family: "Chewy", cursive;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0.12em;
}

.cosmos-acc-route-title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
}

.cosmos-acc-route-body > p:last-child {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
}

.cosmos-acc-road {
	position: relative;
	container-type: inline-size;
	height: 92px;
	background:
		linear-gradient(var(--cosmosgreen), var(--cosmosgreen)) 0 0 / 100% 22px no-repeat,
		repeating-linear-gradient(90deg, var(--cosmosyellow) 0 26px, transparent 26px 50px) 0 64px / 100% 4px no-repeat,
		#6e6b6b;
}

.cosmos-acc-vehicle {
	position: absolute;
	bottom: 26px;
	left: 0;
	width: 120px;
	height: auto;
	animation: cosmosAccDrive 9s linear infinite;
}

.cosmos-acc-route.is-bus .cosmos-acc-vehicle {
	width: 140px;
	animation-duration: 12s;
	animation-delay: -4s;
}

/* ---------- PARKING ---------- */
.cosmos-acc-parking {
	--wave: var(--sky-tint);
}

.cosmos-acc-parking-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	margin: 0 auto;
}

.cosmos-acc-park {
	position: relative;
	margin: 0;
	padding: 12px 12px 0;
	background-color: #fff;
	border-radius: 32px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosblue) 30%, #fff);
}

.cosmos-acc-park:nth-child(2) {
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosgreen) 40%, #fff);
}

.cosmos-acc-park img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background-color: var(--sky-tint);
	border-radius: 22px;
}

.cosmos-acc-park figcaption {
	padding: 18px 10px 22px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.cosmos-acc-park-sign {
	position: absolute;
	top: -22px;
	left: -14px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 90px;
	height: 90px;
	color: #fff;
	font-family: "Arial Black", "M PLUS Rounded 1c", sans-serif;
	font-size: 48px;
	font-weight: 900;
	line-height: 1;
	background-color: var(--cosmosblue);
	border: 3px solid #fff;
	border-radius: 50%;
	rotate: -6deg;
}

.cosmos-acc-park-sign::before {
	content: "";
	position: absolute;
	top: 100%;
	left: calc(50% - 3px);
	width: 6px;
	height: 8px;
	background-color: #a9a9a9;
}

.cosmos-acc-park:nth-child(2) .cosmos-acc-park-sign {
	rotate: 6deg;
}

.cosmos-acc-park-sign b {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	padding: 3px 10px;
	color: var(--cosmosblue);
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	white-space: nowrap;
	background-color: #fff;
	border: 2px solid var(--cosmosblue);
	border-radius: 6px;
	translate: -50% 0;
}

/* ---------- KEYFRAMES ---------- */
@keyframes cosmosAccPin {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes cosmosAccDrive {
	from {
		translate: -150px 0;
	}
	to {
		translate: calc(100cqw + 20px) 0;
	}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
	.cosmos-acc-info {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cosmos-acc-info > div:nth-child(4) {
		grid-column: 1 / -1;
	}

	.cosmos-acc-route-grid,
	.cosmos-acc-parking-grid {
		gap: 24px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-acc-map-frame {
		padding: 8px;
		border-radius: 28px;
	}

	.cosmos-acc-map-frame iframe {
		aspect-ratio: 3 / 3;
		border-radius: 20px;
	}

	.cosmos-acc-pin {
		top: -28px;
		left: calc(50% - 24px);
		width: 48px;
		height: 48px;
	}

	.cosmos-acc-pin::after {
		top: 15px;
		left: 15px;
		width: 18px;
		height: 18px;
	}

	.cosmos-acc-info {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		margin-top: 32px;
	}

	.cosmos-acc-info > div {
		position: relative;
		padding: 20px 20px 20px 100px;
		--c: var(--cosmosgreen);
		background-color: #fff;
		border: 3px solid color-mix(in srgb, var(--c) 50%, #fff);
		border-radius: 26px;
	}

	.cosmos-acc-info dd {
		font-size: 16px;
	}

	.cosmos-acc-route-grid,
	.cosmos-acc-parking-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cosmos-acc-parking-grid {
		gap: 48px;
	}

	.cosmos-acc-route {
		border-radius: 28px;
	}

	.cosmos-acc-route-body {
		padding: 28px 22px 22px;
	}

	.cosmos-acc-route-title {
		font-size: 20px;
	}

	.cosmos-acc-route-body > p:last-child {
		font-size: 14px;
	}

	.cosmos-acc-park {
		padding: 10px 10px 0;
		border-radius: 26px;
	}

	.cosmos-acc-park img {
		border-radius: 18px;
	}

	.cosmos-acc-park figcaption {
		padding: 14px 10px 18px;
		font-size: 17px;
	}

	.cosmos-acc-park-sign {
		top: -18px;
		left: -8px;
		width: 62px;
		height: 62px;
		font-size: 32px;
	}

	.cosmos-acc-park-sign b {
		font-size: 13px;
	}
}


.page-template-page-palm-cosmos-access .cosmos-page-hero-palm {
	top: 22%;
	right: -3%;
	bottom: auto;
	width: 40%;
	z-index: 10;
}
@media (min-width: 768px) {
	.page-template-page-palm-cosmos-access .cosmos-page-hero-palm {
		bottom: inherit;
		top: 3%;
		width: 30%;
	}
}
@media (min-width: 992px) {
	.page-template-page-palm-cosmos-access .cosmos-page-hero-palm {
		z-index: 1000;
		top: 1%;
	}
}

.page-template-page-palm-cosmos-access .cosmos-page-hero-cloud--1 {
	top: 44%;
	left: -60px;
	width: 60%;
	height: 100px;
}
.page-template-page-palm-cosmos-access .cosmos-page-hero-cloud--2 {
	top: 30%;
	left: 80%;
	width: 90px;
	height: 45px;
	opacity: 0.8;
	animation-duration: 6s;
}
@media (min-width: 992px) {
	.page-template-page-palm-cosmos-access .cosmos-page-hero-cloud--1 {
		width: 40%;
		height: 200px;
	}
	.page-template-page-palm-cosmos-access .cosmos-page-hero-cloud--2 {
		width: 20%;
		height: 150px;
	}
}

.cosmos-about-sec.cosmos-acc-parking {
	background-color: var(--cosmosaomidori);
}




/* =========================================================
	COSMOS NEWS LIST
========================================================= */
.cosmos-nl::before {
	display: none;
}

.cosmos-nl .container {
	max-width: 1080px;
}

/* ---------- TABS ---------- */
.cosmos-nl-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.cosmos-nl-tabs a {
	--c: var(--cosmosbrown);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	color: var(--cosmosblack);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	background-color: #fff;
	border: 3px solid color-mix(in srgb, var(--c) 45%, #fff);
	border-radius: 999px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cosmos-nl-tabs a::before {
	content: "";
	width: 10px;
	height: 10px;
	background-color: var(--c);
	border-radius: 50%;
}

.cosmos-nl-tabs a.is-news,
.cosmos-nl-item.is-news {
	--c: var(--cosmosgreen);
}

.cosmos-nl-tabs a.is-important,
.cosmos-nl-item.is-important {
	--c: var(--cosmosorange);
}

.cosmos-nl-tabs a.is-blog,
.cosmos-nl-item.is-blog {
	--c: var(--cosmosaomidori);
}

.cosmos-nl-tabs a:hover {
	color: var(--cosmosblack);
	transform: translateY(-2px);
}

.cosmos-nl-tabs a.is-current {
	color: #fff;
	background-color: var(--c);
	border-color: var(--c);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 65%, #000);
}

.cosmos-nl-tabs a.is-current::before {
	background-color: #fff;
}

/* ---------- LIST ---------- */
.cosmos-nl-list {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cosmos-nl-item {
	--c: var(--cosmosgreen);
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	padding: 14px 32px 14px 14px;
	color: var(--cosmosblack);
	text-decoration: none;
	background-color: #fff;
	border: 4px solid var(--c);
	border-radius: 32px;
	box-shadow: 0 8px 0 color-mix(in srgb, var(--c) 70%, #fff);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cosmos-nl-item:hover {
	color: var(--cosmosblack);
	transform: translateY(-4px);
	box-shadow: 0 12px 0 color-mix(in srgb, var(--c) 100%, #fff);
}

.cosmos-nl-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background-color: color-mix(in srgb, var(--c) 20%, #fff);
	border-radius: 22px;
}

.cosmos-nl-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 0.5s ease;
}

.cosmos-nl-item:hover .cosmos-nl-thumb img {
	scale: 1.06;
}

.cosmos-nl-body {
	display: grid;
	gap: 14px;
}

.cosmos-nl-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.cosmos-nl-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--cosmosbrown);
	font-family: "Chewy", cursive;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 0.06em;
}

.cosmos-nl-date::before {
	content: "";
	width: 22px;
	height: 22px;
	background: url("../img/palm-cosmos/icon-calendar.svg") center / contain no-repeat;
}

.cosmos-nl-cat {
	padding: 4px 16px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	background-color: var(--c);
	border-radius: 999px;
}

.cosmos-nl-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
}

.cosmos-nl-arrow {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	background-color: color-mix(in srgb, var(--c) 18%, #fff);
	border-radius: 50%;
	transition: background-color 0.3s ease, translate 0.3s ease;
}

.cosmos-nl-arrow::before {
	content: "";
	position: absolute;
	top: calc(50% - 6px);
	left: calc(50% - 8px);
	width: 12px;
	height: 12px;
	border-top: 3px solid var(--c);
	border-right: 3px solid var(--c);
	border-radius: 2px;
	transform: rotate(45deg);
	transition: border-color 0.3s ease;
}

.cosmos-nl-item:hover .cosmos-nl-arrow {
	background-color: var(--c);
	translate: 4px 0;
}

.cosmos-nl-item:hover .cosmos-nl-arrow::before {
	border-color: #fff;
}

.cosmos-nl-empty {
	margin: 0;
	padding: 48px 20px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	background-color: #fff;
	border-radius: 28px;
}

/* ---------- PAGER ---------- */
.cosmos-nl-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 60px;
}

.cosmos-nl-pager .page-numbers {
	display: grid;
	place-items: center;
	min-width: 50px;
	height: 50px;
	padding: 0 6px;
	color: var(--cosmosbrown);
	font-family: "Chewy", cursive;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	background-color: #fff;
	border: 3px solid color-mix(in srgb, var(--cosmosorange) 40%, #fff);
	border-radius: 999px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cosmos-nl-pager a.page-numbers:hover {
	color: var(--cosmosorange);
	transform: translateY(-3px);
}

.cosmos-nl-pager .page-numbers.current {
	color: #fff;
	background-color: var(--cosmosorange);
	border-color: var(--cosmosorange);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.cosmos-nl-pager .page-numbers.dots {
	background: none;
	border: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
	.cosmos-nl-item {
		grid-template-columns: 260px minmax(0, 1fr) auto;
		gap: 22px;
		padding-right: 22px;
	}

	.cosmos-nl-title {
		font-size: 18px;
	}
}

@media (max-width: 767.98px) {
	.cosmos-nl-tabs {
		gap: 8px;
		margin-bottom: 36px;
	}

	.cosmos-nl-tabs a {
		padding: 8px 16px;
		font-size: 13px;
	}

	.cosmos-nl-list {
		gap: 24px;
	}

	.cosmos-nl-item {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 14px 12px;
		padding: 10px 10px 18px;
		border-radius: 26px;
	}

	.cosmos-nl-thumb {
		grid-column: 1 / -1;
		border-radius: 18px;
	}

	.cosmos-nl-body {
		gap: 8px;
		padding-left: 8px;
	}

	.cosmos-nl-date {
		font-size: 17px;
	}

	.cosmos-nl-cat {
		padding: 3px 12px;
		font-size: 12px;
	}

	.cosmos-nl-title {
		font-size: 16px;
	}

	.cosmos-nl-arrow {
		width: 40px;
		height: 40px;
		margin-right: 4px;
	}

	.cosmos-nl-pager {
		gap: 8px;
		margin-top: 44px;
	}

	.cosmos-nl-pager .page-numbers {
		min-width: 42px;
		height: 42px;
		font-size: 17px;
	}
}

.cosmos-about-sec.cosmos-nl {
	background-color: var(--cosmosyellow);
}
.page-template-page-palm-cosmos-news .cosmos-page-hero::after,
.page-template-page-palm-cosmos-news .cosmos-footer::before {
	background-color: var(--cosmosyellow);
}
@media (max-width: 767.98px) {
    .page-template-page-palm-cosmos-news .cosmos-page-hero-palm {
    	  top: inherit;
        bottom: 0;
        right: 0;
        width: 25%;
        z-index:10;
    }
}
.page-template-page-palm-cosmos-news .cosmos-page-hero-palm,
.single-format-standard .cosmos-page-hero-palm  {
    right:1%;
    top: inherit;
    bottom: 1%;
    width: 20%;
    animation: cosmosAboutSway 4s ease-in-out infinite;
    z-index:10;
}
@media (min-width: 1400px) {
	.page-template-page-palm-cosmos-news .cosmos-page-hero-palm,
	.single-format-standard .cosmos-page-hero-palm  {
		width: 24%;
	}
}

.page-template-page-palm-cosmos-news .cosmos-page-hero-cloud--1,
.single-format-standard .cosmos-page-hero-cloud--1 {
  top: 0%;
  left: -5%;
  width: 30%;
  max-width: 250px;
  height: 200px;
}
.page-template-page-palm-cosmos-news .cosmos-page-hero-cloud--2,
.single-format-standard .cosmos-page-hero-cloud--2 {
  top: 40%;
  left: 15%;
  width: 15%;
  max-width: 200px;
  height: 150px;
}



/* =========================================================
	COSMOS CONTACT PAGE
========================================================= */
.cosmos-ct-sec::before {
	display: none;
}

.cosmos-ct-inner {
	max-width: 880px;
	margin: 0 auto;
	scroll-margin-top: 120px;
}

/* ---------- STEPS ---------- */
.cosmos-ct-steps {
	display: flex;
	justify-content: center;
	gap: 56px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.cosmos-ct-steps li {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	color: color-mix(in srgb, #fff 70%, #fff);
	font-size: 14px;
	font-weight: 700;
}

.cosmos-ct-steps li + li::before {
	content: "";
	position: absolute;
	top: 26px;
	right: calc(100% + 6px);
	width: 54px;
	border-top: 4px dotted color-mix(in srgb, var(--cosmosorange) 40%, #fff);
}

.cosmos-ct-steps span {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	color: var(--cosmosorange);
	font-family: "Chewy", cursive;
	font-size: 24px;
	line-height: 1;
	background-color: #fff;
	border: 3px solid color-mix(in srgb, var(--cosmosorange) 40%, #fff);
	border-radius: 50%;
}

.cosmos-ct-steps li.is-current {
	color: var(--cosmosyellow);
}

.cosmos-ct-steps li.is-current span {
	color: #fff;
	background-color: var(--cosmosorange);
	border-color: var(--cosmosorange);
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

.cosmos-ct-steps li.is-done span {
	color: #fff;
	background-color: var(--cosmosgreen);
	border-color: var(--cosmosgreen);
}

/* ---------- TEL ---------- */
.cosmos-ct-tel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	margin-bottom: 48px;
	padding: 30px 32px;
	background-color: color-mix(in srgb, var(--cosmosyellow) 25%, #fff);
	border: 3px dashed var(--cosmosyellow);
	border-radius: 32px;
}

.cosmos-ct-tel-icon {
	flex-shrink: 0;
	width: 72px;
	height: auto;
	animation: cosmosCtRing 3s ease-in-out infinite;
}
@media (min-width: 768px) {
	.cosmos-ct-tel-icon {
		margin: 0;
	}
}

.cosmos-ct-tel p {
	margin: 0;
}

.cosmos-ct-tel-lead {
	font-size: 16px;
	font-weight: 700;
}

.cosmos-ct-tel-num a {
	color: var(--cosmosorange);
	font-family: "Chewy", cursive;
	font-size: 44px;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.cosmos-ct-tel-time {
	font-size: 13px;
}

/* ---------- FORM CARD ---------- */
.cosmos-ct-card {
	padding: 24px 48px 48px;
	background-color: #fff;
	border-radius: 40px;
	box-shadow: 0 10px 0 color-mix(in srgb, var(--cosmosskyblue) 60%, #fff);
}

.cosmos-ct-card .wpcf7 form > p:empty,
.cosmos-ct-card .wpcf7-form > br {
	display: none;
}

.cosmos-ct-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin: 0;
	padding: 24px 0;
	border-bottom: 3px dotted color-mix(in srgb, var(--cosmosgreen) 40%, #fff);
}

.cosmos-ct-row:has(textarea) {
	align-items: start;
}

.cosmos-ct-row dt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.cosmos-ct-row dd {
	margin: 0;
}

.cosmos-ct-req {
	padding: 2px 10px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	background-color: var(--cosmospink);
	border-radius: 999px;
}

.cosmos-ct-row .wpcf7-form-control-wrap {
	display: block;
}

.cosmos-ct-row input[type="text"],
.cosmos-ct-row input[type="email"],
.cosmos-ct-row input[type="tel"],
.cosmos-ct-row select,
.cosmos-ct-row textarea {
	display: block;
	width: 100%;
	padding: 14px 20px;
	color: var(--cosmosblack);
	font: inherit;
	font-size: 16px;
	line-height: 1.6;
	background-color: var(--cosmos-cream);
	border: 3px solid color-mix(in srgb, var(--cosmosskyblue) 70%, #fff);
	border-radius: 18px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	appearance: none;
}

.cosmos-ct-row textarea {
	min-height: 200px;
	resize: vertical;
}

.cosmos-ct-row select {
	padding-right: 52px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M2 2L7 7L12 2' fill='none' stroke='%23f08300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 20px center / 14px 9px no-repeat,
		var(--cosmos-cream);
	cursor: pointer;
}

.cosmos-ct-row ::placeholder {
	color: color-mix(in srgb, var(--cosmosblack) 45%, #fff);
}

.cosmos-ct-row input:focus,
.cosmos-ct-row select:focus,
.cosmos-ct-row textarea:focus {
	background-color: #fff;
	border-color: var(--cosmosorange);
	outline: 0;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--cosmosorange) 20%, transparent);
}

.cosmos-ct-row.is-error input,
.cosmos-ct-row.is-error select,
.cosmos-ct-row.is-error textarea {
	background-color: color-mix(in srgb, var(--cosmospink) 12%, #fff);
	border-color: var(--cosmospink);
}

.cosmos-ct-help {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.6;
}

.cosmos-ct-error,
.cosmos-ct-row .wpcf7-not-valid-tip {
	display: block;
	margin-top: 8px;
	color: #e05a59;
	font-size: 13px;
	font-weight: 700;
}

.cosmos-ct-row .wpcf7-list-item {
	margin: 0;
}

.cosmos-ct-row .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.cosmos-ct-row input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin: 0;
	accent-color: var(--cosmosorange);
	cursor: pointer;
}

.cosmos-ct-row a,
.cosmos-ct-note a {
	color: var(--cosmosaomidori);
	font-weight: 700;
}

/* ---------- CONFIRM ---------- */
.cosmos-ct-confirm {
	display: none;
}

.cosmos-ct-form.is-confirm .cosmos-ct-row {
	display: none;
}

.cosmos-ct-form.is-confirm .cosmos-ct-confirm {
	display: block;
	padding-top: 24px;
}

.cosmos-ct-confirm-lead {
	margin: 0 0 20px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	background-color: color-mix(in srgb, var(--cosmosgreen) 15%, #fff);
	border-radius: 999px;
}

.cosmos-ct-confirm dl {
	margin: 0;
}

.cosmos-ct-confirm dl > div {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	padding: 18px 0;
	border-bottom: 3px dotted color-mix(in srgb, var(--cosmosgreen) 40%, #fff);
}

.cosmos-ct-confirm dt {
	font-size: 15px;
	font-weight: 700;
}

.cosmos-ct-confirm dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	word-break: break-word;
}

/* ---------- ACTIONS ---------- */
.cosmos-ct-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 20px;
	margin-top: 40px;
}

.cosmos-ct-back,
.cosmos-ct-form .cosmos-ct-send,
.cosmos-ct-form.is-confirm .cosmos-ct-to-confirm {
	display: none;
}

.cosmos-ct-form.is-confirm .cosmos-ct-back,
.cosmos-ct-form.is-confirm .cosmos-ct-send {
	display: inline-flex;
}

.cosmos-ct-to-confirm,
.cosmos-ct-send {
	font-family: inherit;
	cursor: pointer;
}

.cosmos-ct-back {
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 60px;
	padding: 14px 30px;
	color: var(--cosmosorange);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	background-color: #fff;
	border: 3px solid var(--cosmosorange);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.cosmos-ct-back:hover {
	background-color: color-mix(in srgb, var(--cosmosorange) 10%, #fff);
}

.cosmos-ct-card .wpcf7-spinner {
	display: none;
}

.cosmos-ct-card .submitting .wpcf7-spinner {
	display: inline-block;
}

.cosmos-ct-note {
	margin: 24px 0 0;
	font-size: 13px;
	line-height: 1.8;
	text-align: center;
}

.cosmos-ct-card .wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	border: 3px solid var(--cosmospink);
	border-radius: 18px;
}

/* ---------- THANKS ---------- */
.cosmos-ct-thanks {
	padding: 56px 48px;
	text-align: center;
}

.cosmos-ct-thanks-icon {
	width: 110px;
	margin: 0 auto 10px;
	transform-origin: 50% 100%;
	animation: cosmosAboutSway 4s ease-in-out infinite;
}

.cosmos-ct-thanks-en {
	margin: 0;
	color: var(--cosmospink);
	font-family: "Chewy", cursive;
	font-size: 34px;
	line-height: 1.2;
	letter-spacing: 0.06em;
}

.cosmos-ct-thanks-title {
	margin: 8px 0 18px;
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.6;
}

.cosmos-ct-thanks > p:not([class]) {
	margin: 0 0 36px;
	font-size: 15px;
	line-height: 2;
}

/* ---------- KEYFRAMES ---------- */
@keyframes cosmosCtRing {
	0%,
	70%,
	100% {
		transform: rotate(0);
	}
	75%,
	85%,
	95% {
		transform: rotate(-12deg);
	}
	80%,
	90% {
		transform: rotate(12deg);
	}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767.98px) {
	.cosmos-ct-steps {
		gap: 36px;
		margin-bottom: 36px;
	}

	.cosmos-ct-steps li + li::before {
		top: 22px;
		width: 34px;
	}

	.cosmos-ct-steps span {
		width: 48px;
		height: 48px;
		font-size: 20px;
	}

	.cosmos-ct-tel {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 36px;
		padding: 24px 18px;
		text-align: center;
		border-radius: 26px;
	}

	.cosmos-ct-tel-icon {
		width: 56px;
	}

	.cosmos-ct-tel-num a {
		font-size: 34px;
	}

	.cosmos-ct-card {
		padding: 8px 20px 32px;
		border-radius: 28px;
	}

	.cosmos-ct-row,
	.cosmos-ct-confirm dl > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 20px 0;
	}

	.cosmos-ct-row dt {
		font-size: 15px;
	}

	.cosmos-ct-row input[type="text"],
	.cosmos-ct-row input[type="email"],
	.cosmos-ct-row input[type="tel"],
	.cosmos-ct-row select,
	.cosmos-ct-row textarea {
		padding: 12px 16px;
		border-radius: 14px;
	}

	.cosmos-ct-confirm-lead {
		font-size: 13px;
		border-radius: 18px;
	}

	.cosmos-ct-actions {
		flex-direction: column;
	}

	.cosmos-ct-actions > * {
		width: 100%;
		max-width: 320px;
	}

	.cosmos-ct-form.is-confirm .cosmos-ct-actions {
		flex-direction: column-reverse;
	}

	.cosmos-ct-thanks {
		padding: 40px 20px;
	}

	.cosmos-ct-thanks-icon {
		width: 84px;
	}

	.cosmos-ct-thanks-en {
		font-size: 28px;
	}

	.cosmos-ct-thanks > p:not([class]) {
		font-size: 14px;
		text-align: left;
	}
}


.cosmos-about-sec.cosmos-ct-sec {
    background-color: var(--cosmosaomidori);
}
.page-template-page-palm-cosmos-contact .cosmos-page-hero::after,
.page-template-page-palm-cosmos-contact .cosmos-footer::before {
	background-color: var(--cosmosaomidori);
}
.page-template-page-palm-cosmos-contact .cosmos-page-hero-palm2 {
	position: absolute;
    left: 5%;
    top: 10%;
    width: clamp(120px, 18vw, 300px);
    transform-origin: 50% 100%;
    animation: cosmosBoyJump 1.1s cubic-bezier(0.22, 1, 0.36, 1) both, cosmosBoyHop 1.1s ease-in-out 1.1s infinite;
    z-index: 20;
}
.page-template-page-palm-cosmos-contact .cosmos-page-hero-palm1 {
	position: absolute;
    right: 5%;
    top: 20%;
    width: clamp(120px, 18vw, 300px);
    transform-origin: 50% 100%;
    animation: cosmosGirlJump 1.1s cubic-bezier(0.22, 1, 0.36, 1) both, cosmosBoyHop 1.4s ease-in-out 1.5s infinite;
    z-index: 20;
}
@media (min-width: 992px) {
	.page-template-page-palm-cosmos-contact .cosmos-page-hero-palm2 {
		top: 40%;
	}
	.page-template-page-palm-cosmos-contact .cosmos-page-hero-palm1 {
		top: 50%;
	}
}
.page-template-page-palm-cosmos-contact .cosmos-page-hero {
	overflow: visible;
}


.page-template-page-palm-cosmos-contact .cosmos-page-hero-cloud--1 {
  top: 0%;
  left: inherit;
  right:10%;
  width: 30%;
  max-width: 200px;
  height: 200px;
}
.page-template-page-palm-cosmos-contact .cosmos-page-hero-cloud--2 {
  top: 20%;
  left: 15%;
  width: 15%;
  max-width: 150px;
  height: 150px;
}


/* 投稿ページ */
/* =========================================================
	COSMOS SINGLE
========================================================= */
.cosmos-single-section::before {
	display: none;
}

.cosmos-single-article {
	--c: var(--cosmosgreen);
	position: relative;
	margin: 0 auto;
	padding: 64px 64px 56px;
	background-color: #fff;
	border: 4px solid var(--c);
	border-radius: 44px;
	box-shadow: 0 12px 0 color-mix(in srgb, var(--c) 40%, #fff);
}

.cosmos-single-article.is-important {
	--c: var(--cosmosorange);
}

.cosmos-single-article.is-blog {
	--c: var(--cosmosaomidori);
}

.cosmos-single-article::before {
	content: "";
	position: absolute;
	top: -20px;
	left: calc(50% - 70px);
	width: 140px;
	height: 34px;
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.55) 0 6px, transparent 6px 12px),
		color-mix(in srgb, var(--c) 75%, transparent);
	clip-path: polygon(0 0, 100% 0, 97% 20%, 100% 40%, 97% 60%, 100% 80%, 97% 100%, 0 100%, 3% 80%, 0 60%, 3% 40%, 0 20%);
	rotate: -3deg;
}

/* ---------- META & TITLE ---------- */
.cosmos-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.cosmos-single-meta time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--cosmosbrown);
	font-family: "Chewy", cursive;
	font-size: 22px;
	line-height: 1;
	letter-spacing: 0.06em;
}

.cosmos-single-meta time::before {
	content: "";
	width: 24px;
	height: 24px;
	background: url("../img/palm-cosmos/icon-calendar.svg") center / contain no-repeat;
}

.cosmos-single-cat {
	padding: 4px 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	background-color: var(--c);
	border-radius: 999px;
}

.cosmos-single-title {
	margin: 0 0 36px;
	padding-bottom: 24px;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;
	background: radial-gradient(circle, color-mix(in srgb, var(--c) 60%, #fff) 3px, transparent 3.5px) left bottom / 14px 8px repeat-x;
}

.cosmos-single-thumbnail {
	position: relative;
	margin: 0 0 44px;
}

.cosmos-single-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 12px 12px 0 color-mix(in srgb, var(--c) 30%, #fff);
}

/* ---------- CONTENT ---------- */
.cosmos-single-content {
	font-size: 16px;
	line-height: 2;
	word-break: break-word;
}

.cosmos-single-content > * {
	margin-top: 0;
	margin-bottom: 1.6em;
}

.cosmos-single-content > *:last-child {
	margin-bottom: 0;
}

.cosmos-single-content h2 {
	position: relative;
	margin-top: 2.4em;
	padding: 14px 24px 14px 56px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
	background-color: color-mix(in srgb, var(--c) 14%, #fff);
	border-radius: 20px;
}

.cosmos-single-content h2::before {
	content: "";
	position: absolute;
	top: calc(50% - 12px);
	left: 20px;
	width: 24px;
	height: 24px;
	background: url("../img/palm-cosmos/cosmos-logomark.svg") center / contain no-repeat;
}

.cosmos-single-content h3 {
	margin-top: 2em;
	padding-bottom: 10px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.6;
	border-bottom: 3px dashed color-mix(in srgb, var(--c) 50%, #fff);
}

.cosmos-single-content h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 1.8em;
	font-size: 17px;
	font-weight: 700;
}

.cosmos-single-content h4::before {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	background-color: var(--cosmosyellow);
	border-radius: 50%;
}

.cosmos-single-content a {
	color: var(--cosmosorange);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.cosmos-single-content a:hover {
	text-decoration-style: wavy;
}

.cosmos-single-content strong {
	background: linear-gradient(transparent 62%, color-mix(in srgb, var(--cosmosyellow) 55%, transparent) 62%);
}

.cosmos-single-content ul,
.cosmos-single-content ol {
	padding: 22px 28px;
	list-style: none;
	background-color: var(--cosmos-cream);
	border-radius: 22px;
}

.cosmos-single-content li {
	position: relative;
	padding-left: 1.8em;
}

.cosmos-single-content li + li {
	margin-top: 6px;
}

.cosmos-single-content ul > li::before {
	content: "";
	position: absolute;
	top: 0.75em;
	left: 0.3em;
	width: 10px;
	height: 10px;
	background-color: var(--c);
	border-radius: 50%;
}

.cosmos-single-content ol {
	counter-reset: cosmos-ol;
}

.cosmos-single-content ol > li {
	counter-increment: cosmos-ol;
}

.cosmos-single-content ol > li::before {
	content: counter(cosmos-ol);
	position: absolute;
	top: 0.35em;
	left: 0;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	color: #fff;
	font-family: "Chewy", cursive;
	font-size: 14px;
	line-height: 1;
	background-color: var(--c);
	border-radius: 50%;
}

.cosmos-single-content blockquote {
	position: relative;
	margin-right: 0;
	margin-left: 0;
	padding: 28px 32px 24px 64px;
	background-color: color-mix(in srgb, var(--cosmosskyblue) 22%, #fff);
	border: 0;
	border-radius: 24px;
}

.cosmos-single-content blockquote::before {
	content: "“";
	position: absolute;
	top: 6px;
	left: 20px;
	color: var(--cosmosblue);
	font-family: "Chewy", cursive;
	font-size: 64px;
	line-height: 1;
}

.cosmos-single-content blockquote p:last-child {
	margin-bottom: 0;
}

.cosmos-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.cosmos-single-content figure {
	margin-right: 0;
	margin-left: 0;
}

.cosmos-single-content figcaption {
	margin-top: 8px;
	font-size: 13px;
	text-align: center;
}

.cosmos-single-content table {
	width: 100%;
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	border: 3px solid color-mix(in srgb, var(--c) 40%, #fff);
	border-radius: 18px;
}

.cosmos-single-content th,
.cosmos-single-content td {
	padding: 12px 16px;
	border-bottom: 2px dotted color-mix(in srgb, var(--c) 40%, #fff);
}

.cosmos-single-content tr:last-child > * {
	border-bottom: 0;
}

.cosmos-single-content th {
	font-weight: 700;
	text-align: left;
	background-color: color-mix(in srgb, var(--c) 14%, #fff);
}

.cosmos-single-content hr {
	height: 8px;
	border: 0;
	background: radial-gradient(circle, color-mix(in srgb, var(--c) 50%, #fff) 3px, transparent 3.5px) center / 14px 8px repeat-x;
}

.cosmos-single-content .wp-block-button__link {
	padding: 12px 32px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	background-color: var(--cosmosorange);
	border-radius: 999px;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--cosmosorange) 70%, #000);
}

/* ---------- NAV ---------- */
.cosmos-single-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	margin-top: 56px;
	padding-top: 40px;
	background: radial-gradient(circle, color-mix(in srgb, var(--c) 60%, #fff) 3px, transparent 3.5px) left top / 14px 8px repeat-x;
}

.cosmos-single-nav-next {
	text-align: right;
}

.cosmos-single-nav-prev a,
.cosmos-single-nav-next a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	color: var(--cosmosblack);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	background-color: #fff;
	border: 3px solid color-mix(in srgb, var(--c) 50%, #fff);
	border-radius: 999px;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.cosmos-single-nav-prev a:hover,
.cosmos-single-nav-next a:hover {
	color: var(--cosmosblack);
	background-color: color-mix(in srgb, var(--c) 15%, #fff);
}

.cosmos-single-nav-prev a:hover {
	transform: translateX(-3px);
}

.cosmos-single-nav-next a:hover {
	transform: translateX(3px);
}

.cosmos-single-nav-prev span,
.cosmos-single-nav-next span {
	color: var(--c);
	font-size: 16px;
}

.cosmos-single-nav-list .btn-cosmos {
	min-width: 220px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767.98px) {
	.cosmos-single-article {
		padding: 44px 20px 36px;
		border-radius: 30px;
	}

	.cosmos-single-meta time {
		font-size: 19px;
	}

	.cosmos-single-title {
		margin-bottom: 28px;
		padding-bottom: 20px;
	}

	.cosmos-single-thumbnail {
		margin-bottom: 32px;
	}

	.cosmos-single-thumbnail img {
		border-radius: 20px;
		box-shadow: 8px 8px 0 color-mix(in srgb, var(--c) 30%, #fff);
	}

	.cosmos-single-content {
		font-size: 15px;
		line-height: 1.9;
	}

	.cosmos-single-content h2 {
		padding: 12px 16px 12px 48px;
		font-size: 19px;
		border-radius: 16px;
	}

	.cosmos-single-content h2::before {
		left: 16px;
		width: 22px;
		height: 22px;
	}

	.cosmos-single-content h3 {
		font-size: 17px;
	}

	.cosmos-single-content ul,
	.cosmos-single-content ol {
		padding: 18px 18px;
	}

	.cosmos-single-content blockquote {
		padding: 24px 20px 20px 52px;
	}

	.cosmos-single-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		margin-top: 44px;
		padding-top: 32px;
	}

	.cosmos-single-nav-list {
		grid-column: 1 / -1;
		order: 3;
		text-align: center;
	}

	.cosmos-single-nav-prev a,
	.cosmos-single-nav-next a {
		padding: 8px 14px;
		font-size: 13px;
	}
}

.single-format-standard .cosmos-footer::before {
	background-color: var(--cosmos-cream);
}


/* ===== COSMOS PHOTO FX ===== */
.js-cosmos-photo .cosmos-photo-pop,
.js-cosmos-photo .cosmos-photo-swing,
.js-cosmos-photo .cosmos-photo-drop,
.js-cosmos-photo .cosmos-photo-jelly {
	opacity: 0;
}

.js-cosmos-photo .cosmos-photo-circle {
	clip-path: circle(0% at 50% 50%);
}

.js-cosmos-photo .cosmos-photo-wipe {
	clip-path: inset(0 100% 0 0 round 24px);
}

.cosmos-photo-pop.is-show {
	animation: cosmosPhotoPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0s) both;
}

.cosmos-photo-swing.is-show {
	transform-origin: 50% 0;
	animation: cosmosPhotoSwing 1.2s ease-out var(--delay, 0s) both;
}

.cosmos-photo-drop.is-show {
	animation: cosmosPhotoDrop 1s ease-out var(--delay, 0s) both;
}

.cosmos-photo-jelly.is-show {
	animation: cosmosPhotoJelly 0.9s ease-out var(--delay, 0s) both;
}

.cosmos-photo-circle.is-show {
	animation: cosmosPhotoCircle 1s cubic-bezier(0.65, 0, 0.35, 1) var(--delay, 0s) both;
}

.cosmos-photo-wipe.is-show {
	animation: cosmosPhotoWipe 0.9s cubic-bezier(0.65, 0, 0.35, 1) var(--delay, 0s) both;
}

@keyframes cosmosPhotoPop {
	0% {
		opacity: 0;
		transform: scale(0.3) rotate(-8deg);
	}
	60% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		transform: scale(1) rotate(0);
	}
}

@keyframes cosmosPhotoSwing {
	0% {
		opacity: 0;
		transform: translateY(-30px) rotate(-14deg);
	}
	30% {
		opacity: 1;
		transform: translateY(0) rotate(9deg);
	}
	55% {
		transform: rotate(-5deg);
	}
	75% {
		transform: rotate(2deg);
	}
	100% {
		opacity: 1;
		transform: rotate(0);
	}
}

@keyframes cosmosPhotoDrop {
	0% {
		opacity: 0;
		transform: translateY(-120px) rotate(-6deg);
	}
	45% {
		opacity: 1;
		transform: translateY(0) rotate(0) scale(1.06, 0.92);
	}
	62% {
		transform: translateY(-24px) scale(0.98, 1.03);
	}
	80% {
		transform: translateY(0) scale(1.02, 0.98);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes cosmosPhotoJelly {
	0% {
		opacity: 0;
		transform: scale(0.6);
	}
	35% {
		opacity: 1;
		transform: scale(1.12, 0.88);
	}
	55% {
		transform: scale(0.92, 1.08);
	}
	72% {
		transform: scale(1.04, 0.96);
	}
	88% {
		transform: scale(0.98, 1.02);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes cosmosPhotoCircle {
	from {
		clip-path: circle(0% at 50% 50%);
	}
	to {
		clip-path: circle(75% at 50% 50%);
	}
}

@keyframes cosmosPhotoWipe {
	from {
		clip-path: inset(0 100% 0 0 round 24px);
	}
	to {
		clip-path: inset(0 0 0 0 round 24px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.js-cosmos-photo [class*="cosmos-photo-"] {
		opacity: 1;
		clip-path: none;
		animation: none !important;
	}
}
