/* ============================================================
   PoRiCoMi - Luxury Dog Salon
   Top page styles
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-cream: #fbf1e4;            /* ヒーロー背景 */
  --color-pink-wave: #f6e4ee;        /* ピンクウェーブ／ABOUT US 背景 */
  --color-pink-soft: #f5e1ee;        /* アクティブナビ背景 */
  --color-gold: #c4a050;             /* ロゴ・装飾の金色 */
  --color-text: #3a3a3a;
  --color-text-muted: #6a6a6a;

  --font-serif: "Baskervville", "Noto Serif JP", Georgia, serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --content-max: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 48px;
  width: auto;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transform: translateX(-50%);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.03);
}

.nav-link:hover i {
  color: var(--color-gold);
}

.nav-link.is-active {
  background: var(--color-pink-soft);
  color: #b85a8a;
}

.nav-link.is-active i {
  color: #b85a8a;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--color-cream);
  overflow: hidden;
  padding-top: 60px;
}

.hero-illust {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-illust img {
  max-height: 620px;
  width: auto;
}

.hero-wave {
  position: relative;
  margin-top: -120px;
  z-index: 1;
  line-height: 0;
  background: var(--color-cream);
}

.hero-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- About section ---------- */
.about {
  background: var(--color-pink-wave);
  padding: 40px 24px 100px;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.divider {
  width: 110px;
  height: auto;
  margin: 0 auto;
  display: block;
  opacity: 0.95;
}

.about-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  margin: 28px 0 32px;
  color: var(--color-text);
}

.about-body {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 48px;
}

.about-body p + p {
  margin-top: 1.5em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner .logo img {
  height: 44px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #6a6a6a;
  color: #ffffff;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.social-list a:hover {
  background: var(--color-gold);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header-inner {
    padding: 14px 20px;
  }

  .logo img {
    height: 40px;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 120;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
  }

  /* Drawer menu */
  .global-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 88px 24px 32px;
    overflow-y: auto;
    z-index: 105;
  }

  .global-nav.is-open {
    transform: translateX(0);
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .global-nav li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    justify-content: flex-start;
  }

  .nav-link i {
    width: 22px;
    text-align: center;
  }

  /* Backdrop when drawer open. pointer-events: none lets clicks fall
     through to body / toggle so the close button stays clickable. */
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    pointer-events: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-illust img {
    max-height: 460px;
  }

  .hero-wave {
    margin-top: -60px;
  }

  .about {
    padding: 24px 20px 64px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 20px;
  }

  .hero-illust img {
    max-height: 360px;
  }

  .hero-wave {
    margin-top: -32px;
  }

  .about-title {
    margin: 20px 0 24px;
  }

  .about-body {
    font-size: 0.88rem;
  }
}
