@charset "UTF-8";
/* ========== 基本設定 ========== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
:root {
  --wrap: min(1120px, 100% - 32px);
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== ヘッダ ========== */
.guide {
  padding-block: 32px 64px;
  background: #fff;
}
.guide__head {
  width: var(--wrap);
  margin-inline: auto;
  text-align: center;
}
.guide__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.guide__lead {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(14px, 3.2vw, 16px);
}

/* ========== タブ（上→下に中身） ========== */
.tabs {
  width: var(--wrap);
  margin: 24px auto 0;
  position: relative;
  /* ラジオは画面外へ（ラベルで操作） */
}
.tabs__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
.tabs__tablist {
  display: flex;
  justify-content: flex-start;
  /* 左寄せにしたい場合は flex-start */
  gap: 12px;
  margin-bottom: -1px;
  /* 枠線をパネルとつなげる */
  position: relative;
  z-index: 2;
}
.tabs__label {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: #f1f5f9;
  /* 非アクティブ背景 */
  color: var(--muted);
  /* 非アクティブ文字色 */
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tabs__label:focus-visible {
  outline: 3px solid var(--accent-weak);
  outline-offset: 2px;
}
.tabs__label:hover {
  background: #e2e8f0;
  color: var(--ink);
}
.tabs #tab-owner:checked ~ .tabs__tablist label[for=tab-owner],
.tabs #tab-sitter:checked ~ .tabs__tablist label[for=tab-sitter] {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  /* パネルとの境目を白でつなぐ */
  box-shadow: 0 1px 0 #fff, inset 0 -3px 0 var(--accent);
}
.tabs__panels {
  border: 1px solid var(--line);
  border-radius: 0 16px 16px 16px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

/* パネル切替（ラジオ→パネル） */
.panel {
  display: none;
}
.panel__heading {
  text-align: center;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}

#tab-owner:checked ~ .tabs__panels #panel-owner {
  display: block;
}

#tab-sitter:checked ~ .tabs__panels #panel-sitter {
  display: block;
}

/* ========== カード ========== */
.cards {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  /* 丸写真（中央） */
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card__link {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
}
.card__figure {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto 12px;
  /* 中央配置 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__figure > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.card__title {
  font-size: clamp(16px, 2.6vw, 20px);
  font-weight: 800;
  text-align: center;
  margin: 0 16px 6px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.card__desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 16px 16px;
  text-align: center;
  min-height: 3.2em;
}
.card__btn {
  display: block;
  margin: 0 16px 16px;
  text-align: center;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  background: #fff;
}

/* 固定ヘッダーかぶり対策（80px想定） */
[id] {
  scroll-margin-top: 88px;
}/*# sourceMappingURL=guide.css.map */