/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;700&family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400&display=swap');

:root {
  --txt1: #2c3830;
  --txt2: #546058;
  --accent1: #bda679;
  --bg1: #f5f0e9;
  --bg2: #dbd6cf;
  --olive: #7c7a56;
  --answer: #374158;
  --font-head: 'Abhaya Libre', serif;
  --font-body: 'Bricolage Grotesque', sans-serif;
  --f12: clamp(12px, 1.2rem, 1.2rem);
  --f14: clamp(14px, 1.4rem, 1.4rem);
  --f16: clamp(14px, 1.6rem, 1.6rem);
  --bg: var(--bg1);
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }
html.menu-lock, html.menu-lock body { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s; }
button { font: inherit; cursor: pointer; }

body {
  background: var(--bg1);
  color: var(--txt1);
  font-family: var(--font-body);
  font-size: var(--f16);
  line-height: 1.5;
  letter-spacing: -0.04em;
  overflow-x: hidden;
}

main { display: block; padding-top: 7rem; }
main section { position: relative; overflow: hidden; }

#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg); }
#preloader img { width: 6rem; height: auto; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: var(--bg1); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(44, 56, 48, 0.15); }

#mobile-menu { position: fixed; top: 4rem; left: 0; width: 100%; height: 72.5rem; max-height: calc(100vh - 4rem); z-index: 90; background: var(--bg1); border-bottom: 1px solid var(--accent1); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }

.burger-btn { display: none; position: relative; width: 2.4rem; height: 2.4rem; padding: 0; background: transparent; border: 0; border-radius: 0.2rem; transition: opacity 0.3s; }
.burger-btn:hover { opacity: 0.8; }

.sep { position: relative; z-index: 1; width: 100%; max-width: 144rem; margin: 0 auto; padding: 8rem 8rem 2.4rem; display: flex; align-items: center; gap: 4.8rem; }
.sep--s { gap: 2.4rem; }
.sep-name { flex: none; font-family: var(--font-head); font-size: var(--f16); line-height: 1.5; letter-spacing: -0.02em; text-transform: capitalize; }
.sep-line { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 1.2rem; }
.sep-line img { flex: none; width: 2.4rem; height: 2.4rem; }
.sep-line::after { content: ''; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--accent1), rgba(206, 171, 131, 0)); }

.sec-head { position: relative; z-index: 1; margin-top: 5.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.sec-title { font-family: var(--font-head); font-weight: 400; font-size: 4.8rem; line-height: 1.5; letter-spacing: -0.02em; text-transform: capitalize; color: var(--txt1); }
.sec-sub { font-family: var(--font-head); font-size: 3.2rem; line-height: 1.5; letter-spacing: -0.02em; text-transform: capitalize; color: var(--txt2); }

.sub { display: flex; align-items: center; gap: 2.4rem; font-family: var(--font-head); font-weight: 400; font-size: 3.2rem; line-height: 1.5; letter-spacing: -0.04em; color: var(--olive); }
.sub::before { content: ''; flex: none; width: 5.4rem; height: 0.7rem; background: url(../img/linedot.svg) center / 100% 100% no-repeat; }

.leaf { display: block; position: absolute; z-index: 0; pointer-events: none; }

.decor-bottom { position: relative; z-index: 1; width: 73.85rem; max-width: 100%; height: 7rem; margin: 0 auto; }
.decor-bottom .arch { position: absolute; left: 0; top: 0; width: 100%; height: 5.5rem; }
.decor-bottom .flower { position: absolute; left: 50%; top: 2.2rem; width: 4.8rem; height: 4.8rem; margin-left: -2.4rem; }

.br-m { display: none; }

@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }

@media (max-width: 1024px) {
  .sep { padding: 8rem 4rem 2.4rem; }
}

@media (max-width: 640px) {
  main { padding-top: 4rem; }
  #preloader img { width: 6rem; }
  .burger-btn { display: block; }
  .sep { padding: 8rem 1.6rem 2.4rem; gap: 4.8rem; }
  .sep--s { gap: 2.4rem; }
  .sec-head { margin-top: 5.6rem; padding: 0 2.1rem; }
  .sec-title { font-size: 4rem; line-height: 1.2; }
  .sec-sub { font-size: 2.8rem; line-height: 1.2; }
  .sub { font-size: 2.8rem; }
  .decor-bottom { width: 29.2rem; height: 4.3rem; }
  .decor-bottom .arch { height: 2.2rem; }
  .decor-bottom .flower { top: 1.1rem; width: 2.4rem; height: 2.4rem; margin-left: -1.2rem; }
  .br-m { display: inline; }
  .br-d { display: none; }
}
/* /stp:base */
/* stp:header */
.header-inner { width: 100%; max-width: 144rem; margin: 0 auto; padding: 2.4rem 8rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 2.4rem; }
.logo { display: block; flex: none; height: 3.4rem; }
.logo img { height: 100%; width: auto; }
.logo:hover { opacity: 0.8; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { display: flex; align-items: center; justify-content: center; padding: 0.8rem 1.2rem; font-size: var(--f12); line-height: 1.5; letter-spacing: -0.04em; color: var(--txt1); opacity: 0.5; white-space: nowrap; transition: opacity 0.3s, color 0.3s; }
.nav-link:hover { opacity: 1; }

.burger-btn { background: var(--txt1); }
.burger-btn span { position: absolute; left: 50%; width: 1.1rem; height: 1px; margin-left: -0.55rem; background: var(--bg1); transition: transform 0.3s, opacity 0.3s, top 0.3s; }
.burger-btn span:nth-child(1) { top: 0.8rem; }
.burger-btn span:nth-child(2) { top: 1.2rem; }
.burger-btn span:nth-child(3) { top: 1.6rem; }
.burger-btn.act span:nth-child(1) { top: 1.2rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 1.2rem; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .header-inner { padding: 2.4rem 4rem 1.2rem; gap: 1.2rem; }
  .nav { gap: 0.4rem; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0.8rem 1.6rem; height: 4rem; }
  .logo { height: 2.4rem; }
  .nav { display: none; }
}
/* /stp:header */
/* stp:menu */
.menu-nav { display: none; }

@media (max-width: 640px) {
  .menu-nav { height: 100%; padding: 3.2rem 1.6rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
  .menu-nav .nav-link { width: 20rem; height: 4rem; padding: 0.8rem 0; font-size: var(--f16); line-height: 1.5; letter-spacing: -0.04em; }
}
/* /stp:menu */
/* stp:hero */
.hero { background: var(--bg1) url(../img/herobg.webp) center / 100% 100% no-repeat; }
.hero-in { width: 100%; max-width: 144rem; margin: 0 auto; padding: 10rem 8rem; display: flex; align-items: center; gap: 2.4rem; }
.hero-txt { flex: none; width: 45.7rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4.8rem; }
.hero-title { font-family: var(--font-head); font-weight: 400; font-size: 6.4rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--txt1); white-space: nowrap; }
.hero-decor { width: 100%; display: flex; align-items: center; gap: 1.2rem; }
.hero-decor img { flex: none; width: 2.4rem; height: 2.4rem; }
.hero-decor .line { flex: 1 1 0; min-width: 0; height: 1px; }
.hero-decor .line-l { background: linear-gradient(270deg, var(--accent1), rgba(206, 171, 131, 0)); }
.hero-decor .line-r { background: linear-gradient(90deg, var(--accent1), rgba(206, 171, 131, 0)); }
.hero-slogan { width: 100%; font-family: var(--font-head); font-size: 3.2rem; line-height: 1.3; letter-spacing: -0.02em; text-transform: capitalize; text-align: center; color: var(--accent1); }
.hero-lead { width: 100%; font-size: var(--f16); line-height: 1.5; letter-spacing: 0.24em; text-align: center; color: var(--txt2); }
.hero-img { flex: 1 1 0; min-width: 0; aspect-ratio: 799 / 570; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .hero-in { padding: 8rem 4rem; }
  .hero-txt { width: 40rem; gap: 3.6rem; }
  .hero-title { font-size: 5.2rem; }
  .hero-slogan { font-size: 2.8rem; }
  .hero-lead { letter-spacing: 0.16em; }
}

@media (max-width: 640px) {
  .hero { background-image: url(../img/herobg-m.webp); background-size: 100% auto; background-position: center bottom; }
  .hero-in { padding: 4.4rem 1.6rem 6.4rem; flex-direction: column; align-items: stretch; gap: 4.4rem; }
  .hero-txt { width: 100%; order: 2; gap: 3.2rem; padding: 0 0.5rem; }
  .hero-img { order: 1; flex: none; width: 100%; }
  .hero-title { font-size: 4.8rem; white-space: normal; width: 34.3rem; }
  .hero-slogan { font-size: 3.2rem; }
  .hero-lead { letter-spacing: 0.24em; }
}
/* /stp:hero */
/* stp:about */
.about { background: var(--bg2); padding-bottom: 8rem; }
.about .leaf-l { left: 0; top: 12.8rem; width: 35.8rem; height: 96.5rem; }
.about .leaf-r { right: 0; top: 10.3rem; width: 29.6rem; height: 78.8rem; }
.leaf img { width: 100%; height: 100%; }
.rows { position: relative; z-index: 1; width: 100%; max-width: 106.2rem; margin: 5.6rem auto 0; display: flex; flex-direction: column; gap: 2.4rem; }
.row { display: flex; align-items: center; gap: 2.4rem; }
.row:nth-child(even) { flex-direction: row-reverse; }
.row-img { flex: none; width: 50rem; height: auto; }
.row-txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2.4rem; color: var(--txt1); }

@media (max-width: 1024px) {
  .rows { padding: 0 4rem; }
  .row-img { width: 47%; }
}

@media (max-width: 640px) {
  .about { padding-bottom: 8rem; }
  .about .leaf-l { top: 12.8rem; width: 14.6rem; height: 39.2rem; }
  .about .leaf-r { right: 0; top: auto; bottom: 0; width: 15.1rem; height: 40.2rem; }
  .rows { margin-top: 5.6rem; padding: 0 2.1rem; gap: 2.4rem; }
  .row, .row:nth-child(even) { flex-direction: column; align-items: stretch; gap: 2.4rem; }
  .row-img { width: 100%; height: 15.5rem; object-fit: fill; }
  .row-txt { flex: none; }
}
/* /stp:about */
/* stp:how */
.how { background: var(--bg1) url(../img/howbg.webp) center bottom / 100% auto no-repeat; padding-bottom: 12.9rem; }
.steps { position: relative; z-index: 1; width: 100%; max-width: 128rem; margin: 5.6rem auto 8.3rem; display: flex; justify-content: center; gap: 2.4rem; }
.step { flex: none; width: 22rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem; text-align: center; }
.step-img { width: 14rem; height: 14rem; }
.step-txt { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.step-txt h3 { font-family: var(--font-head); font-weight: 700; font-size: var(--f16); line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--txt1); }
.step-txt p { font-size: var(--f12); line-height: 1.5; letter-spacing: -0.04em; color: var(--txt2); }

@media (max-width: 1024px) {
  .steps { padding: 0 4rem; gap: 1.2rem; }
  .step { flex: 1 1 0; min-width: 0; width: auto; }
}

@media (max-width: 640px) {
  .how { background-image: url(../img/howbg-m.webp); padding-bottom: 4.1rem; }
  .steps { margin: 5.6rem auto 4.4rem; padding: 0 1.6rem; flex-direction: column; align-items: stretch; gap: 2.4rem; }
  .step { width: 100%; flex: none; flex-direction: row; align-items: center; gap: 1.6rem; text-align: left; }
  .step-img { flex: none; width: 6rem; height: 6rem; }
  .step-txt { flex: 1 1 0; min-width: 0; align-items: flex-start; }
}
/* /stp:how */
/* stp:features */
.features { background: var(--bg2); padding-bottom: 8rem; }
.features .leaf-r { right: 0; top: 10.4rem; width: 25.7rem; height: 68.4rem; }
.features .rows { max-width: 118.9rem; gap: 4.8rem; }
.features .row-img { width: 62.7rem; }
.features .row:first-child { padding: 1rem 0; }

@media (max-width: 1024px) {
  .features .row-img { width: 52.7%; }
}

@media (max-width: 640px) {
  .features .leaf-r { top: 2.4rem; width: 13.1rem; height: 34.7rem; }
  .features .rows { margin-top: 9.4rem; padding: 0 1.6rem; gap: 4.8rem; }
  .features .row, .features .row:nth-child(even) { gap: 2.4rem; }
  .features .row:first-child { padding: 0; }
  .features .row-img { width: 100%; height: 12rem; object-fit: fill; }
  .features .sub { line-height: 1.2; }
}
/* /stp:features */
/* stp:why */
.why { background: var(--bg1); }
.why-body { height: 41.1rem; padding: 5.6rem 8.4rem 0; background: url(../img/whybg.webp) center bottom / cover no-repeat; }
.why-txt { max-width: 49.3rem; display: flex; flex-direction: column; gap: 1.2rem; }
.why-txt .sec-title { text-align: left; }
.why-txt p { font-size: var(--f16); line-height: 1.5; letter-spacing: -0.02em; text-transform: capitalize; color: var(--txt2); }

@media (max-width: 1024px) {
  .why-body { padding-left: 4rem; padding-right: 4rem; }
  .why-txt { max-width: 42rem; }
}

@media (max-width: 640px) {
  .why-body { height: auto; padding: 5.6rem 2.1rem 0; background: none; }
  .why-body::after { content: ''; display: block; width: 100vw; margin: 2.4rem 0 0 -2.1rem; height: 26.4rem; background: url(../img/whybg-m.webp) center bottom / 100% 100% no-repeat; }
  .why-txt { max-width: none; align-items: center; text-align: center; }
  .why-txt .sec-title { text-align: center; }
}
/* /stp:why */
/* stp:reviews */
.reviews { background: var(--bg2); padding-bottom: 8rem; }
.reviews .leaf-l { left: 0; top: 13.7rem; width: 30.9rem; height: 53.5rem; }
.reviews .leaf-r { right: 0; top: 16.3rem; width: 27.5rem; height: 48.3rem; }
.leaf img { width: 100%; height: 100%; }
.revs { position: relative; z-index: 1; width: 100%; max-width: 109.6rem; margin: 5.6rem auto 5.6rem; display: flex; justify-content: center; gap: 2.4rem; }
.rev { flex: none; width: 20rem; padding: 2.4rem; display: flex; flex-direction: column; gap: 1.6rem; background: var(--txt2); border-radius: 1.2rem; }
.rev-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.rev-name { font-size: var(--f14); line-height: 1.3; letter-spacing: -0.04em; color: var(--bg2); white-space: nowrap; }
.rev-stars { display: flex; flex: none; }
.rev-stars img { width: 1.4rem; height: 1.4rem; }
.rev-text { font-size: var(--f16); line-height: 1.5; letter-spacing: -0.04em; color: var(--bg1); }

@media (max-width: 1024px) {
  .revs { padding: 0 4rem; flex-wrap: wrap; gap: 2.4rem; }
  .rev { width: calc((100% - 4.8rem) / 3); }
  .reviews .leaf-l, .reviews .leaf-r { opacity: 0.7; }
}

@media (max-width: 640px) {
  .reviews .leaf-l { top: 2.5rem; width: 14.6rem; height: 39.2rem; }
  .reviews .leaf-r { display: none; }
  .reviews .sec-head { padding: 0 6.2rem; }
  .revs { margin: 5.6rem auto; padding: 0 2.6rem; flex-direction: column; align-items: stretch; gap: 2.4rem; }
  .rev { width: 100%; }
}
/* /stp:reviews */
/* stp:faq */
.faq { background: var(--bg1) url(../img/faqbg.webp) center bottom / 100% auto no-repeat; padding-bottom: 10.4rem; }
.faq-list { position: relative; z-index: 1; width: 100%; max-width: 79rem; margin: 5.6rem auto 0; display: flex; flex-direction: column; gap: 3.2rem; }
.faq-item { padding: 0 1.2rem; }
.faq-item summary { display: flex; align-items: center; gap: 2.4rem; padding: 0.8rem 0; list-style: none; cursor: pointer; font-weight: 300; font-size: 2.4rem; line-height: 1.5; letter-spacing: -0.04em; color: var(--txt2); box-shadow: inset 0 -1px 0 rgba(84, 96, 88, 0.3); transition: color 0.3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 2.4rem; height: 2.4rem; margin-left: auto; border-radius: 50%; background: var(--olive) url(../img/chevron-down.svg) center / 1rem 0.5rem no-repeat; transition: opacity 0.3s; }
.faq-item summary:hover { color: var(--txt1); }
.faq-item summary:hover::after { opacity: 0.8; }
.faq-item[open] summary::after { background-image: url(../img/chevron-up.svg); }
.faq-item p { margin-top: 1.6rem; font-size: var(--f16); line-height: 1.5; letter-spacing: -0.04em; color: var(--answer); }
.faq-item summary > * { flex: 1 1 auto; }

@media (max-width: 1024px) {
  .faq-list { padding: 0 4rem; }
}

@media (max-width: 640px) {
  .faq { padding-bottom: 10rem; }
  .faq-list { margin-top: 8rem; padding: 0 1.6rem; gap: 3.2rem; }
  .faq-item summary { align-items: center; }
  .faq-item summary::after { margin-left: auto; }
}

.faq-item::details-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease, content-visibility 0.35s allow-discrete; }
.faq-item[open]::details-content { grid-template-rows: 1fr; }
.faq-item p { min-height: 0; margin-top: 0; overflow: hidden; transition: margin-top 0.35s ease; }
.faq-item[open] p { margin-top: 1.6rem; }
/* /stp:faq */
/* stp:contact */
.contact { background: var(--bg1); padding-bottom: 8rem; }
.contact-head { gap: 2.4rem; }
.mailto { display: flex; align-items: center; gap: 2.4rem; font-weight: 300; font-size: 2.4rem; line-height: 1.5; letter-spacing: -0.04em; color: var(--txt1); }
.mailto img { flex: none; width: 3.2rem; height: 1.9rem; margin: 0 0 0 0; }
.mailto:hover { color: var(--olive); }
.contact .decor-bottom { margin-top: 5.6rem; }

@media (max-width: 640px) {
  .contact .decor-bottom { margin-top: 4.8rem; }
}
/* /stp:contact */
/* stp:footer */
.footer { background: radial-gradient(ellipse 57.6rem 43.76rem at 50% 50%, #f5f0e9 0%, #cacac3 25%, #9fa39c 50%, #7f8780 75%, #5e6a63 100%); color: var(--bg1); }
.footer-in { width: 100%; max-width: 144rem; margin: 0 auto; padding: 8rem; display: flex; align-items: center; justify-content: space-between; gap: 2.4rem; }
.copy { font-size: var(--f16); line-height: 1.5; letter-spacing: -0.04em; white-space: nowrap; }
.footer-logo { flex: none; display: block; width: 33.4rem; height: 7.2rem; }
.footer-logo img { width: 100%; height: 100%; }
.footer-logo:hover { opacity: 0.8; }
.policies { flex: none; width: 29.7rem; padding: 0 1.6rem; display: flex; align-items: center; justify-content: space-between; font-size: var(--f16); line-height: 1.5; letter-spacing: -0.04em; white-space: nowrap; }
.policies a { text-decoration: underline; text-underline-position: from-font; }
.footer a:hover { color: var(--accent1); }

@media (max-width: 1024px) {
  .footer-in { padding: 8rem 4rem; flex-wrap: wrap; justify-content: center; }
  .footer-logo { order: -1; flex: 0 0 100%; display: flex; justify-content: center; }
  .footer-logo img { width: 33.4rem; }
}

@media (max-width: 640px) {
  .footer { background: radial-gradient(ellipse 56.66rem 13.1rem at 49.87% 38.08%, #f5f0e9 0%, #9fa39c 50%, #5e6a63 100%); }
  .footer-in { padding: 8rem 1.6rem; flex-direction: column; flex-wrap: nowrap; gap: 3.2rem; }
  .footer-logo { order: 0; flex: none; width: 33.4rem; height: auto; }
  .footer-logo img { width: 100%; }
  .policies { order: 1; width: 30.5rem; padding: 0; }
  .copy { order: 2; text-align: center; white-space: normal; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 9.9rem; }
.legal-header .header-inner { height: 9.9rem; padding: 0 12rem; align-items: center; justify-content: flex-start; }
.back-home { display: flex; align-items: center; gap: 0.8rem; font-size: 1.8rem; line-height: 1.5; letter-spacing: -0.04em; color: var(--txt2); }
.back-home img { flex: none; width: 2.4rem; height: 2.4rem; }
.back-home:hover { color: var(--olive); }
.legal-page { padding: 8rem 4rem 8rem; overflow: visible; }
.legal-content { width: 100%; max-width: 99.5rem; margin: 0 auto; font-size: var(--f14); line-height: 1.5; letter-spacing: -0.04em; color: var(--txt2); }
.legal-content h1 { margin-bottom: 5.6rem; font-family: var(--font-head); font-weight: 400; font-size: 6.4rem; line-height: 1.3; letter-spacing: -0.02em; text-align: center; color: var(--txt2); }
.legal-content h2, .legal-content h3, .legal-content h4 { margin-top: 2.4rem; margin-bottom: 1.6rem; font-weight: 400; font-size: 2.4rem; line-height: 1.5; letter-spacing: -0.04em; color: var(--txt2); }
.legal-content h2:first-of-type, .legal-content h3:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 1.6rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1.6rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { text-decoration: underline; color: var(--txt1); }
.legal-content a:hover { color: var(--olive); }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .legal-header .header-inner { padding: 0 4rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.6rem; }
  .legal-header .header-inner { height: 5.6rem; padding: 0 1.6rem; }
  .legal-page { padding: 6.4rem 1.6rem 8rem; }
  .legal-content h1 { font-size: 4.8rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title { position: relative; }
.anim-on .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .ta-l { display: inline-block; }

.anim-on .hero-title .ta-l { opacity: 0; color: var(--txt2); }
.anim-on .hero-title.is-in .ta-l {
  animation:
    ta-ash 0.5s ease-out 0.7s both,
    ta-rewild 0.85s cubic-bezier(0.3, 0.6, 0.3, 1) calc(var(--i) * 1s) forwards;
}
.anim-on .hero-title.ta-done .ta-l { opacity: 1; color: var(--ta-c); animation: none; }
.anim-on .hero-title .ta-loop .ta-l { animation: ta-breath 9s ease-in-out calc(3s + var(--i) * 0.07s) infinite; }

.ta-leaf {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  margin-top: 2.4rem;
  background: url(../img/flower.webp) center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  animation: ta-drift 1.5s linear calc(var(--i) * 1s) both;
}

.anim-on .sec-title .ta-w {
  padding: 0 0.06em 0.14em;
  margin: 0 -0.06em -0.14em;
  opacity: 0;
  background-image: linear-gradient(100deg, var(--ta-c) 38%, var(--olive) 47%, var(--accent1) 54%, color-mix(in srgb, var(--txt2) 28%, transparent) 64%);
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.anim-on .sec-title.is-in .ta-w { animation: ta-wash 1.15s cubic-bezier(0.35, 0.5, 0.25, 1) calc(var(--i) * 0.14s) both; }
.anim-on .sec-title.ta-done .ta-w { opacity: 1; background: none; -webkit-text-fill-color: currentColor; animation: none; }

@keyframes ta-ash {
  from { opacity: 0; filter: blur(0.5rem); }
  to { opacity: 0.26; filter: blur(0.12rem); }
}
@keyframes ta-rewild {
  0% { opacity: 0.26; color: var(--txt2); filter: blur(0.12rem); transform: translateY(0); }
  35% { opacity: 1; color: var(--accent1); filter: blur(0); transform: translateY(-0.35rem); }
  65% { opacity: 1; color: var(--olive); filter: blur(0); transform: translateY(0.05rem); }
  100% { opacity: 1; color: var(--ta-c); filter: blur(0); transform: translateY(0); }
}
@keyframes ta-breath {
  0%, 86%, 100% { color: var(--ta-c); }
  92% { color: var(--olive); }
}
@keyframes ta-drift {
  0% { opacity: 0; transform: translate(0, -2.4rem) rotate(-30deg); }
  10% { opacity: 1; }
  30% { transform: translate(calc(var(--x) * 0.3), 0.6rem) rotate(20deg); }
  55% { transform: translate(calc(var(--x) * 0.55), -1.6rem) rotate(-14deg); }
  80% { opacity: 1; transform: translate(calc(var(--x) * 0.8), 0.3rem) rotate(24deg); }
  100% { opacity: 0; transform: translate(calc(var(--x) + 0.8rem), -1.4rem) rotate(46deg); }
}
@keyframes ta-wash {
  0% { opacity: 0; filter: blur(0.3rem); transform: translateY(0.5rem); background-position: 100% 0; }
  22% { opacity: 1; }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); background-position: 0 0; }
}

@media (max-width: 640px) {
  .ta-leaf { width: 2rem; height: 2rem; margin-top: 2rem; animation-duration: 1.25s; }
  .anim-on .hero-title.is-in .ta-l {
    animation:
      ta-ash 0.45s ease-out 0.7s both,
      ta-rewild 0.7s cubic-bezier(0.3, 0.6, 0.3, 1) calc(var(--i) * 1s) forwards;
  }
  .anim-on .sec-title.is-in .ta-w { animation-duration: 0.95s; animation-delay: calc(var(--i) * 0.1s); }
}
/* /stp:title-anim */
