/* pac-studio.com — Flat + Liquid Glass Green Design */
:root {
  --bg-base: #f2f8f4;
  --ink: #13251b;
  --muted: #4b6356;
  --green: #16803c;
  --green-deep: #0f5f2c;
  --green-soft: rgba(22, 128, 60, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.56);
  --glass-bg-strong: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(20, 95, 44, 0.1);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 12px 32px rgba(15, 76, 39, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
  word-break: normal;
  word-break: auto-phrase;
  position: relative;
  overflow-x: hidden;
}

a {
  color: var(--green-deep);
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Soft Ambient Liquid Green Mesh */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(134, 239, 172, 0.42), transparent 44%),
    radial-gradient(circle at 86% 18%, rgba(167, 243, 208, 0.45), transparent 46%),
    radial-gradient(circle at 75% 78%, rgba(187, 247, 208, 0.38), transparent 48%),
    radial-gradient(circle at 18% 82%, rgba(209, 250, 229, 0.42), transparent 44%),
    #f3faf5;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}
.orb-1 { width: 420px; height: 420px; top: -80px; left: -60px; background: #86efac; }
.orb-2 { width: 380px; height: 380px; top: 30%; right: -100px; background: #6ee7b7; }
.orb-3 { width: 460px; height: 460px; bottom: -120px; left: 25%; background: #bbf7d0; }

/* Liquid Glass Surfaces */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 26px;
}

.glass-subtle {
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  border-radius: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 250, 245, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
}

/* Mobile Menu (clean frosted hamburger, no awkward lone button) */
.sp-menu {
  display: none;
  position: relative;
}

.sp-menu summary {
  list-style: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sp-menu summary::-webkit-details-marker {
  display: none;
}

.sp-bars,
.sp-bars::before,
.sp-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  content: "";
}

.sp-bars::before { position: absolute; top: -6px; left: 0; }
.sp-bars::after { position: absolute; top: 6px; left: 0; }

.sp-panel {
  position: absolute;
  right: 0;
  top: 48px;
  width: 220px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.sp-panel a:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

/* Hero */
.hero {
  padding: 56px 0 32px;
}

.hero-card {
  padding: 56px 52px;
  background: rgba(255, 255, 255, 0.52);
}

.kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--green);
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1.38;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 680px;
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 28px;
}

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

/* Flat + Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  transition: transform 0.14s ease, background 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-deep);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Sections */
.sec {
  padding: 44px 0;
}

.sec-head {
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.38rem, 2.8vw, 1.8rem);
  margin: 0;
  font-weight: 800;
}

/* Business Grid */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.biz-card {
  padding: 26px 24px;
}

.biz-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  line-height: 1.45;
  color: var(--green-deep);
}

.biz-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Live Product Showcase */
.product-shell {
  padding: 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 32px;
  align-items: center;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 95, 44, 0.12);
  color: var(--muted);
}

.tag-live {
  background: var(--green-soft);
  border-color: rgba(22, 128, 60, 0.22);
  color: var(--green-deep);
}

.tag-soon {
  background: rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.2);
  color: #115e59;
}

.product-copy h3,
.upcoming-card h3 {
  font-size: 1.45rem;
  margin: 0 0 6px;
  line-height: 1.38;
}

.product-sub {
  margin: 0 0 14px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--green-deep);
}

.product-desc {
  margin: 0 0 14px;
  font-size: 0.93rem;
  color: var(--muted);
}

.clean-list {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--ink);
}

.clean-list li {
  margin-bottom: 6px;
}

/* App Store Badge + QR */
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  height: 52px;
  width: auto;
}

.qr-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
}

.qr-pill img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.qr-pill span {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--muted);
}

.sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.text-link {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--green-deep);
}

.text-link:hover {
  text-decoration: underline;
}

/* Screenshots Stage */
.shot-stage {
  padding: 20px 16px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
}

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

.shot-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.shot-item figcaption {
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

/* Upcoming */
.upcoming-card {
  padding: 36px;
}

.upcoming-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 18px;
}

.up-item {
  padding: 18px;
}

.up-item h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.up-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

.soon-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Studio Profile */
.profile-box {
  padding: 8px 32px;
}

.profile-list {
  margin: 0;
}

.profile-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-edge);
}

.profile-list > div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-list dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

/* Contact */
.contact-card {
  padding: 44px 32px;
  text-align: center;
}

.contact-card p {
  max-width: 580px;
  margin: 10px auto 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card .contact-sub {
  margin: 18px auto 0;
  font-size: 0.82rem;
}

/* Doc page (privacy.html) */
.doc-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 44px;
}
.doc-card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 14px;
}
.doc-card h2 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
  color: var(--green-deep);
}
.doc-card p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.doc-back {
  margin-top: 22px;
}

/* Footer */
.site-footer {
  margin-top: 28px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(14px);
}

.footer-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
}

.footer-nav a:hover {
  color: var(--green-deep);
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .biz-grid,
  .upcoming-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    padding: 0 18px;
  }
  .site-nav {
    display: none;
  }
  .sp-menu {
    display: block;
  }
  .hero {
    padding: 28px 0 18px;
  }
  .hero-card,
  .product-shell,
  .upcoming-card,
  .contact-card {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .profile-box {
    padding: 6px 20px;
  }
  .profile-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .shot-stage {
    gap: 8px;
    padding: 14px 10px 10px;
  }
  .qr-pill {
    display: none;
  }
}
