/* カナヘビとヤドクガエル（2026 リデザイン） */
:root {
  --bg: #F5FAF6;
  --surface: #FFFFFF;
  --mint: #E3F3E8;
  --mint-strong: #D7F0DF;
  --ink: #1D2B23;
  --text: #3C4C43;
  --muted: #52635A;
  --green: #2B7A4B;
  --green-dark: #1F5E38;
  --accent: #C0531A;
  --line: #DFEDE3;
  --line-strong: #C3DDCB;
  --line-soft: #E8F3EB;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --latin: "Cormorant Garamond", Georgia, serif;
  --radius: 16px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.5; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.serif { font-family: var(--serif); }
.latin { font-family: var(--latin); font-style: italic; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 12px; border: 1px solid var(--green);
  background: var(--green); color: #FFFFFF;
  font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #FFFFFF; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--mint); color: var(--ink); border-color: var(--line-strong); }
.btn--outline { background: transparent; color: var(--green); }
.btn--outline:hover { background: var(--mint); color: var(--green-dark); }
.btn--small { min-height: 44px; padding: 0 18px; border-radius: 10px; }

/* ヘッダー */
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 18px;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.site-logo img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; }
.site-logo span { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 0.06em; }
.site-logo:hover { color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--green); }
.site-nav .site-nav__contact { padding: 12px 22px; border-radius: 10px; background: var(--green); color: #FFFFFF; }
.site-nav .site-nav__contact:hover { background: var(--green-dark); color: #FFFFFF; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: none; background: transparent; color: var(--ink); cursor: pointer;
  }
  .site-nav { display: none; width: 100%; }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 14px 4px; font-size: 15px; }
  .site-nav .site-nav__contact { margin-block: 12px; text-align: center; }
  .site-nav li:last-child { border-bottom: none; }
  .site-logo img { width: 40px; height: 40px; }
  .site-logo span { font-size: 16px; }
}

/* 下層ページの見出し */
.page-head { background: var(--mint) url(/assets/img/care-bg.webp) center / cover no-repeat; }
.page-head .wrap { padding-block: 48px 40px; position: relative; }
.page-head__title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); }
.breadcrumb { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; }
.breadcrumb a { color: var(--muted); }

/* 見出し */
.section { padding-block: 96px; }
.section--tight { padding-block: 72px; }
.section__title { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 34px); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 20px; margin-bottom: 36px; }
.section__head .section__title { margin: 0; }
.bg-white { background: var(--surface); }
.bg-leaves { background: var(--mint) url(/assets/img/care-bg.webp) center / cover no-repeat; }

/* トップ：メイン */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 24px 96px; }
.hero__photo { flex: 1.2 1 480px; position: relative; margin: 0; }
.hero__photo img { width: 100%; height: 560px; object-fit: cover; border-radius: 20px; }
.hero__photo figcaption {
  position: absolute; left: 20px; bottom: 20px; padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94); border-radius: 12px; font-size: 13px; font-weight: 700;
}
.hero__text { flex: 1 1 380px; position: relative; display: flex; flex-direction: column; gap: 24px; }
.hero__leaf { position: absolute; right: -48px; top: -120px; width: 220px; pointer-events: none; }
.hero__title { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 40px); line-height: 1.6; }
.hero__lead { position: relative; margin: 0; color: var(--text); line-height: 2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero { gap: 32px; padding-bottom: 72px; }
  .hero__photo { flex-basis: 100%; }
  .hero__photo img { height: auto; aspect-ratio: 4 / 3; }
  .hero__leaf { right: -16px; top: -72px; width: 150px; }
}

/* トップ：紹介枠 */
.pickup { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.pickup__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.pickup__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent); }
.pickup__title { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); }
.pickup__body { margin: 0; color: var(--text); line-height: 2; }
.pickup__photo { flex: 1.2 1 440px; }
.pickup__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.pickup__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.facts div { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; }
.price { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 700; }

/* 分類の切り替え */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.filters a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); text-decoration: none;
}
.filters a:hover { background: var(--mint); }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; font-weight: 700; }

/* 販売個体カード */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.card:hover { color: var(--ink); border-color: var(--line-strong); }
.card:hover .card__photo img { transform: scale(1.03); }
.card__photo { overflow: hidden; aspect-ratio: 4 / 3; background: var(--mint); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 12px; color: var(--muted); }
.card__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.55; }
.card__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.card__foot span:first-child { font-size: 13px; color: var(--muted); }
.card__price { font-family: var(--serif); font-size: 21px; font-weight: 700; }
.cards + .more { margin-top: 32px; text-align: center; }
.sell-group + .sell-group { margin-top: 72px; }
.sell-group__title { margin: 0 0 24px; font-family: var(--serif); font-size: 26px; }

/* 空のとき */
.empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 16px 8px; text-align: center; }
.empty img { width: 360px; }
.empty p { margin: 0; line-height: 2; }

/* 飼育方法 */
.care-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.care-card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.care-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.care-card__head img { width: 96px; height: 96px; object-fit: contain; }
.care-card__head h3 { margin: 0; font-family: var(--serif); font-size: 22px; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding-block: 10px; border-top: 1px solid var(--line-soft);
  color: var(--ink); text-decoration: none;
}
.link-list a::after { content: "→"; color: var(--green); }
.link-list a:hover { color: var(--green); }

/* 飼育方法の一覧ページ */
.article-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.article-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.article-card:hover { color: var(--green); border-color: var(--line-strong); }
.article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-card span { padding: 16px 20px 20px; font-weight: 700; }

/* ブリーダー・お知らせ */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.breeders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.breeder {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px;
}
.breeder:hover { color: var(--green); border-color: var(--line-strong); }
.breeder img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-top: 1px solid var(--line-strong); }
.news-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.news-list a { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 18px 0; color: var(--ink); text-decoration: none; }
.news-list a:hover span { color: var(--green); }
.news-list time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.text-link { display: inline-block; margin-top: 16px; padding-block: 8px; font-weight: 700; font-size: 14px; }

/* お問い合わせ */
.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 48px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; justify-content: space-between;
}
.contact__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.contact__bubble { position: relative; width: 320px; max-width: 100%; aspect-ratio: 3 / 2; }
.contact__bubble img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.contact__bubble h2 { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 0 8% 6% 12%; font-family: var(--serif); font-size: 28px; }
.contact__intro p { margin: 0; color: var(--text); word-break: auto-phrase; }
.contact__list { flex: 1 1 380px; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: baseline; }
.contact__list dt { font-weight: 700; }
.contact__list dd { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact__accounts { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__accounts .btn { gap: 8px; white-space: nowrap; }
.contact__accounts .btn span { font-weight: 400; font-size: 13px; }
.contact__list .muted { color: var(--muted); }
@media (max-width: 600px) {
  .contact { padding: 32px 20px; }
  .contact__list { grid-template-columns: 1fr; gap: 8px; }
  .contact__list dd + dt { margin-top: 12px; }
}

/* 記事 */
.article { max-width: 800px; margin: 0 auto; }
.article__date { color: var(--muted); font-size: 14px; }
.article__title { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 34px); }
.article__image { margin: 0 0 32px; }
.article__image img { width: 100%; border-radius: var(--radius); }
.prose { line-height: 2; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin: 2em 0 0.8em; padding-bottom: 8px; border-bottom: 2px solid var(--mint-strong); font-family: var(--serif); font-size: 24px; }
.prose h3 { margin: 1.6em 0 0.6em; font-size: 19px; }
.prose img { border-radius: 12px; margin-block: 8px; }
.prose figure { margin: 1.5em 0; }
.prose iframe { max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 8px 12px; }
.article__back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 販売個体の詳しいページ */
.sell-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sell-detail__photo { margin: 0; }
.sell-detail__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sell-detail__info { display: flex; flex-direction: column; gap: 8px; }
.sell-detail__title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); }
.spec { margin: 16px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 96px 1fr; }
.spec dt, .spec dd { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 0; }
.spec dt:last-of-type, .spec dd:last-of-type { border-bottom: none; }
.sell-detail__section { margin-top: 32px; }
.sell-detail__section h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 20px; }
.sell-detail__section p { margin: 0; line-height: 2; }
.parents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.parents figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.parents img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.parents figcaption { font-size: 13px; color: var(--muted); }
.sell-detail__cta { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.sell-bar { display: none; }
@media (max-width: 860px) {
  .sell-detail { grid-template-columns: 1fr; gap: 24px; }
  .sell-detail__cta { display: none; }
  .sell-bar {
    position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .sell-bar strong { font-family: var(--serif); font-size: 20px; }
  .sell-bar .btn { flex: 1; }
}

/* ブリーダーのページ */
.member { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.member__icon img { width: 200px; height: 200px; border-radius: 50%; }
.member dl { margin: 0; }
.member dt { margin-top: 24px; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.member dt:first-child { margin-top: 0; }
.member dd { margin: 8px 0 0; line-height: 2; }
.member__catch { margin: 56px 0 20px; font-family: var(--serif); font-size: 22px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
@media (max-width: 700px) {
  .member { grid-template-columns: 1fr; gap: 24px; }
  .member__icon img { width: 140px; height: 140px; margin: 0 auto; }
}

/* 404 */
.notfound { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-block: 72px 96px; }
.notfound img { width: 420px; }
.notfound h1 { margin: 0; font-family: var(--serif); font-size: 30px; }
.notfound p { margin: 0; color: var(--text); }

/* フッター */
.site-footer { border-top: 1px solid var(--line-strong); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; padding-block: 28px; font-size: 13px; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); }

@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .section { padding-block: 64px; }
  .section--tight { padding-block: 48px; }
  .pickup { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .card__photo img { transition: none; }
}
.care-card__head .sell-group__title { margin: 0; }
.section__head .filters { margin: 0; }
.section-end { padding-bottom: 96px; }
.member__sns { margin: 24px 0 0; }

@media (max-width: 860px) {
  .hero__leaf { display: none; }
  .pickup__photo { order: -1; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 12px 12px 14px; gap: 4px; }
  .card__title { font-size: 14px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 8px; }
  .card__foot span:first-child { font-size: 12px; }
  .card__price { font-size: 17px; }
}
