:root {
  --ink: #171634;
  --muted: #69677d;
  --paper: #fffdfa;
  --line: rgba(23, 22, 52, 0.11);
  --coral: #ff5b62;
  --cyan: #10c5d7;
  --violet: #6933e8;
  --peach: #ffd5c9;
  --lavender: #ddd6ff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(255, 213, 201, 0.72), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(221, 214, 255, 0.72), transparent 26rem),
    var(--paper);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 253, 250, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-logo {
  width: min(185px, 32vw);
  height: auto;
  max-height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 72vh;
  padding: clamp(72px, 11vw, 142px) 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 7.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 28px 80px rgba(38, 32, 82, 0.13);
}

.shape-a {
  width: 72%;
  aspect-ratio: 1;
  top: 0;
  right: 0;
  border-radius: 35% 65% 54% 46% / 42% 39% 61% 58%;
  background: linear-gradient(145deg, var(--cyan), #8ce9ee);
  transform: rotate(8deg);
}

.shape-b {
  width: 62%;
  aspect-ratio: 1;
  right: 27%;
  bottom: 0;
  border-radius: 62% 38% 33% 67% / 41% 58% 42% 59%;
  background: linear-gradient(145deg, var(--violet), #a68bff);
  transform: rotate(-12deg);
}

.shape-c {
  width: 37%;
  aspect-ratio: 1;
  right: 4%;
  bottom: 12%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--coral), #ffb4aa);
}

.section {
  padding: 100px 0;
}

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

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.about-card,
.contact-panel {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(36, 28, 83, 0.07);
}

.about-card p:last-child,
.contact-panel p:last-child {
  margin-bottom: 0;
}

.app-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 90px rgba(36, 28, 83, 0.09);
}

.app-card-visual {
  min-height: 430px;
  padding: clamp(40px, 7vw, 72px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 15%, #fff3ed, transparent 48%),
    linear-gradient(145deg, #ffd5c9, #dfd5ff);
}

.app-icon {
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 25%;
  box-shadow: 0 26px 60px rgba(35, 27, 78, 0.18);
}

.app-card-body {
  padding: clamp(44px, 7vw, 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.app-card-body h3 {
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.app-card-body p {
  max-width: 570px;
  color: var(--muted);
}

.button {
  min-height: 52px;
  margin-top: 18px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 22, 52, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.button.disabled {
  cursor: default;
  background: #e8e6eb;
  color: #75717e;
  box-shadow: none;
  transform: none;
}

.picna-hero {
  padding: clamp(70px, 10vw, 130px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.picna-hero h1 {
  font-size: clamp(4.4rem, 11vw, 9rem);
}

.picna-hero .app-icon {
  width: min(28vw, 320px);
  justify-self: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.specs-section {
  padding-top: 0;
  padding-bottom: 30px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.spec-list div {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-list div + div {
  border-left: 1px solid var(--line);
}

.spec-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.spec-list strong {
  font-size: 0.94rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.feature-number {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin: 32px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.feature p {
  color: var(--muted);
  font-size: 0.94rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.screen-card {
  margin: 0;
  padding: 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(36, 28, 83, 0.08);
}

.screen-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 904;
  object-fit: contain;
  border-radius: 18px;
}

.screen-card figcaption {
  padding: 18px 4px 0;
  font-weight: 800;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-panel .button {
  flex: 0 0 auto;
  margin-top: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.not-found {
  min-height: calc(100vh - 73px);
  padding-top: clamp(90px, 14vw, 180px);
  padding-bottom: 100px;
}

.not-found h1 {
  max-width: 850px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.privacy-wrap {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 92px 0 120px;
}

.privacy-wrap h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.updated {
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-wrap h2 {
  margin: 54px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}

.privacy-wrap p,
.privacy-wrap li {
  color: #565368;
}

.notice {
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--coral);
  border-radius: 5px 16px 16px 5px;
  background: #fff1ed;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 940px) and (min-width: 761px) {
  .picna-hero .app-icon {
    width: min(30vw, 270px);
  }

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

  .spec-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-list div:nth-child(3) {
    border-left: 0;
  }

  .spec-list div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
    width: min(calc(100% - 24px), var(--max));
    gap: 10px;
  }

  .nav-links {
    gap: clamp(7px, 2.5vw, 12px);
    font-size: clamp(0.67rem, 2.7vw, 0.78rem);
    white-space: nowrap;
  }

  .hero,
  .picna-hero,
  .app-card,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 78px;
  }

  .picna-hero {
    text-align: center;
  }

  .picna-hero .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .picna-hero .actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 330px;
  }

  .app-card-visual {
    min-height: 330px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .spec-list,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .spec-list div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: clamp(100px, 32vw, 130px);
    max-height: 24px;
  }

  .picna-hero .app-icon {
    width: min(64vw, 250px);
  }

  .screen-card {
    width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
  }

  .screen-card img {
    border-radius: 14px;
  }

  .button {
    min-height: 48px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .nav-links {
    gap: 7px;
    font-size: 0.65rem;
  }

  .brand-logo {
    width: 92px;
  }

  h1 {
    overflow-wrap: anywhere;
  }
}

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

  .button {
    transition: none;
  }
}
