/* =========================================================
   わんこスマイル — 共通スタイル
   モチーフ：迷子札（ドッグタグ）
   ========================================================= */

:root {
  --ink:      #17262e;
  --ink-2:    #55686f;
  --ink-3:    #8b9a9c;
  --mist:     #e7ede6;
  --mist-dk:  #d8e2d6;
  --paper:    #ffffff;
  --brass:    #b8862b;
  --brass-lt: #f3e3c2;
  --leash:    #2c6b7a;
  --leash-dk: #1d4c58;
  --line:     #cbd6c9;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(23, 38, 46, .06), 0 4px 12px rgba(23, 38, 46, .05);
  --shadow-md: 0 2px 4px rgba(23, 38, 46, .06), 0 12px 32px rgba(23, 38, 46, .09);

  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-util: "DM Mono", ui-monospace, monospace;

  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

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

a { color: var(--leash); text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-util);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}

/* ---------- 名札アイコン（共通の刻印パーツ） ---------- */
.paw { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(231, 237, 230, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
}
.brand .paw { color: var(--brass); font-size: 20px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .18s;
}
.nav a:hover { color: var(--leash); }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary {
  background: var(--leash);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--leash-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--leash-dk);
  border-color: var(--leash);
}
.btn--ghost:hover {
  background: rgba(44, 107, 122, .08);
  transform: translateY(-2px);
}
.btn__ext { font-size: 11px; opacity: .7; }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% 40%;
  height: 480px;
  background: radial-gradient(closest-side, rgba(184, 134, 43, .13), transparent 72%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.34;
  letter-spacing: .01em;
  margin: 0 0 22px;
}
.hero h1 .accent {
  color: var(--brass);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .16em;
  background: var(--brass-lt);
  z-index: -1;
  border-radius: 2px;
}
.hero__lead {
  font-size: 16.5px;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 34em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-util);
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__facts li { display: flex; align-items: center; gap: 7px; }
.hero__facts li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- シグネチャー：揺れる迷子札 ---------- */
.rig {
  position: relative;
  height: 400px;
}
.rig__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--leash) 12%, var(--leash) 88%, transparent);
  opacity: .5;
}
.tag {
  position: absolute;
  top: 0;
  width: 156px;
  padding: 30px 16px 20px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transform-origin: 50% -46px;
  animation: sway 6.4s ease-in-out infinite;
}
.tag::before { /* 吊り紐 */
  content: "";
  position: absolute;
  top: -46px; left: 50%;
  width: 1.5px; height: 46px;
  background: var(--leash);
  opacity: .55;
}
.tag::after { /* 金具の穴 */
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  width: 13px; height: 13px;
  margin-left: -6.5px;
  border: 2.5px solid var(--brass);
  border-radius: 50%;
  background: var(--mist);
}
.tag__paw {
  color: var(--brass);
  font-size: 19px;
  display: block;
  margin: 0 auto 6px;
}
.tag__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: .04em;
}
.tag__meta {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 3px;
}
.tag--a { left: 2%;  top: 52px;  animation-duration: 6.4s; animation-delay: -.4s; }
.tag--b { left: 33%; top: 132px; animation-duration: 7.6s; animation-delay: -2.1s; z-index: 2; }
.tag--c { left: 64%; top: 66px;  animation-duration: 5.8s; animation-delay: -3.4s; }
.tag--b::before { top: -126px; height: 126px; }
.tag--b { transform-origin: 50% -126px; }
.tag--c::before { top: -60px; height: 60px; }
.tag--c { transform-origin: 50% -60px; }
.tag--a::before { top: -46px; height: 46px; }

@keyframes sway {
  0%, 100% { transform: rotate(-2.4deg); }
  50%      { transform: rotate(2.4deg); }
}

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: 88px 0; }
.section--paper { background: var(--paper); }

.section__head { max-width: 46em; margin-bottom: 48px; }
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.5;
  margin: 0 0 12px;
  letter-spacing: .01em;
}
.section__head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* =========================================================
   できること（カード）
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--mist);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.section--paper .card { background: var(--mist); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--brass-lt);
  color: var(--brass);
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.95;
}
.card ul li {
  padding-left: 18px;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .82em;
  width: 6px; height: 2px;
  border-radius: 2px;
  background: var(--brass);
}

/* =========================================================
   こんな方に（名札リスト）
   ========================================================= */
.fit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fit li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.8;
}
.fit .paw { color: var(--brass); font-size: 18px; margin-top: 4px; }

/* =========================================================
   お問い合わせ CTA
   ========================================================= */
.contact {
  background: var(--leash-dk);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.5;
  margin: 0 0 12px;
}
.contact p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  max-width: 38em;
}
.contact .eyebrow { color: var(--brass-lt); }
.contact .btn--primary {
  background: var(--brass);
  color: var(--ink);
  white-space: nowrap;
}
.contact .btn--primary:hover { background: #cf9a34; }

/* =========================================================
   フッター
   ========================================================= */
.site-foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  margin-top: 0;
}
.site-foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}
.site-foot nav a { color: var(--ink-2); text-decoration: none; }
.site-foot nav a:hover { color: var(--leash); text-decoration: underline; }
.site-foot small {
  display: block;
  font-family: var(--font-util);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .03em;
}

/* =========================================================
   プライバシーポリシー ページ
   ========================================================= */
.doc-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.doc-head h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.4;
  margin: 0 0 16px;
}
.doc-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 42em;
}
.doc-head .updated {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-util);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--brass);
  background: var(--brass-lt);
  border-radius: 999px;
  padding: 6px 16px;
}

.doc-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 64px;
  padding: 56px 0 96px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
}
.toc p {
  font-family: var(--font-util);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  border-left: 1.5px solid var(--line);
}
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0 7px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1.5px;
  transition: color .16s, border-color .16s;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-util);
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 2px;
}
.toc a:hover {
  color: var(--leash);
  border-left-color: var(--brass);
}

.doc-article { counter-reset: sec; }
.doc-article section {
  counter-increment: sec;
  padding: 0 0 40px;
}
.doc-article section + section {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.doc-article h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.6;
  margin: 0 0 16px;
  scroll-margin-top: 92px;
}
.doc-article h2::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--font-util);
  font-size: 12px;
  font-weight: 500;
  color: var(--brass);
  background: var(--brass-lt);
  border-radius: 7px;
  padding: 4px 9px;
  line-height: 1;
  flex: none;
  transform: translateY(-2px);
}
.doc-article h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 24px 0 10px;
  color: var(--leash-dk);
}
.doc-article p {
  margin: 0 0 14px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.doc-article ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.doc-article ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.95;
}
.doc-article ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .85em;
  width: 7px; height: 2px;
  border-radius: 2px;
  background: var(--brass);
}
.doc-article ul li b { color: var(--ink); font-weight: 700; }

.note {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.note strong { color: var(--ink); }

.doc-cta {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 8px;
}
.doc-cta p { margin: 0 0 20px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 940px) {
  .hero { padding: 52px 0 72px; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .rig { height: 316px; max-width: 480px; margin-inline: auto; }
  .tag { width: 136px; padding: 28px 12px 18px; }
  .tag__name { font-size: 19px; }
  .cards, .fit { grid-template-columns: 1fr 1fr; }
  .doc-body { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .toc { position: static; }
  .toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    padding: 10px 18px;
  }
  .toc a { border-left: 0; padding-left: 0; margin-left: 0; }
  .contact { grid-template-columns: 1fr; padding: 40px 30px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .section { padding: 60px 0; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .nav a.nav--hide-sm { display: none; }
  .cards, .fit { grid-template-columns: 1fr; }
  .rig { height: 290px; }
  .tag--a { left: 0; top: 44px; }
  .tag--b { left: 30%; top: 118px; }
  .tag--c { left: 60%; top: 58px; }
  .tag { width: 122px; }
  .tag__name { font-size: 17px; }
  .tag__meta { font-size: 10.5px; }
  .btn { width: 100%; }
  .contact .btn { width: 100%; }
  .toc ol { grid-template-columns: 1fr; }
  .site-foot__in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
