/* Petelle web — LP & legal pages
   Brand palette (app と統一):
     emphasis (pink)   #FF94B0   emphasisDark #E66886
     accent (blue)     #D5EAF2   accentDark   #9BC8D8
     sub (pink tint)   #FFE4EE
     text primary      #2D3142   secondary    #8B8E99
     bg                #FCFCFD   surface      #FFFFFF
*/

:root {
  --pink: #ff94b0;
  --pink-dark: #e66886;
  --blue: #d5eaf2;
  --blue-dark: #9bc8d8;
  --pink-tint: #ffe4ee;
  --text: #2d3142;
  --text-sub: #8b8e99;
  --bg: #fcfcfd;
  --surface: #ffffff;
  --border: #edeef2;
  --radius: 16px;
  --maxw: 1080px;
  --shadow: 0 8px 30px rgba(45, 49, 66, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pink-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ───────────────────────────────── */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 253, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--pink-dark);
  text-decoration: none;
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 148, 176, 0.45);
}
.btn-primary:hover {
  background: var(--pink-dark);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ── Hero ─────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--pink-tint) 0%, var(--blue) 100%);
  padding: 72px 0 88px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.hero h1 .accent {
  color: var(--pink-dark);
}
.hero p.lead {
  font-size: 17px;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art img {
  width: 220px;
  height: 220px;
  border-radius: 48px;
  box-shadow: var(--shadow);
}
/* 透過ワードマークロゴはカード装飾なしで配置 */
.hero-art img.wordmark {
  width: auto;
  height: 260px;
  border-radius: 0;
  box-shadow: none;
}

/* ── Sections ─────────────────────────────── */
section.block {
  padding: 80px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-sub);
  font-size: 15px;
}

/* ── Features ─────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: var(--pink-tint);
}
.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ── Plans ────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 2px solid var(--pink);
  box-shadow: var(--shadow);
  position: relative;
}
.plan.featured::after {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.plan .price {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin: 8px 0 4px;
}
.plan .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
}
.plan ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan li {
  font-size: 14px;
  padding-left: 26px;
  position: relative;
  color: var(--text);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink-dark);
  font-weight: 700;
}
.plan li.muted {
  color: var(--text-sub);
}
.plan li.muted::before {
  content: "—";
  color: var(--text-sub);
}

/* ── CTA ──────────────────────────────────── */
.cta {
  background: linear-gradient(160deg, var(--blue) 0%, var(--pink-tint) 100%);
  text-align: center;
}
.cta h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.cta p {
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 28px;
}
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────── */
footer.site-footer {
  background: var(--text);
  color: #cfd3dd;
  padding: 48px 0 32px;
  font-size: 14px;
}
footer .foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
footer .brand {
  color: #fff;
}
footer .foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer .foot-links a {
  color: #cfd3dd;
}
footer .foot-links a:hover {
  color: #fff;
}
footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  color: #8b95a3;
  font-size: 13px;
}

/* ── Legal pages ──────────────────────────── */
.legal {
  padding: 56px 0 80px;
}
.legal .container {
  max-width: 820px;
}
.legal h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-sub);
  font-size: 13px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 18px;
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pink-tint);
}
.legal p,
.legal li {
  font-size: 15px;
  color: #4a4f60;
  margin-bottom: 12px;
}
.legal ul,
.legal ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
.legal .lead {
  background: var(--pink-tint);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.legal th {
  background: #fafbfc;
  width: 34%;
  white-space: nowrap;
}
.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
}

/* ── FAQ トグル（引き継ぎ vs 共有）────────────── */
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.faq > summary::-webkit-details-marker {
  display: none;
}
.faq > summary:hover {
  background: var(--pink-tint);
}
/* ＋ / − マーク */
.faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--pink-dark);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq-mark::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}
.faq-mark::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}
.faq[open] .faq-mark::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-body {
  padding: 4px 24px 24px;
  border-top: 1px solid var(--border);
}
.faq-body > p {
  font-size: 14px;
  color: var(--text-sub);
  margin: 14px 0;
}
.faq-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}
.faq-card {
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 6px;
}
.faq-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}
.faq-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.75;
}
.faq-card strong {
  color: var(--text);
}
.faq-note {
  font-size: 13px;
  color: var(--text-sub);
  background: var(--pink-tint);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px !important;
}

/* ── Contact form ─────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 148, 176, 0.25);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form button {
  align-self: center;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}
.contact-form button:disabled {
  opacity: 0.6;
  cursor: default;
}
/* ハニーポット（画面外に隠す。display:none だと一部 bot に検知されるため） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-status {
  text-align: center;
  font-size: 14px;
  margin: 4px 0 0;
  min-height: 1.2em;
}
.contact-status.success {
  color: #2e9b6b;
}
.contact-status.error {
  color: var(--pink-dark);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-art {
    order: -1;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-cta {
    justify-content: center;
  }
  .features,
  .plans,
  .faq-cards {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  footer .foot-grid {
    flex-direction: column;
  }
}
