@charset "UTF-8";
/*
 * 紹介ページ（/welcome/・/nyan/welcome/）の「うちの子みっけ!」の節。scripts/build-welcome.mjs が入れる。
 * 見た目は うちの子みっけ! の紹介ページの「飼い主の方」の節（mikke の web/assets/css/lp.css の .is_owner・.aud_*・.can_*・common.css の .btn_login）を写した。
 * 紹介ページのほかの節とぶつからないように、名前は mk_ で始める
 */

.mk_sec {
  --mk_aud: #5f8f3a;
  --mk_aud_bg: #eef3d6;
  --mk_aud_ink: #386020;
  --mk_ink: #4a2e22;
  --mk_brown: #8b5e3c;
  position: relative;
  margin-top: 110px;
  padding: 120px 0 150px;
  /* うちの子みっけ! の紹介ページの最初の絵（丘と犬猫）。広い画面は横長・スマホは縦長 */
  background: #eef3d6 url("/img/mikke/bg_wide.webp") center top / cover no-repeat;
  color: var(--mk_ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}

/* 上と下の境目：紹介ページの料金の帯と同じ波の形（紙の色で絵の端を切る） */
.mk_sec::before,
.mk_sec::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20c-150 22-300 30-470 16S660 6 480 12 170 40 0 24z' fill='%23f8efe3'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.mk_sec::before {
  top: -1px;
}

.mk_sec::after {
  bottom: -1px;
  transform: scale(-1, -1);
}

/* 境目をまたいで歩く足あと（上は紙から絵へ入っていく・下は絵から紙へ出ていく） */
.mk_paws {
  position: absolute;
  z-index: 1;
  width: 170px;
  height: 130px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a3a26'%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") 0 0 / 28px 28px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a3a26'%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") 44px 36px / 28px 28px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a3a26'%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") 86px 64px / 28px 28px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a3a26'%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") 130px 98px / 28px 28px no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.mk_paws_top {
  left: 6%;
  top: -54px;
  transform: rotate(-8deg);
}

.mk_paws_bottom {
  left: 30%;
  bottom: -64px;
  transform: rotate(10deg);
}

.mk_inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.mk_head {
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 2px solid rgba(139, 94, 60, 0.3);
  border-radius: 30px 36px 32px 38px / 34px 30px 38px 32px;
  background: rgba(251, 244, 227, 0.94);
  box-shadow: 0 10px 24px rgba(90, 60, 30, 0.18);
}

.mk_logo {
  width: 190px;
  height: auto;
}

.mk_label {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--mk_aud);
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.mk_h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 6px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  border-bottom: 5px dotted rgba(95, 143, 58, 0.55);
  text-wrap: balance;
}

.mk_role {
  max-width: 720px;
  margin: 0;
  padding: 12px 18px;
  border: 2px dashed var(--mk_aud);
  border-radius: 18px 24px 16px 22px / 22px 16px 24px 18px;
  background: var(--mk_aud_bg);
  font-size: 16px;
  font-weight: 700;
}

.mk_box {
  padding: 22px;
  border: 2px solid rgba(139, 94, 60, 0.25);
  border-radius: 22px;
  background: #fff;
}

.mk_box_h {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--mk_aud_ink);
}

.mk_can {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk_can_item {
  position: relative;
  padding-left: 30px;
}

.mk_can_item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mk_aud);
}

.mk_can_item b {
  display: block;
  font-weight: 900;
}

.mk_can_item span {
  display: block;
  font-size: 15px;
}

.mk_cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 22px;
}

/* うちの子みっけ! の .btn.btn_login と同じ形 */
.mk_btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 26px;
  border: 2px solid var(--mk_brown);
  border-radius: 999px;
  background: linear-gradient(#b8dc87, #9cc66b);
  box-shadow: 0 4px 0 rgba(139, 94, 60, 0.55);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--mk_ink);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.12s;
}

.mk_btn:hover {
  transform: translateY(1px);
  box-shadow: 0 3px 0 rgba(139, 94, 60, 0.55);
}

.mk_btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(139, 94, 60, 0.55);
}

.mk_link {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--mk_ink);
  white-space: nowrap;
}

.mk_note {
  display: inline-block;
  margin: 16px 0 0;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(251, 244, 227, 0.94);
  font-size: 14px;
}

.mk_link {
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(251, 244, 227, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  .mk_btn {
    transition: none;
  }
}

@media (max-width: 900px) {
  .mk_can {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mk_sec {
    margin-top: 70px;
    /* 絵の犬と猫（幅の 70% くらいの高さ）が見えるところから枠を始める */
    padding: 72vw 0 110px;
  }
  .mk_sec::before,
  .mk_sec::after {
    height: 40px;
  }
  .mk_paws {
    transform: scale(0.75);
  }
  .mk_inner {
    padding: 0 16px;
  }
  .mk_sec {
    /* 縦長の絵を幅に合わせて上に敷く（引き伸ばすと空ばかりになる）。下は絵の草の色で続ける */
    background: #d6dc93 url("/img/mikke/bg_mobile.webp?v=2") center top / 100% auto no-repeat;
  }
  .mk_head {
    padding: 18px 16px;
  }
  .mk_box {
    padding: 18px 16px;
  }
  .mk_btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ---- 同行避難の準備（/bosai/）への帯。できることの節のすぐ下。紹介ページの色に合わせる（bs_ で始める） ---- */
.bs_band {
  padding: 56px 20px 0;
}

.bs_band_card {
  max-width: 1056px;
  margin: 0 auto;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 2px solid #5a3a26;
  border-radius: 24px;
  background: #f9e4d1;
  box-shadow: 0 6px 0 rgba(90, 58, 38, 0.12);
}

.bs_band_pets {
  display: flex;
  align-items: flex-end;
}

.bs_band_pets img {
  width: 92px;
  height: auto;
}

.bs_band_pets img + img {
  margin-left: -18px;
}

.bs_band_eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #c97a55;
}

.bs_band_title {
  margin: 2px 0 0;
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.5;
  color: #3d2b20;
}

.bs_band_text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f4339;
}

.bs_band_btn {
  flex-shrink: 0;
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #5a3a26;
  box-shadow: 0 5px 0 #3b2416;
  color: #fffdf9;
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.bs_band_btn:hover {
  box-shadow: 0 3px 0 #3b2416;
  transform: translateY(2px);
}

@media (max-width: 900px) {
  .bs_band_card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .bs_band_btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .bs_band {
    padding: 44px 16px 0;
  }
  .bs_band_card {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 10px;
  }
  .bs_band_pets img {
    width: 64px;
  }
  .bs_band_pets img + img {
    margin-left: -14px;
  }
}

/* ---- 動物病院・トリミングサロン・ペットホテルの方への帯（/jigyosha/）。同行避難の帯と同じ見た目＋種類ごとの小さなボタン ---- */
.jg_band {
  padding-bottom: 56px;
}

.jg_band .bs_band_title {
  word-break: auto-phrase;
  text-wrap: balance;
}

.jg_kinds {
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jg_kinds a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  border: 2px solid #5a3a26;
  background: #fffdf9;
  color: #5a3a26;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.jg_kinds a:hover {
  background: #f3d3b5;
}

@media (max-width: 640px) {
  .jg_band {
    padding-bottom: 44px;
  }
  /* スマホでは短い名前で3つを1段に（2つと1つに分かれないように） */
  .jg_kinds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .jg_kinds a {
    justify-content: center;
    padding: 0 8px;
  }
  .jg_long {
    display: none;
  }
}
