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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

:root {
  --font-body: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho B1", serif;
  --font-serif-b1: "Shippori Mincho B1", serif;
  --font-sans: "Noto Sans JP", sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
  background: #faf5ee;
  color: #4a4032;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

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

.page {
  position: relative;
  min-height: 100vh;
}

.page__bg {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.page__bg-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.page__bg-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: min(1600px, 100%);
  margin: 0 auto;
}

/* Left character panels */
.char-panels {
  display: none;
  flex: 1 1 0;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  width: auto;
  max-width: 720px;
}

.char-panel {
  position: relative;
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
}

.char-panel__inner {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.char-panel:nth-child(1) .char-panel__inner { z-index: 1; }
.char-panel:nth-child(2) .char-panel__inner { z-index: 2; }
.char-panel:nth-child(3) .char-panel__inner { z-index: 3; }
.char-panel:nth-child(4) .char-panel__inner { z-index: 4; }
.char-panel:nth-child(5) .char-panel__inner { z-index: 5; }

.char-panel__profile {
  position: absolute;
  left: 16px;
  top: 20px;
  z-index: 0;
  max-width: min(683px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: hidden;
  opacity: 0.6;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  color: #b3aa9d;
  word-break: break-all;
}

.char-panel__profile.is-typing::after {
  content: "｜";
  animation: profile-cursor 0.7s step-end infinite;
}

@keyframes profile-cursor {
  50% {
    opacity: 0;
  }
}

.char-panel__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.char-panel__image {
  width: auto;
  max-width: 100%;
  max-height: 80%;
  height: auto;
  object-fit: contain;
}

.char-panel__inner--group {
  align-items: center;
  justify-content: center;
  padding-top: 93px;
}

.char-panel__group-image {
  width: 100%;
  max-width: min(643px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

/* Main content */
.main {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  width: 100%;
  max-width: 450px;
  border-left: 3px solid #4a4032;
  border-right: 3px solid #4a4032;
  background: #fff;
}

.main__content {
  padding-bottom: 120px;
}

/* Sticky CTA */
.fixed-cta {
  position: sticky;
  top: calc(100dvh - 16px);
  z-index: 20;
  height: 0;
  padding: 0 16px;
  box-sizing: border-box;
  pointer-events: none;
}

.fixed-cta .announcement-card {
  transform: translateY(-100%);
  margin: 0 0 16px;
  padding: 10px 16px;
}

.hero {
  overflow: hidden;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}

.hero__visual-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}

.hero__visual-wrap picture {
  display: block;
  width: 100%;
}

.hero__visual {
  display: block;
  width: 100%;
  height: auto;
}

.hero__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 60px 24px 0;
  text-align: left;
  pointer-events: none;
}

.hero__logo {
  display: none;
  width: 189px;
  height: auto;
  margin-bottom: 16px;
}

@media (max-width: 1279px) {
  .hero__logo {
    display: block;
  }

  .hero__text {
    padding-top: 24px;
  }
}

.hero__title {
  margin-bottom: 16px;
  font-family: var(--font-serif-b1);
  font-size: 33px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.99px;
}

@media (max-width: 450px) {
  .hero__title {
    font-size: 7.4vw;
    letter-spacing: 0.15vw;
  }
}

.hero__lead {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.45px;
}

@media (max-width: 350px) {
  .hero__lead {
    font-size: 13px;
  }
}

.section {
  padding: 48px 24px;
}

.section--gradient {
  background: linear-gradient(
    152.586deg,
    rgba(215, 255, 246, 0.5) 0.43481%,
    rgba(251, 255, 207, 0.5) 24.024%,
    rgba(255, 228, 237, 0.5) 57.049%,
    rgba(247, 217, 254, 0.5) 98.566%
  );
}

.section--warm {
  background: #fffaf4;
}

.section__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section__inner--center {
  align-items: center;
}

.section-label__tag {
  font-family: var(--font-serif-b1);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.39px;
  color: #fa972f;
}

.section-label__title {
  font-family: var(--font-serif-b1);
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.84px;
}

.text-body {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.48px;
}

.text-body--bold {
  font-weight: 700;
}

.text-accent {
  color: #fa972f;
}

.text-emphasis {
  font-family: var(--font-serif-b1);
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.6px;
}

.quote-box {
  width: 100%;
  padding: 12px 16px;
  background: #ede7de;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.42;
  letter-spacing: 0.48px;
}

.quote-box p + p {
  margin-top: 16px;
}

.app-shot {
  margin: 24px auto 0;
  width: 300px;
}

.app-shot img {
  width: 100%;
  height: auto;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}

.step-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.step-card__num {
  font-family: var(--font-serif-b1);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.96px;
  color: #fa972f;
}

.step-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.54px;
}

.step-card__desc {
  width: 100%;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.42px;
}

.step-card__note {
  width: 100%;
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: 0.36px;
  color: #b3aa9d;
}

.step-card__pricing {
  width: 100%;
  padding: 12px 16px;
  background: #faf5ee;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.36px;
}

.step-card__img {
  overflow: hidden;
  border: 1px solid #b3aa9d;
  border-radius: 16px;
}

.step-card__img--wide {
  aspect-ratio: 375 / 246;
  width: 100%;
}

.step-card__img--narrow {
  width: 200px;
  height: 281px;
}

.step-card__img--narrow-tall {
  width: 200px;
  height: 356px;
}

.step-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-box {
  padding: 24px;
  border: 1px solid #b3aa9d;
  border-radius: 16px;
  background: #fff;
}

.feature-item + .feature-item {
  margin-top: 16px;
}

.feature-item__title {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.42;
  letter-spacing: 0.54px;
}

.feature-item__desc {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.42px;
}

.relation-images {
  margin-top: 16px;
}

.relation-images img {
  width: 100%;
  height: auto;
}

.actor-card {
  aspect-ratio: 1080 / 1440;
  width: 100%;
  object-fit: cover;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 66px;
  background: #4a4032;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.42px;
  color: #fff;
}

.announcement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 20px 16px;
  border-radius: 16px;
  background: linear-gradient(95.2319deg, rgb(255, 197, 216) 9.1964%, rgb(255, 189, 89) 100.78%);
  box-shadow: 0 0 7.5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.announcement-card__lead {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
}

.announcement-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.announcement-card__release {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.42px;
}

.price-box {
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.48px;
}

.price-box p + p {
  margin-top: 0;
}

.price-box .spacer {
  margin-top: 8px;
}

.faq-item {
  width: 100%;
  border: 1px solid #b3aa9d;
  border-radius: 16px;
  background: #faf5ee;
}

.faq-item + .faq-item {
  margin-top: 0;
}

.faq-item__question {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 24px;
  text-align: left;
}

.faq-item.is-open .faq-item__question {
  padding-bottom: 8px;
}

.faq-item__q {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.42px;
  color: #f34c8f;
}

.faq-item__text {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.42px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.faq-item__answer {
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.42px;
}

.faq-item:not(.is-open) .faq-item__answer {
  display: none;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 48px 24px;
  background: #b3aa9d;
}

.footer__share-title {
  width: 100%;
  font-family: var(--font-serif-b1);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.63px;
  text-align: center;
  color: #fff;
}

.footer__sns {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  color: #fff;
}

.footer__sns a {
  display: flex;
  align-items: center;
  color: inherit;
}

.footer__copy {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.36px;
  text-align: center;
  color: #fff;
}

/* Side nav */
.side-nav {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  width: 189px;
  gap: 80px;
  position: sticky;
  top: 56px;
  align-self: flex-start;
}

.side-nav__logo {
  display: block;
  width: 100%;
}

.side-nav__logo img {
  width: 100%;
  height: auto;
}

.side-nav__links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-nav__indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.side-nav__indicator img {
  display: block;
  width: 20px;
  height: 20px;
}

.side-nav__link {
  display: block;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #000;
}

.side-nav__link:hover {
  opacity: 0.7;
}

.side-nav__sns-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #000;
}

.side-nav__sns-icons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 110;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.mobile-menu-toggle img {
  display: block;
  width: 24px;
  height: 24px;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.mobile-nav-backdrop.is-open {
  display: block;
  pointer-events: auto;
}

body.is-menu-open {
  overflow: hidden;
}


.fixed-cta .announcement-card__lead {
  font-size: 13px;
}

.fixed-cta .announcement-card__title {
  font-size: 18px;
}

.fixed-cta .announcement-card__release {
  font-size: 12px;
}

/* Color utilities */
.c-teal { color: #288a74; }
.c-teal2 { color: #419a86; }
.c-orange { color: #fa972f; }
.c-orange2 { color: #f68e3a; }
.c-purple { color: #ba65d2; }
.c-pink { color: #ff73a2; }

@media (min-width: 1024px) {
  .page__bg {
    display: block;
  }

  .char-panels {
    display: flex;
  }

  .main {
    flex: 0 0 450px;
    width: 450px;
    max-width: 450px;
  }
}

@media (min-width: 1280px) {
  .side-nav {
    display: flex;
  }
}

@media (max-width: 1279px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .side-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    padding: 72px 24px 32px;
    background: #faf5ee;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .side-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
}
