@charset "UTF-8";
/*
 * 動物病院・トリミングサロン・ペットホテルの方へ（/jigyosha/ と /jigyosha/clinic/・salon/・hotel/）。
 * HTML は scripts/build-jigyosha.mjs で書き出す（手で直さない）。
 * 地・ヘッダー・フッター・フォントは /bosai/bosai.css。ここは事業者向けの部品と、種類ごとの色（body の kind_*）。
 */

/* 種類ごとの色：病院＝深い緑・サロン＝ローズ・ホテル＝藍。入口は茶 */
#jigyosha {
  /* 日本語を文節で折り返す（1文字だけ次の行に残さない。対応していない端末はふつうの折り返し） */
  word-break: auto-phrase;
  --accent: #5a3a26;
  --accent_deep: #3f2819;
  --accent_soft: #f3e2cf;
  --accent_tint: #fbf3e9;
}

#jigyosha.kind_clinic,
.kind_card.kind_clinic,
.other_card.kind_clinic {
  --accent: #2f6b5e;
  --accent_deep: #1f4d43;
  --accent_soft: #d6eae3;
  --accent_tint: #eef6f2;
}

#jigyosha.kind_salon,
.kind_card.kind_salon,
.other_card.kind_salon {
  --accent: #a8475c;
  --accent_deep: #7d3142;
  --accent_soft: #f6dbe0;
  --accent_tint: #fcf0f2;
}

#jigyosha.kind_hotel,
.kind_card.kind_hotel,
.other_card.kind_hotel {
  --accent: #3d5288;
  --accent_deep: #2a3a66;
  --accent_soft: #dbe2f3;
  --accent_tint: #eff2fa;
}

.icon_sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}

.skip_link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.skip_link:focus {
  top: 12px;
}

#jigyosha a:focus-visible,
#jigyosha .j_btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

#jigyosha .header_cta {
  background: var(--accent);
}

.sp_only {
  display: none;
}

/* ---- 最初の画面 ---- */
.j_hero {
  position: relative;
  padding: 36px 20px 56px;
  overflow: hidden;
}

.j_hero::before {
  content: "";
  position: absolute;
  left: -160px;
  top: -140px;
  width: 420px;
  height: 420px;
  background: var(--accent_tint);
  border-radius: 46% 54% 60% 40% / 52% 40% 60% 48%;
  pointer-events: none;
}

.j_hero_blob {
  position: absolute;
  right: -180px;
  top: 40px;
  width: 560px;
  height: 560px;
  background: var(--accent_soft);
  border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%;
  pointer-events: none;
}

.j_hero_inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: center;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink_soft);
}

.crumb a {
  color: var(--ink_soft);
}

.kind_badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.j_h1 {
  text-wrap: balance;
  word-break: auto-phrase;
  margin: 16px 0 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.38;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.j_h1 em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(transparent 62%, var(--accent_soft) 62%, var(--accent_soft) 94%, transparent 94%);
  padding: 0 2px;
  white-space: nowrap;
}

.j_sub {
  text-wrap: balance;
  word-break: auto-phrase;
  margin: 14px 0 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  color: var(--ink_soft);
}

.j_lead {
  margin: 18px 0 0;
  max-width: 34em;
}

.j_lead p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.9;
}

.j_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.j_btn {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 0 var(--accent_deep);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out;
}

#jigyosha .j_btn {
  color: #fff;
}

.j_btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--accent_deep);
}

#jigyosha .j_btn_ghost {
  background: var(--white);
  color: var(--accent);
  box-shadow: none;
}

.j_btn_ghost:hover {
  transform: none;
  background: var(--accent_tint);
}

#jigyosha .j_btn_light {
  background: var(--white);
  border-color: var(--white);
  color: var(--accent_deep);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.btn_icon {
  width: 20px;
  height: 20px;
}

.j_updated {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink_soft);
}

/* スマホの枠に、アプリの本物の画面 */
.j_hero_visual {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
}

.j_phone {
  position: relative;
  width: 260px;
  padding: 9px;
  border-radius: 38px;
  background: #2b211b;
  box-shadow: 0 30px 60px -24px rgba(61, 43, 32, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.j_phone::before {
  /* 上の切りかき */
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  width: 64px;
  height: 7px;
  margin-left: -32px;
  border-radius: 999px;
  background: #2b211b;
  z-index: 1;
}

.j_phone_img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 1688;
  border-radius: 30px;
}

.phone_hero {
  width: 270px;
}

.hero_peek {
  position: absolute;
  bottom: -18px;
  width: 132px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 10px rgba(61, 43, 32, 0.18));
}

.hero_peek_dog {
  left: -6px;
}

.hero_peek_cat {
  right: -2px;
  width: 118px;
}

.j_bubble {
  position: absolute;
  right: -6px;
  top: 0;
  z-index: 3;
  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);
}

/* 入口：3台のスマホを重ねる */
.j_hero_trio {
  min-height: 560px;
  align-items: center;
}

.j_hero_trio .phone_front {
  z-index: 2;
}

.j_hero_trio .phone_back {
  position: absolute;
  top: 70px;
  width: 210px;
  opacity: 0.96;
}

.j_hero_trio .phone_left {
  left: -40px;
  transform: rotate(-6deg);
}

.j_hero_trio .phone_right {
  right: -40px;
  transform: rotate(6deg);
}

/* ---- 3つのこと ---- */
.points {
  position: relative;
  padding: 0 20px;
  margin-top: -20px;
}

.points_list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.points_list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(61, 43, 32, 0.35);
}

.point_icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: var(--accent_soft);
  color: var(--accent);
}

.points_list strong {
  font-family: var(--head);
  font-size: 16px;
  line-height: 1.5;
}

.points_list span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink_soft);
}

/* ---- 節 ---- */
.j_block {
  padding: 72px 20px;
}

.j_block_tint {
  background: var(--accent_tint);
}

.j_inner {
  max-width: 1080px;
  margin: 0 auto;
}

.j_kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.j_kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.j_title {
  text-wrap: balance;
  word-break: auto-phrase;
  margin: 10px 0 28px;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.5;
  max-width: 26em;
}

.j_title_small {
  font-size: clamp(19px, 2.4vw, 24px);
  margin-bottom: 18px;
}

.j_note {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink_soft);
}

/* 見られる記録 */
.sees_grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

/* 件数で列を決める（最後の段に半端に残さない）：10件＝5列×2・8件＝4列×2・3件＝3列 */
.sees_n8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sees_n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
}

.sees_item {
  padding: 20px 16px 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.sees_icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 50%;
  background: var(--accent_soft);
  color: var(--accent);
}

.sees_name {
  margin: 10px 0 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

.sees_desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink_soft);
}

/* 届けられること */
.send_feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: center;
  padding: 32px 40px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 20px 40px -30px rgba(61, 43, 32, 0.45);
}

.send_feature_text p {
  margin: 0 0 10px;
  line-height: 1.9;
}

.send_label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 900;
  font-size: 20px;
  color: var(--accent_deep);
}

.send_icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
}

.mini_list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mini_list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px dashed var(--line);
}

.mini_icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--accent);
}

.phone_send {
  justify-self: center;
}

.send_cards {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.send_card {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--white);
}

.send_card .send_label {
  font-size: 18px;
}

.send_card p:last-child {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.85;
}

/* しくみ */
.flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: flow;
}

.flow_step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  text-align: center;
}

.flow_step:not(:last-child)::after {
  /* つなぐ線 */
  content: "";
  position: absolute;
  top: 26px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
}

.flow_num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--head);
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 0 0 6px var(--accent_soft);
}

.flow_text {
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}

/* 安心 */
.safe_grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.safe_card {
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.safe_icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent_soft);
  color: var(--accent);
}

.safe_title {
  margin: 12px 0 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 17px;
}

.safe_text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink_soft);
}

/* はじめ方 */
.j_start {
  background: var(--white);
}

.start_steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: st;
}

.start_steps li {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: 20px;
  background: var(--accent_tint);
  counter-increment: st;
}

.start_steps li::before {
  content: "STEP " counter(st);
  position: absolute;
  right: 18px;
  top: 18px;
  font-family: var(--head);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.start_icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--white);
  color: var(--accent);
}

.start_steps strong {
  display: block;
  margin-top: 12px;
  font-family: var(--head);
  font-size: 17px;
}

.start_steps span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink_soft);
}

.cta_band {
  position: relative;
  margin-top: 40px;
  padding: 32px 40px;
  border-radius: 28px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.band_pets {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}

.band_pets img {
  width: 96px;
  height: auto;
}

.band_pets img + img {
  margin-left: -18px;
  width: 86px;
}

.cta_band_text {
  flex: 1;
  margin: 0;
  color: #fff;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.5;
}

/* 入口の種類のカード */
.kind_cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kind_card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.kind_card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(61, 43, 32, 0.5);
}

.kind_card_visual {
  height: 250px;
  padding: 26px 0 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: var(--accent_soft);
}

.phone_card {
  width: 190px;
  height: max-content;
  padding: 7px;
  border-radius: 30px;
}

.phone_card .j_phone_img {
  border-radius: 24px;
}

.phone_card::before {
  top: 12px;
  width: 48px;
  height: 5px;
  margin-left: -24px;
}

.kind_card_body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.kind_card_name {
  margin: 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: 20px;
  color: var(--accent_deep);
}

.kind_card_dl {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
}

.kind_card_dl dt {
  margin-top: 8px;
  font-weight: 700;
  color: var(--accent);
}

.kind_card_dl dd {
  margin: 2px 0 0;
}

.kind_card_more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--head);
  font-weight: 700;
  color: var(--accent);
}

/* ほかの種類へ */
.j_others {
  padding-top: 56px;
}

.others_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.other_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 60px 20px 24px;
  border-radius: 20px;
  background: var(--accent_tint);
  border: 2px solid var(--accent_soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease-out;
}

.other_card:hover {
  border-color: var(--accent);
}

.other_name {
  font-family: var(--head);
  font-weight: 900;
  font-size: 18px;
  color: var(--accent_deep);
}

.other_sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink_soft);
}

.other_arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  margin-top: -12px;
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .j_btn,
  .kind_card a,
  .other_card {
    transition: none;
  }
}

/* ---- タブレット ---- */
@media (max-width: 1024px) {
  .start_steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kind_card_visual {
    height: 220px;
  }
  .phone_card {
    width: 168px;
  }
}

@media (max-width: 900px) {
  .j_hero_inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .j_hero_visual {
    padding-top: 36px;
  }
  .j_hero_trio {
    min-height: 500px;
  }
  .j_hero_trio .phone_left {
    left: calc(50% - 260px);
  }
  .j_hero_trio .phone_right {
    right: calc(50% - 260px);
  }
  .points_list {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .points {
    margin-top: 0;
  }
  .send_feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }
  .safe_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kind_cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .kind_card a {
    flex-direction: row;
  }
  .kind_card_visual {
    width: 200px;
    height: auto;
    min-height: 240px;
    flex-shrink: 0;
  }
  .phone_card {
    width: 150px;
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .flow_step:nth-child(2)::after {
    display: none;
  }
}

/* ---- スマホ ---- */
@media (max-width: 640px) {
  .sp_only {
    display: inline;
  }
  .j_hero {
    padding: 24px 16px 40px;
  }
  .j_hero_blob {
    width: 380px;
    height: 380px;
    right: -200px;
    top: auto;
    bottom: 60px;
  }
  .j_actions .j_btn {
    width: 100%;
  }
  .phone_hero {
    width: 230px;
  }
  .hero_peek {
    width: 100px;
  }
  .hero_peek_cat {
    width: 90px;
  }
  .j_bubble {
    right: 4px;
    font-size: 13px;
  }
  .j_hero_trio {
    min-height: 470px;
  }
  .j_hero_trio .phone_back {
    width: 170px;
    top: 80px;
  }
  .j_hero_trio .phone_left {
    left: -6px;
  }
  .j_hero_trio .phone_right {
    right: -6px;
  }
  .j_block {
    padding: 52px 16px;
  }
  .points {
    padding: 0 16px;
  }
  .sees_grid,
  .sees_n8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sees_n3 {
    grid-template-columns: 1fr;
  }
  .sees_n3 .sees_item {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 14px 16px;
    text-align: left;
  }
  .sees_n3 .sees_icon {
    grid-row: 1 / 3;
  }
  .sees_n3 .sees_name {
    margin: 0;
  }
  .sees_item {
    padding: 16px 10px 14px;
  }
  .safe_grid,
  .start_steps,
  .others_list {
    grid-template-columns: 1fr;
  }
  .send_feature {
    padding: 24px 18px;
  }
  .phone_send {
    width: 230px;
  }
  .flow {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .flow_step {
    flex-direction: row;
    gap: 16px;
    padding: 0 0 24px;
    text-align: left;
  }
  .flow_step:not(:last-child)::after {
    display: block;
    top: 60px;
    bottom: 4px;
    left: 26px;
    right: auto;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px);
  }
  .flow_step:nth-child(2)::after {
    display: block;
  }
  .flow_num {
    flex-shrink: 0;
  }
  .cta_band {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .cta_band .j_btn {
    width: 100%;
  }
  .kind_card a {
    flex-direction: column;
  }
  .kind_card_visual {
    width: auto;
    height: 210px;
    min-height: 0;
  }
  .phone_card {
    width: 160px;
  }
}
