/* ================================
   KENNEL LEO - CSS
   柴犬の温もり・自然・信頼
================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600&family=Shippori+Mincho:wght@400;600&display=swap');

:root {
  --leo-brown:      #8B5E3C;
  --leo-brown-dark: #5C3A1E;
  --leo-cream:      #FAF5EE;
  --leo-beige:      #EDE3D5;
  --leo-green:      #6B8F6B;
  --leo-text:       #2C1A0E;
  --leo-text-light: #7A6354;
  --leo-accent:     #C97D3A;
  --leo-border:     #D4C4B0;
  --leo-white:      #FFFFFF;
  --leo-radius:     4px;
  --leo-shadow:     0 2px 12px rgba(92,58,30,0.10);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body.leo-body {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  background: var(--leo-cream);
  color: var(--leo-text);
  line-height: 1.8;
}

/* ---- Header ---- */
.leo-header {
  background: var(--leo-white);
  border-bottom: 2px solid var(--leo-beige);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--leo-shadow);
}
.leo-header__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.leo-header__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.leo-header__logo-en {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--leo-brown);
  font-family: 'Shippori Mincho', serif;
}
.leo-header__logo-ja {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--leo-brown-dark);
}

/* ---- Nav ---- */
.leo-nav__list {
  list-style: none;
  display: flex;
  gap: 8px;
}
.leo-nav__item a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--leo-text-light);
  padding: 6px 12px;
  border-radius: var(--leo-radius);
  transition: background 0.2s, color 0.2s;
}
.leo-nav__item a:hover,
.leo-nav__item.is-current a {
  background: var(--leo-beige);
  color: var(--leo-brown-dark);
}

/* ---- Main ---- */
.leo-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---- Section Title ---- */
.leo-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--leo-brown-dark);
  border-left: 4px solid var(--leo-accent);
  padding-left: 12px;
  margin-bottom: 24px;
}

/* ---- Hero ---- */
.leo-hero {
  margin-bottom: 64px;
  padding: 48px 0;
  border-bottom: 1px solid var(--leo-border);
  text-align: center;
}
.leo-hero__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--leo-accent);
  margin-bottom: 8px;
}
.leo-hero__title {
  font-family: 'Shippori Mincho', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--leo-brown-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.leo-hero__title-jp {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--leo-white);
  margin-top: 8px;
  letter-spacing: 0.08em;
}
.leo-hero__sub {
  font-size: 0.95rem;
  color: var(--leo-text-light);
}
.leo-hero__img-placeholder {
  background: var(--leo-beige);
  border-radius: 8px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leo-border);
  font-size: 0.85rem;
  border: 2px dashed var(--leo-border);
}

.leo-hero__textblock {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  text-align: center;
}
.leo-hero__title-en {
  font-family: 'Shippori Mincho', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  animation: heroFadeUp 2s ease 0.3s both;
  margin-bottom: 6px;
}
.leo-hero__sub-en {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  animation: heroFadeUp 2s ease 0.9s both;
}

/* ---- News ---- */
.leo-news {
  margin-bottom: 56px;
}
.leo-news__list {
  list-style: none;
}
.leo-news__item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--leo-border);
  font-size: 0.9rem;
}
.leo-news__date {
  color: var(--leo-text-light);
  white-space: nowrap;
  font-size: 0.8rem;
}

/* ---- About Summary ---- */
.leo-about-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Button ---- */
.leo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--leo-brown);
  color: var(--leo-white);
  text-decoration: none;
  border-radius: var(--leo-radius);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  margin-right: 8px;
  margin-top: 8px;
}
.leo-btn--outline {
  background: transparent;
  color: var(--leo-brown);
  border: 1px solid var(--leo-brown);
}
.leo-btn--cta:hover {
  opacity: 0.82 !important;
  transform: translateY(-2px) !important;
}
.leo-btn--outline:hover {
  background: var(--leo-brown-dark);
  color: var(--leo-white);
  border-color: var(--leo-brown-dark);
}

/* ---- Page Header ---- */
.leo-page-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--leo-border);
}
.leo-page-header h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: 2rem;
  color: var(--leo-brown-dark);
  margin-bottom: 8px;
}
.leo-page-header p {
  color: var(--leo-text-light);
  font-size: 0.9rem;
}

/* ---- Dog Cards (Parents) ---- */
.leo-dogs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.leo-dog-card {
  background: var(--leo-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--leo-shadow);
  border: 1px solid var(--leo-border);
}
.leo-dog-card__img-placeholder {
  background: var(--leo-beige);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leo-border);
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--leo-border);
}
.leo-dog-card__info {
  padding: 20px;
}
.leo-dog-card__info h2 {
  font-size: 1.1rem;
  color: var(--leo-brown-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--leo-border);
}
.leo-dog-card__info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.88rem;
}
.leo-dog-card__info dt { color: var(--leo-text-light); }
.leo-dog-card__info dd { color: var(--leo-text); }

/* ---- Puppy Cards ---- */
.leo-puppies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.leo-puppy-card {
  background: var(--leo-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--leo-shadow);
  border: 1px solid var(--leo-border);
}
.leo-puppy-card__img-placeholder {
  background: var(--leo-beige);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leo-border);
  font-size: 0.85rem;
}
.leo-puppy-card__info {
  padding: 16px;
}
.leo-puppy-card__status {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}
.leo-status--available {
  background: #e8f4e8;
  color: var(--leo-green);
}
.leo-status--reserved {
  background: #fef3e8;
  color: var(--leo-accent);
}
.leo-puppy-card__info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.leo-puppy-card__info dt { color: var(--leo-text-light); }
.leo-puppy-card__info dd { color: var(--leo-text); }

/* ---- Archive ---- */
.leo-archive__empty {
  color: var(--leo-text-light);
  font-size: 0.9rem;
  padding: 40px 0;
  text-align: center;
}

/* ---- Contact ---- */
.leo-contact {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 560px;
}
.leo-contact__block {
  background: var(--leo-white);
  border: 1px solid var(--leo-border);
  border-radius: 8px;
  padding: 24px;
}
.leo-contact__block h2 {
  font-size: 1rem;
  color: var(--leo-brown-dark);
  margin-bottom: 12px;
}
.leo-contact__tel a {
  font-size: 1.6rem;
  color: var(--leo-brown);
  text-decoration: none;
  font-weight: 600;
}
.leo-contact__note {
  font-size: 0.88rem;
  color: var(--leo-text-light);
  padding: 16px;
  background: var(--leo-beige);
  border-radius: var(--leo-radius);
}

/* ---- Footer ---- */
.leo-footer {
  background: var(--leo-brown-dark);
  color: var(--leo-beige);
  padding: 40px 24px;
  margin-top: 80px;
}
.leo-footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.leo-footer__name {
  font-size: 1.1rem;
  font-family: 'Shippori Mincho', serif;
}
.leo-footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.leo-footer__nav a {
  color: var(--leo-beige);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.leo-footer__nav a:hover { opacity: 1; }
.leo-footer__copy {
  font-size: 0.75rem;
  opacity: 0.6;
}
.leo-footer__logo {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .leo-header__inner { flex-direction: column; height: auto; padding: 12px 16px; gap: 8px; }
  .leo-nav__list { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .leo-nav__item a { font-size: 0.78rem; padding: 5px 8px; }
  .leo-hero { grid-template-columns: 1fr; gap: 24px; }
  .leo-hero__title { font-size: 2rem; }
  .leo-dogs { grid-template-columns: 1fr; }
  .leo-footer__nav { gap: 12px; }
}

.leo-hero__imgwrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.leo-hero__imgwrap img {
  width: 100%;
  display: block;
}
.leo-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  background: linear-gradient(to top, rgba(20,10,0,0.62) 0%, rgba(20,10,0,0.0) 100%);
}
.leo-hero__catch {
  color: #fff;
  font-size: 1rem;
  line-height: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  animation: heroFadeUp 2.5s ease 0.5s both;
}
.leo-hero__catch span {
  font-size: 0.85rem;
  opacity: 0.85;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.leo-hero__lineage {
  font-size: 0.85rem;
  color: var(--leo-accent);
  letter-spacing: 0.1em;
  margin-top: 8px;
}
/* ---- Heritage List (kominka_shirai.php / kominka_shirai_heritage.php) ---- */
.leo-heritage-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.leo-heritage-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1.1rem;
  background: var(--leo-cream);
  border: 1px solid var(--leo-border);
  border-left: 3px solid var(--leo-accent);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-left-color 0.2s;
}

.leo-heritage-item:hover {
  background: var(--leo-beige);
  border-left-color: var(--leo-brown-dark);
}

.leo-heritage-source {
  font-size: 0.78rem;
  color: var(--leo-text-light);
  letter-spacing: 0.03em;
}

.leo-heritage-title {
  font-size: 0.97rem;
  color: var(--leo-text);
  line-height: 1.5;
}

.leo-heritage-note {
  font-size: 0.75rem;
  color: var(--leo-text-light);
}

.leo-heritage-note:empty { display: none; }

.leo-heritage-link-wrap {
  margin-top: 1.25rem;
  text-align: right;
}

.leo-btn--sm {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
}

.leo-btn--primary {
  background: var(--leo-brown);
  color: var(--leo-white);
}
