/*
	Theme Name: Mymory
	Description: &copy; Nuttycode Inc. All rights reserved.
	Author: Nuttycode Inc.
	Author URI: https://nuttyco.de
	Version: 1.0.0
	Text Domain: mymory
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

@font-face {
  font-family: 'Nutty Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/NuttySans.woff') format('woff');
}

@font-face {
  font-family: 'Nutty Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/NuttySans-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Nutty Sans JP';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/NuttySansJP.woff') format('woff');
}

@font-face {
  font-family: 'Nutty Sans JP';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/NuttySansJP-Bold.woff') format('woff');
}

:root {	
	--label-primary: #6f625d;
	--label-secondary: #926e5f;
	--label-tertiary: #bdb1b0;
	--accent: #b1dd52;
	--background-primary: #f2f1eb;
	--background-secondary: #fbfbf9;
	
	--ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
	line-height: 1.15;
	width: 100%;
	height: 100%;
	min-height: 100%;
	-webkit-text-size-adjust: 100%;
}

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

body {
	background-color: var(--background-primary);
	color: var(--label-primary);
	margin: 0;
	font-family: 'Nutty Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.428;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	height: 100%;
}

body.dark-theme {
	--label-primary: #e2e2e2;
	--label-secondary: #d2d2d2;
	--label-tertiary: #65615e;
	--accent: #b1dd52;
	--background-primary: #262524;
	--background-secondary: #2f2e2d;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Nutty Sans', sans-serif;
	line-height: 1.2;
	margin: 0;
}

html[lang="ja"] body,
html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4, html[lang="ja"] h5, html[lang="ja"] h6 {
	font-family: 'Nutty Sans JP', sans-serif;
}

h1 {
	font-size: 160px;
	font-weight: 700;
	line-height: 1;
}
h2 {
	font-size: 44px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 14px;
}
p {
	margin: 0;
}

@media (max-width: 1200px) {
	h1 {
		font-size: 120px;
		line-height: 1;
	}
	h2 {
		font-size: 30px;
	}
	h3 {
		font-size: 24px;
	}
	h4 {
		font-size: 18px;
	}
}

@media (max-width: 600px) {
	h1 {
		font-size: 48px;
		line-height: 1.05;
	}
	h3 {
		font-size: 20px;
		line-height: 1.428;
	}
	h4, h5 {
		font-size: 16px;
		line-height: 1.428;
	}
}

ul, ol, li {
	list-style: none;
	padding: 0;
	margin: 0;
}

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

iframe {
	border: none;
	width: 100%;
}


.support .site-main {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 20px 140px;
}

.support .section {
	background-color: var(--background-secondary);
	border-radius: 24px;
}
.support .section + .section {
	margin-top: 20px;
}

.support .section-header {
	margin-top: 28px;
	margin-bottom: 16px;
	padding: 0 12px;
}
.support .section-header h3 {
	font-size: 14px;
	font-weight: 400;
}

.support .version-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
}
.support .version-info .status {
	display: flex;
	align-items: center;
	gap: 10px;
}
.support .version-info .status img {
	width: 28px;
	height: 28px;
}
.support .version-info .version {
	color: var(--label-tertiary);
	font-size: 13px;
	text-align: right;
}

.support .post-list .item + .item {
	border-top: 1px solid var(--background-primary);
}

.support .post-list .item .item-header {
	display: flex;
	flex-direction: column;
	font-size: 16px;
	font-weight: 400;
	padding: 18px 40px 18px 20px;
	cursor: pointer;
	line-height: 1.6;
	position: relative;
	text-transform: none;
}
.support .post-list .item .item-header::after {
	content: '';
	border-top: 1px solid #BDB1B0;
	border-right: 1px solid #BDB1B0;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 30px;
	margin-top: -4px;
	right: 24px;
	transform: rotate(135deg);
}
.support .post-list .item.is-active .item-header::after {
	transform: rotate(-45deg);
	margin-top: 0;
}
.support .post-list .item .item-header .date {
	color: var(--label-tertiary);
	display: none;
	font-size: 12px;
}
.support .post-list .item.is-active .item-header .date {
	display: block;
}

.support .post-list .item .item-content {
	color: var(--label-secondary);
	display: none;
	font-size: 15px;
	line-height: 1.6;
	padding: 0 20px 24px;
}
.support .post-list .item.is-active .item-content {
	display: block;
}
.support .post-list .item .item-content p {
	margin: 0;
}
.support .post-list .item .item-content p + p {
	margin-top: 16px;
}
.support .post-list .item .item-content ul {
	margin: 16px 0;
}
.support .post-list .item .item-content ul li {
	padding-left: 10px;
	position: relative;
}
.support .post-list .item .item-content ul li::before {
	content: '•';
	position: absolute;
	top: 0;
	left: 0;
}
.support .post-list .item .item-content ul li + li {
	margin-top: 4px;
}

.site-footer {
	display: none;
}

.home .main {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%,-50%,0);
	width: 100%;
	height: 100%;
	max-width: 400px;
	max-height: 800px;
	border: 8px solid #FBFBF9;
	border-radius: 80px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.home .main {
		border: none;
		border-radius: 0;
		max-width: 100%;
	}
}

.home .main .logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2;
}
.home .main .logo-image {
	width: 100%;
	height: auto;
	transform: translate3d(2%,10%,0);
}

.home .main .testimonials {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding-top: 60px;
}
.home .main .testimonials .stars {
	display: flex;
	justify-content: center;
}
.home .main .testimonials .stars img {
	width: 35%;
}
.home .main .testimonials .swiper {
	width: 100%;
}
.home .main .testimonials .swiper-slide {
	width: 100%;
	text-align: center;
	padding: 20px 60px;
}
.home .main .testimonials .swiper-slide p {
	color: #9FC945;
	font-size: 24px;
	font-weight: 700;
}
[lang="ko-KR"] .home .main .testimonials .swiper-slide p {
	word-break: keep-all;
}

@media (max-width: 600px) {
	.home .main .testimonials {
		padding-top: 40px;
	}
	.home .main .testimonials .swiper-slide p {
		font-size: 22px;
	}
}

.home .main .scene {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}
.home .main .scene .tree {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
}
.home .main .scene .main-tree {
	transform: translate3d(-50%,10%,0) scale(1.5);
	z-index: 4;
}
.home .main .scene .left-tree {
	transform: translate3d(-88%,-38%,0) scale(0.9) rotate(9deg);
	z-index: 3;
}
.home .main .scene .right-tree {
	transform: translate3d(-10%,-40%,0) scale(0.82) rotate(-9deg);
	z-index: 2;
}
.home .main .scene .back-tree {
	transform: translate3d(-47%,-56%,0) scale(0.7) rotate(-5deg);
	z-index: 1;
}
.home .main .scene .tree img {
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.home .main .scene #birdy {
	position: absolute;
	width: 15%;
	z-index: 5;
	top: 13%;
	left: 32%;
	transform: translate3d(-50%,-50%,0) rotate(-10deg);
}

.home .main .action {
	display: flex;
	justify-content: center;
	padding-bottom: 60px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
}
.home .main .download-button {
	background-color: rgba(242,241,235,0.5);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #6B9A07;
	font-size: 18px;
	font-weight: 700;
	padding: 16px 20px;
	transition: background-color 0.3s var(--ease-out), transform 0.6s var(--ease-out);
}
.home .main .download-button:hover {
	background-color: rgba(242,241,235,0.8);
	transform: scale(1.05);
}

@media (max-width: 600px) {
	.home .main .action {
		padding-bottom: 30px;
	}
}