/* Monivo Web — デザインはアプリの「あさやけ」に合わせる */
:root {
  --ink: #3d2c29;
  --text-soft: #7c6459;
  --text-faint: #a8887b;
  --accent: #e85a3e;
  --accent-soft: #f2765a;
  --accent-deep: #b5502f;
  --card: #fffdfb;
  --cream-soft: #f6eee3;
  --chip: #fff3ea;
  --bg-top: #fff7ef;
  --bg-bottom: #ffeddd;
  --shadow: rgba(184, 120, 90, 0.14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* ヘッダー */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  max-width: 1040px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand-mark {
  /* アプリアイコンそのもの。角丸は画像側で抜いてあるので、ここでは足さない */
  width: 30px;
  height: 30px;
  display: block;
  flex: none;
  /* アイコンの地色がヘッダーとほぼ同じで輪郭が消えるため、形にそって影を落とす。
     box-shadowだと透明な角の外まで四角い影が出るので使わない */
  filter: drop-shadow(0 1px 2px rgba(140, 74, 44, 0.3));
}
.site-header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.site-header nav a { color: var(--text-soft); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

/* ヒーロー：イラストを全幅で敷いて、その上にコピーを置く */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  /* 絵は 1916×821（約2.33:1）。42vw だと画面幅いっぱいに敷いたときの
     絵の高さとほぼ一致するので、ここを大きく外すと上下が切れる */
  min-height: clamp(320px, 42vw, 700px);
  padding: 32px 0 44px;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 人物は絵の右側。切れるときは左の余白から削る */
  object-position: 100% 50%;
}
/* コピーの下地。絵の左側はもともと明るいが、画面が広いと人物が寄ってくるので薄く敷く。
   上下は、ページの地色との継ぎ目を隠すためにぼかす */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #fff4ea 0%, rgba(255, 244, 234, 0) 10%),
    linear-gradient(0deg, #fff2e7 0%, rgba(255, 242, 231, 0) 16%),
    linear-gradient(90deg, rgba(255, 243, 232, 0.9) 0%,
      rgba(255, 243, 232, 0.68) 30%, rgba(255, 243, 232, 0) 60%);
}
.hero-copy {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 人物に文字が重ならないよう、コピーの幅は絵の左半分までに抑える。
   画面が狭いほど人物が左に寄ってくるので vw でも頭を押さえる */
.hero-text { max-width: min(460px, 52vw); }
/* 配信中バッジ。ページを開いた人が「もう入れられる」と最初に分かるように置く */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid rgba(232, 90, 62, 0.24);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.7;
}
.badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.4;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.hero .lead {
  font-size: 15.5px;
  color: var(--text-soft);
  margin: 0 0 26px;
}
.hero-shots {
  max-width: 1040px;
  margin: 34px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 18px;
  justify-content: center;
  /* 🚨既定の stretch のままだと、flexの子である端末画像が縦に引き伸ばされる */
  align-items: flex-start;
}
.hero-shots img {
  width: 42%;
  max-width: 234px;
  height: auto;
  /* 端末フレーム入りの透過画像なので、角丸と箱の影は付けない。
     付けると四角い影が端末の外に出る。影は形にそって落とす */
  filter: drop-shadow(0 18px 30px rgba(140, 74, 44, 0.28));
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(232, 90, 62, 0.3);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* 狭いところでは2つが縦に並ぶ。文字数が違うので幅をそろえないと段がガタつく */
.cta-row .cta {
  justify-content: center;
  min-width: 258px;
}
/* Google Play 側は「もう一方の入口」なので、色を持たせず主役を1つに保つ */
.cta-play {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(140, 74, 44, 0.16);
}
.cta-note { font-size: 12px; color: var(--text-faint); margin-top: 12px; }

/* 特徴 */
.features {
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.feature {
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 22px var(--shadow);
}
/* キャラは装飾なので alt を空にし、読み上げから外している */
.feature img.icon { width: 56px; height: 56px; object-fit: contain; display: block; }
.feature h3 { margin: 10px 0 6px; font-size: 16px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--text-soft); }

/* 文書ページ */
.doc {
  background: var(--card);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 10px 28px var(--shadow);
}
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc .updated { font-size: 12.5px; color: var(--text-faint); margin: 0 0 26px; }
.doc h2 {
  font-size: 17px;
  margin: 34px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--accent-soft);
}
.doc h3 { font-size: 15px; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 14.5px; color: var(--text-soft); }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 12px 0 4px;
}
.doc th, .doc td {
  border-bottom: 1px solid var(--cream-soft);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  color: var(--text-soft);
}
.doc th { color: var(--ink); white-space: nowrap; }
.callout {
  background: var(--chip);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--text-soft);
}
.callout strong { color: var(--accent-deep); }

/* お問い合わせ */
.contact-card {
  background: var(--card);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 10px 28px var(--shadow);
  text-align: center;
}
.contact-card h1 { font-size: 25px; margin: 0 0 10px; }
.contact-card p { color: var(--text-soft); font-size: 14.5px; }

/* フッター */
.site-footer {
  border-top: 1px solid rgba(168, 136, 123, 0.22);
  padding: 26px 20px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}
.site-footer nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
/* 言語切り替え。ふだんは端末の言語で出し分かるので、控えめに置く */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12.5px;
}
.lang-switch select {
  font: inherit;
  color: var(--text-soft);
  background: var(--card);
  border: 1px solid rgba(168, 136, 123, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
}

@media (max-width: 760px) {
  /* 横長の絵に文字を重ねると読めないので、スマホでは絵を上・コピーを下に積む */
  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 4px;
    text-align: center;
    overflow: visible;
  }
  .hero::after { display: none; }
  .hero-art {
    position: static;
    width: 100%;
    height: auto;
    /* 横をもっと切り詰めて人物に寄る（16/10 だと壁の余白ばかりになる） */
    aspect-ratio: 4 / 3;
    /* 下端をぼかしてページの地色へつなぐ（切り落としだと写真を切ったように見える） */
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  }
  .hero-copy { padding: 14px 20px 0; }
  .hero-text { max-width: none; }
  .cta-row { justify-content: center; }
  .hero-shots { margin-top: 28px; }
  .hero-shots img { width: 44%; }
  .doc { padding: 26px 20px; border-radius: 20px; }
}
