/* おさんぽカメラ LP / 法的文書共通スタイル
   DesignSystem の Coral / Paper / Ink パレットに合わせる。
   レスポンシブ: スマホ縦長を主、PC は中央寄せ + max-width。 */

:root {
  --paper: #FBF5EA;
  --paper-warm: #FFFDF7;
  --ink: #1A1814;
  --ink-soft: #5A4F45;
  --coral: #FF7448;
  --coral-deep: #E5552A;
  --coral-soft: #FFD9C7;
  --mint: #59D6A8;
  --mint-soft: #C8F0DE;
  --berry: #E8487E;
  --berry-soft: #F8C6D6;
  --block: #F1E9D7;
  --shadow-soft: 0 4px 14px rgba(40, 28, 20, 0.06);
  --shadow-float: 0 8px 28px rgba(40, 28, 20, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

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

a:hover {
  color: var(--coral);
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1120px;
}

/* Header / Nav */
.site-header {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--block);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .logo {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--coral-deep);
}

@media (max-width: 480px) {
  .site-header nav {
    gap: 12px;
    font-size: 13px;
  }

  .site-header .logo {
    font-size: 16px;
  }
}

/* Hero (index only) */
.hero {
  position: relative;
  padding: 48px 0 56px;
  background-image: url("hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero-tag {
  display: inline-block;
  background: var(--coral);
  color: var(--paper-warm);
  font-weight: 800;
  font-size: 15px;
  padding: 8px 20px;
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(255, 116, 72, 0.30);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 253, 247, 0.6);
}

.hero-title .title-line-1 {
  display: block;
  color: var(--ink);
}

.hero-title .title-line-2 {
  display: block;
  color: var(--coral);
  background-image: radial-gradient(circle, var(--coral) 1.5px, transparent 1.5px);
  background-position: 0 100%;
  background-size: 14px 5px;
  background-repeat: repeat-x;
  padding-bottom: 8px;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
  margin-top: 12px;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
}

.app-name {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.app-name-accent {
  color: var(--coral);
}

.app-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-tag-chip {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
}

.chip-coral {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.chip-mint {
  background: var(--mint-soft);
  color: #1F8E66;
}

.chip-berry {
  background: var(--berry-soft);
  color: var(--berry);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-cta-note {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-desc {
  background: rgba(255, 253, 247, 0.85);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.hero-desc::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #FFC75F 35%, transparent 36%);
}

.hero-phones {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phones .phone {
  position: absolute;
  width: 180px;
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow-float);
  border: 4px solid #16161a;
  background: #16161a;
}

.hero-phones .phone-left {
  transform: rotate(-9deg) translateX(-110px);
  z-index: 1;
}

.hero-phones .phone-center {
  transform: translateY(-8px) scale(1.08);
  z-index: 3;
}

.hero-phones .phone-right {
  transform: rotate(9deg) translateX(110px);
  z-index: 2;
}

@media (max-width: 880px) {
  .hero {
    padding: 32px 0 40px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-phones {
    height: 380px;
  }

  .hero-phones .phone {
    width: 150px;
  }

  .hero-phones .phone-left {
    transform: rotate(-8deg) translateX(-85px);
  }

  .hero-phones .phone-right {
    transform: rotate(8deg) translateX(85px);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-tag {
    font-size: 13px;
    padding: 6px 14px;
  }

  .hero-phones {
    height: 320px;
  }

  .hero-phones .phone {
    width: 124px;
  }

  .hero-phones .phone-left {
    transform: rotate(-8deg) translateX(-70px);
  }

  .hero-phones .phone-right {
    transform: rotate(8deg) translateX(70px);
  }
}

/* App Store badge (公式 Marketing Guidelines 準拠: アスペクト比維持・最小高さ 40pt 以上・周囲にクリアスペース) */
.app-store-badge-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.15s ease;
  /* クリアスペース: バッジ周囲に最低でも Apple ロゴ 1 個分の余白を確保 */
  padding: 4px;
}

.app-store-badge-link:hover {
  opacity: 0.85;
}

.app-store-badge {
  display: block;
  height: 48px;
  width: auto;
}

.app-store-badge-large {
  height: 64px;
}

/* Section title (dotted underline like 流れ / 続く理由) */
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 32px;
  color: var(--coral-deep);
}

.section-title span {
  display: inline-block;
  padding: 0 8px;
  background-image: radial-gradient(circle, var(--coral) 1.5px, transparent 1.5px);
  background-position: 0 100%, 0 0;
  background-size: 12px 4px;
  background-repeat: repeat-x;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* おさんぽの流れ (3 steps) */
.flow {
  padding: 56px 0 48px;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.flow-card {
  background: var(--paper-warm);
  border-radius: 22px;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.flow-num {
  position: absolute;
  top: -14px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 4px 10px rgba(40, 28, 20, 0.15);
}

.flow-num-1 {
  background: #FFA85A;
}

.flow-num-2 {
  background: #59D6A8;
}

.flow-num-3 {
  background: #F472A2;
}

.flow-illust {
  width: 120px;
  height: 120px;
  object-fit: contain;
  align-self: center;
  margin: 8px 0 6px;
}

.flow-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.flow-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.flow-arrow {
  align-self: center;
  color: var(--coral);
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 720px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 2px 0;
  }

  .flow-illust {
    width: 140px;
    height: 140px;
  }
}

/* おさんぽが続く理由 (3 reasons) */
.reasons {
  padding: 48px 0 56px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

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

.reason-card {
  background: rgba(255, 253, 247, 0.92);
  border-radius: 22px;
  padding: 22px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}

.reason-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.reason-text {
  min-width: 0;
}

.reason-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
}

.reason-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA section */
.cta {
  padding: 48px 0 56px;
  text-align: center;
}

/* Screenshots gallery (もっと見る) */
.screenshots {
  padding: 48px 0 32px;
}

.screenshots h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--coral-deep);
}

.screenshot-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
}

.screenshot-scroll figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}

.screenshot-scroll img {
  display: block;
  width: 220px;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-float);
  background: var(--paper-warm);
}

@media (min-width: 720px) {
  .screenshot-scroll img {
    width: 240px;
  }
}

/* Section */
section.content {
  padding: 40px 0;
}

section.content h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  border-left: 4px solid var(--coral);
  padding-left: 12px;
}

section.content h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

section.content ul,
section.content ol {
  padding-left: 22px;
}

section.content li {
  margin: 6px 0;
}

/* Privacy / Terms */
.legal-doc {
  padding: 40px 0 64px;
}

.legal-doc h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

.legal-doc .updated {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0 0 32px;
}

.legal-doc h2 {
  font-size: 19px;
  margin: 32px 0 8px;
  border-left: 4px solid var(--coral);
  padding-left: 12px;
}

.legal-doc h3 {
  font-size: 16px;
  margin: 20px 0 6px;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
}

.legal-doc th,
.legal-doc td {
  border: 1px solid var(--block);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  background: var(--paper-warm);
  font-size: 12px;
  color: var(--ink-soft);
}

/* Privacy callouts */
.callout {
  background: var(--paper-warm);
  border-left: 4px solid var(--mint);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  margin: 18px 0;
  font-size: 14px;
}

/* FAQ */
.faq dt {
  font-weight: 700;
  margin-top: 18px;
  color: var(--ink);
}

.faq dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Support form embed */
.support-frame {
  width: 100%;
  height: 800px;
  border: 0;
  border-radius: 16px;
  background: var(--paper-warm);
  box-shadow: var(--shadow-soft);
}

.support-frame-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--block);
  padding: 32px 0 40px;
  margin-top: 64px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.site-footer .links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer .links a:hover {
  color: var(--coral-deep);
}

.site-footer .copyright {
  margin: 0;
}