:root {
  --background: #f8f6f1;
  --surface: #fffdf9;
  --surface-soft: #f0eee7;
  --ink: #333a37;
  --ink-soft: #66706b;
  --line: #dedfd8;
  --sage: #789084;
  --sage-dark: #4f6b5d;
  --sage-pale: #dce7df;
  --peach: #ead8c9;
  --focus: #345e4c;
  --shadow: 0 24px 70px rgb(54 68 60 / 10%);
  --radius-small: 12px;
  --radius-medium: 22px;
  --radius-large: 36px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--sage-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.035em;
}

h1 {
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  line-height: 1.32;
  letter-spacing: 0.045em;
}

h2 {
  font-size: clamp(1.7rem, 7vw, 2.75rem);
}

h3 {
  font-size: 1.15rem;
}

.container {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--sage-dark);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(248 246 241 / 92%);
  border-bottom: 1px solid rgb(222 223 216 / 75%);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark,
.closing-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  aspect-ratio: 1;
  background: var(--sage-pale);
  border-radius: 50% 50% 45% 55%;
  transform: rotate(-8deg);
}

.brand-mark span,
.closing-mark span {
  display: block;
  width: 0.45rem;
  height: 0.75rem;
  border-right: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  border-radius: 0 0 8px;
  transform: rotate(42deg) translate(-1px, -1px);
}

.nav-list,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-decoration: none;
}

.nav-list a:hover,
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.hero {
  min-height: min(800px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1rem;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(2.25rem, 6vw, 3.8rem);
}

.hero-lead {
  max-width: 39rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 3vw, 1.16rem);
}

.store-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.store-button {
  min-width: min(100%, 285px);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1.25rem;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-small);
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 8px 26px rgb(39 45 42 / 12%);
}

.store-button:hover {
  color: white;
  background: var(--sage-dark);
}

.store-button.is-unavailable {
  color: #59615d;
  background: #e7e6e1;
  border-color: #d5d5cf;
  box-shadow: none;
  cursor: default;
}

.store-button-small {
  font-size: 0.68rem;
}

.store-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
}

.soft-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.soft-orb-one {
  width: 320px;
  height: 320px;
  background: var(--sage-pale);
}

.soft-orb-two {
  top: 10%;
  right: 4%;
  width: 130px;
  height: 130px;
  background: var(--peach);
  opacity: 0.75;
}

.phone-placeholder {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 9 / 18.5;
  padding: 9px;
  background: #3f4642;
  border: 1px solid #717873;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-placeholder-main {
  width: min(72vw, 268px);
  aspect-ratio: auto;
  transform: rotate(2.5deg);
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 31%;
  height: 21px;
  background: #3f4642;
  border-radius: 20px;
  transform: translateX(-50%);
}

.screen-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: 2rem 1.1rem;
  color: var(--ink-soft);
  background: #f5f2ea;
  border-radius: 30px;
  text-align: center;
}

.screen-placeholder > span:first-child:not(.placeholder-date) {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  color: var(--sage-dark);
  background: var(--sage-pale);
  border-radius: 50%;
  font-size: 1.6rem;
}

.screen-placeholder small {
  color: var(--ink-soft);
}

.placeholder-date {
  color: var(--sage-dark);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.placeholder-greeting {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.7;
}

.placeholder-face {
  display: grid;
  place-items: center;
  width: 5.5rem;
  aspect-ratio: 1;
  color: var(--sage-dark);
  background: var(--sage-pale);
  border-radius: 50%;
  font-size: 2.2rem;
}

.placeholder-status {
  font-size: 0.72rem;
}

.section {
  padding: 6.5rem 0;
}

.section-tint {
  background: var(--surface-soft);
}

.philosophy {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading.center {
  margin-inline: auto;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid rgb(222 223 216 / 75%);
  border-radius: var(--radius-medium);
}

.feature-card h3 {
  margin-bottom: 0.7rem;
}

.feature-card p,
.privacy-note p,
.steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.feature-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--sage);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.privacy-note {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--sage-pale);
  border-radius: var(--radius-medium);
}

.privacy-note-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: white;
  background: var(--sage-dark);
  border-radius: 50%;
}

.steps {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
}

.step-number {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  background: var(--sage-pale);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 600;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.screenshots-section {
  overflow: hidden;
  background: var(--surface);
}

.screenshot-list {
  display: grid;
  gap: 3rem;
}

.screenshot-item {
  margin: 0;
  text-align: center;
}

.screenshot-frame {
  width: min(78vw, 270px);
  margin: 0 auto 1.5rem;
  padding: 8px;
  background: #3f4642;
  border: 1px solid #717873;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.screenshot-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.screenshot-item figcaption span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.closing {
  background: var(--sage-pale);
}

.closing-mark {
  width: 4.5rem;
  margin-bottom: 1.7rem;
  background: rgb(255 253 249 / 70%);
}

.closing-mark span {
  width: 0.8rem;
  height: 1.25rem;
  border-width: 3px;
}

.closing p {
  color: var(--ink-soft);
}

.store-button-center {
  margin: 1.5rem auto 0;
  text-align: left;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: #dfe4e1;
  background: #36413c;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  color: white;
}

.footer-brand:hover {
  color: white;
}

.footer-copy {
  margin: 0.8rem 0 0;
  color: #bfc8c3;
  font-size: 0.88rem;
}

.footer-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #dfe4e1;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: white;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: #aeb9b3;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.subpage-main {
  min-height: 70vh;
  padding: 3rem 0 6rem;
}

.policy-container {
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 3rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.page-header {
  margin-bottom: 3rem;
}

.page-header h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 8vw, 3.4rem);
}

.page-header > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
}

.page-header .page-date {
  margin: 0;
}

.status-panel,
.support-card,
.notice-panel {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius-medium);
}

.status-panel {
  grid-template-columns: auto 1fr;
  margin-bottom: 3.5rem;
  background: var(--sage-pale);
}

.status-panel p,
.support-card p,
.notice-panel p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.55rem;
  background: var(--sage-dark);
  border-radius: 50%;
}

.policy-body section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.policy-lead {
  margin-bottom: 1rem;
  padding: 1.7rem;
  background: var(--sage-pale);
  border-radius: var(--radius-medium);
}

.policy-lead p:last-child,
.policy-body section > :last-child {
  margin-bottom: 0;
}

.policy-body section p {
  color: var(--ink-soft);
}

.policy-body ul {
  margin: 1.25rem 0;
  padding-left: 1.4rem;
}

.policy-body li {
  margin-bottom: 0.3rem;
}

.policy-body h2,
.support-guide h2,
.support-card h2,
.notice-panel h2 {
  font-size: 1.25rem;
}

.placeholder-text {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.page-date {
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.policy-contact {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  background: var(--surface-soft);
  border-radius: var(--radius-small);
}

.policy-contact div {
  display: flex;
  flex-wrap: wrap;
}

.policy-contact dt,
.policy-contact dd {
  margin: 0;
}

.policy-contact dt {
  font-weight: 600;
}

.support-card {
  grid-template-columns: auto 1fr;
  margin-bottom: 3.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.support-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  background: var(--sage-pale);
  border-radius: 50%;
}

.contact-placeholder {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.6rem 0.9rem;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 0.88rem;
}

.support-guide {
  margin-bottom: 3rem;
}

.support-guide ul {
  padding-left: 1.4rem;
}

.support-guide li {
  margin-bottom: 0.35rem;
}

.muted-note {
  padding-left: 1rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--sage-pale);
  font-size: 0.9rem;
}

.notice-panel {
  background: #eee8df;
}

.compact-footer {
  padding-top: 3rem;
}

.error-main {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 5rem 0;
}

.error-content {
  max-width: 680px;
  text-align: center;
}

.error-code {
  margin-bottom: 0.8rem;
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.error-content h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 8vw, 3.4rem);
}

.error-content > p:not(.error-code) {
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  color: white;
  background: var(--sage-dark);
  border-radius: var(--radius-small);
  font-weight: 600;
  text-decoration: none;
}

.back-home-link:hover {
  color: white;
  background: var(--ink);
}

@media (max-width: 620px) {
  .header-inner {
    gap: 0.6rem;
  }

  .home-nav {
    gap: 0.65rem;
  }

  .home-nav a {
    font-size: 0.82rem;
  }

  .privacy-note {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  .container {
    width: min(100% - 4rem, 1120px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .feature-grid,
  .screenshot-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .privacy-note {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 2.5rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-links {
    align-items: flex-end;
  }

  .subpage-main {
    padding-top: 5rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-block: 5rem 6rem;
  }

  .hero-visual {
    min-height: 570px;
  }

  .soft-orb-one {
    width: 430px;
    height: 430px;
  }

  .section {
    padding-block: 8rem;
  }

  .feature-card {
    padding: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
