@charset "UTF-8";
/*
 * 同行避難の準備（/bosai/）。わんこ・にゃんこ共通の1ページ。
 * 見た目は紹介ページ（docs/lp/index.html のテーマ「あいさつ」）の部品を写した：紙の地と足あと・桃色の丸い形・蛍光ペンの下線・
 * 二重線のカードと足あと・茶色の影つきボタン・まる子と吹き出し（2026-10-14 kawabe さん「紹介ページ風に」）
 */

:root {
  --paper: #f8efe3;
  --peach: #f3d3b5;
  --peach_soft: #f9e4d1;
  --peach_band: #f4cfae;
  --terracotta: #c97a55;
  --ink: #3d2b20;
  --ink_soft: #4f4339;
  --brown: #5a3a26;
  --collar: #8b4a26;
  --sage: #7c8a5a;
  --line: #e6d3bf;
  --white: #fffdf9;
  --head: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238b4a26'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.8' cy='10.2' rx='2' ry='2.6'/%3E%3Cellipse cx='9.8' cy='6.6' rx='2' ry='2.6'/%3E%3Cellipse cx='14.2' cy='6.6' rx='2' ry='2.6'/%3E%3Cellipse cx='18.2' cy='10.2' rx='2' ry='2.6'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  background-color: var(--paper);
  /* 紙の上に、うすい足あとを散らす（紹介ページと同じ） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='%23c99a78' fill-opacity='.18'%3E%3Cg transform='translate(36 70) rotate(-20)'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.8' cy='10.2' rx='2' ry='2.6'/%3E%3Cellipse cx='9.8' cy='6.6' rx='2' ry='2.6'/%3E%3Cellipse cx='14.2' cy='6.6' rx='2' ry='2.6'/%3E%3Cellipse cx='18.2' cy='10.2' rx='2' ry='2.6'/%3E%3C/g%3E%3Cg transform='translate(440 300) rotate(24)'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.8' cy='10.2' rx='2' ry='2.6'/%3E%3Cellipse cx='9.8' cy='6.6' rx='2' ry='2.6'/%3E%3Cellipse cx='14.2' cy='6.6' rx='2' ry='2.6'/%3E%3Cellipse cx='18.2' cy='10.2' rx='2' ry='2.6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 520px;
}

a {
  color: var(--collar);
}

img {
  max-width: 100%;
  height: auto;
}

/* ヘッダー：紹介ページ（/welcome/）と同じ作り */
.site_header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 239, 227, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site_header .wrap {
  width: 100%;
  max-width: 1120px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header_logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.header_logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.header_logo span {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header_nav {
  display: none;
  align-items: center;
  gap: 26px;
}

.header_nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header_nav a:hover,
.header_login:hover {
  color: var(--collar);
}

.header_actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header_login {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header_cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .site_header .wrap {
    padding: 0 32px;
  }
  .header_nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  .site_header .wrap {
    padding: 0 16px;
  }
  .header_logo span {
    font-size: 17px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 420px) {
  .site_header .wrap {
    gap: 14px;
  }
  .header_logo {
    gap: 5px;
  }
  .header_logo svg {
    width: 24px;
    height: 24px;
  }
  /* ロゴとログインの間が詰まって見えたので、字を少し小さく（2026-10-14 kawabe さん） */
  .header_logo span {
    font-size: 13px;
    letter-spacing: 0;
  }
  .header_login {
    padding: 0 6px;
    font-size: 13px;
  }
  .header_cta {
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 359px) {
  /* とても狭い画面では、ロゴは足あとのマークだけ（名前は aria-label で読まれる。紹介ページと同じ） */
  .header_logo span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.page {
  overflow: hidden;
}

/* ヒーロー */
.hero {
  position: relative;
  padding: 28px 16px 36px;
}

.hero::before {
  /* 左上の、うすい桃色の丸い形 */
  content: "";
  position: absolute;
  left: -140px;
  top: -120px;
  width: 380px;
  height: 380px;
  background: var(--peach_soft);
  border-radius: 46% 54% 60% 40% / 52% 40% 60% 48%;
  pointer-events: none;
}

.hero_blob {
  position: absolute;
  right: -160px;
  top: 60px;
  width: 460px;
  height: 460px;
  background: var(--peach);
  border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%;
  pointer-events: none;
}

.hero_inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  gap: 6px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--brown);
}

.eyebrow::before {
  content: "＼";
}

.eyebrow::after {
  content: "／";
}

.page_title {
  margin: 8px 0 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 50px);
  line-height: 1.4;
}

.page_title em {
  font-style: normal;
  padding: 0 4px;
  border-radius: 4px;
  background: linear-gradient(transparent 58%, var(--peach) 58%, var(--peach) 92%, transparent 92%);
  white-space: nowrap;
}

.page_title_sub {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--ink_soft);
}

.updated {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink_soft);
}

/* わんこ（まる子）とにゃんこを並べる。にゃんこは少し後ろに重ねる */
.hero_pets {
  position: relative;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 40px;
}

.hero_pets img {
  display: block;
  height: auto;
}

.hero_dog {
  position: relative;
  z-index: 1;
  width: 190px;
}

.hero_cat {
  width: 170px;
  margin-left: -40px;
}

.hero_bubble {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px 16px;
  border-radius: 50%;
  border: 2px solid var(--brown);
  background: var(--white);
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  transform: rotate(6deg);
}

.hero_bubble::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -9px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-right: 2px solid var(--brown);
  border-bottom: 2px solid var(--brown);
  transform: rotate(35deg) skewX(10deg);
}

.article {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

/* 数字の帯 */
.stats {
  padding: 22px 18px 16px;
  border-radius: 28px;
  background: var(--peach_band);
}

.stats_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  padding: 14px 10px;
  border-radius: 20px;
  background: var(--white);
  border: 2px solid var(--brown);
  text-align: center;
}

.stat p {
  margin: 0;
}

.stat_num {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 44px);
  line-height: 1.2;
  color: var(--collar);
}

.stat_num small {
  font-size: 0.5em;
}

.stat_text {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.src {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink_soft);
}

.lead {
  margin-top: 28px;
}

.lead p,
.block p {
  margin: 0 0 14px;
}

.lead p:last-child,
.block p:last-child {
  margin-bottom: 0;
}

/* 目次 */
.toc {
  margin-top: 24px;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* 数が奇数のときは、最後の1つを横いっぱいに（1つだけ下に残る半端な並びにしない。2026-10-18 kawabe さん） */
.toc li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.toc a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 2px solid var(--brown);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}

.toc a span {
  flex-shrink: 0;
  font-family: var(--head);
  font-weight: 900;
  color: var(--terracotta);
}

/* 節：手描きふうの二重線のカード（紹介ページの「できること」と同じ） */
.block {
  position: relative;
  margin-top: 36px;
  padding: 28px 24px 32px;
  border-radius: 22px;
  border: 2px solid var(--brown);
  background: var(--white);
}

.block::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.2px solid rgba(90, 58, 38, 0.45);
  border-radius: 17px;
  pointer-events: none;
}

.block::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  background: var(--paw) center / contain no-repeat;
  transform: rotate(-12deg);
  opacity: 0.8;
}

.nowrap {
  white-space: nowrap;
}

.block_title {
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(21px, 3.4vw, 27px);
  line-height: 1.45;
}

.num {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--peach_soft);
  font-size: 15px;
  color: var(--terracotta);
}

.sub_title {
  margin: 24px 0 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 17px;
}

.fact_row {
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fact {
  padding: 14px;
  border-radius: 18px;
  background: var(--peach_soft);
}

.fact p {
  margin: 0;
}

.fact_num {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.2;
  color: var(--collar);
}

.fact_num small {
  font-size: 0.55em;
}

.fact_text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.steps {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  position: relative;
  padding-left: 46px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-family: var(--head);
  font-weight: 900;
}

.steps strong {
  display: block;
  font-family: var(--head);
}

.check_list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.check_list li {
  position: relative;
  padding: 6px 0 6px 30px;
  border-bottom: 1px dashed var(--line);
}

.check_list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--sage);
  border-radius: 5px;
  background: var(--white);
}

/* ストアのリンク */
.store {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: var(--paper);
}

.store_title {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
}

.store_note {
  margin: 2px 0 10px;
  font-size: 13px;
  color: var(--ink_soft);
}

.store_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.store_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.store_name {
  font-weight: 700;
}

.store_links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.store_btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 4px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1.5px solid var(--brown);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* カードを作る：桃色の帯にする */
.block_app {
  background: var(--peach_soft);
}

.block_app .num {
  background: var(--white);
}

.app_row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 16px;
}

.phone {
  width: 220px;
  padding: 8px;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(61, 43, 32, 0.5);
}

.app_shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23px;
}

.note {
  font-size: 14px;
  color: var(--ink_soft);
}

.cta_pets {
  display: grid;
  grid-template-columns: 140px auto 140px;
  align-items: end;
  justify-content: center;
  gap: 4px;
  margin-top: 18px;
}

.cta_pets img {
  width: 140px;
  height: auto;
}

.cta_pets .cta_bubble {
  align-self: center;
  text-align: center;
  white-space: nowrap;
}

/* 家での避難：寝ている2匹 */
.block_pets {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: -6px 0 10px;
}

.block_pets img {
  width: 130px;
  height: auto;
}

/* 寝ているにゃんこは、まる子より小さく（2026-10-15 kawabe さん） */
.block_pets img + img {
  width: 92px;
}

.cta_bubble {
  margin: 0 !important;
  padding: 8px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--white);
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}

.cta {
  margin: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta_btn {
  min-height: 58px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta_wan {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 5px 0 #3b2416;
}

.cta_nyan {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 5px 0 #56603d;
}

.cta_wan:hover,
.cta_nyan:hover {
  transform: translateY(2px);
}

.cta_sub {
  border: 2px solid var(--brown);
  background: var(--white);
  color: var(--brown);
}

.link_list {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

.link_list li {
  margin-bottom: 6px;
}

/* フッター */
.site_footer {
  padding: 28px 16px 40px;
  background: #4e3426;
  color: #f6e9d8;
  font-size: 13px;
}

.site_footer a {
  color: #f6e9d8;
}

.footer_links {
  max-width: 820px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer_note {
  max-width: 820px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta_btn {
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero_inner {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .hero_dog {
    width: 145px;
  }
  .hero_cat {
    width: 130px;
    margin-left: -26px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 20px 16px 24px;
  }
  .hero_blob {
    right: -200px;
    top: 120px;
    width: 340px;
    height: 340px;
  }
  .hero_inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero_pets {
    margin-top: 6px;
    padding-top: 30px;
  }
  .hero_dog {
    width: 150px;
  }
  .hero_cat {
    width: 136px;
    margin-left: -30px;
  }
  .hero_bubble {
    right: 0;
    top: -8px;
    font-size: 13px;
  }
  .stats {
    padding: 16px 12px 12px;
  }
  .stats_list {
    gap: 6px;
  }
  .stat {
    padding: 10px 4px;
    border-radius: 16px;
  }
  .stat_text {
    font-size: 12px;
  }
  .toc ol {
    grid-template-columns: 1fr;
  }
  .block {
    padding: 24px 18px 30px;
  }
  .app_row {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 200px;
    margin: 0 auto;
  }
  .cta_pets {
    grid-template-columns: 96px auto 96px;
  }
  .cta_pets img {
    width: 96px;
  }
  .cta_bubble {
    font-size: 14px;
  }
  .block_pets img {
    width: 110px;
  }
  .block_pets img + img {
    width: 78px;
  }
}
