/* ============================================================
   JP Healthy Kitchen — Auxiliary Pages Stylesheet
   Used by: about.html, privacy-policy.html,
            terms-of-service.html, cookie-policy.html
   ============================================================ */

/* ---------- Import Variables from main (duplicated for standalone use) ---------- */
:root {
  --green-dark:  #2D6A4F;
  --green-mid:   #52B788;
  --green-light: #B7E4C7;
  --cream:       #F4F7F2;
  --cream-dark:  #E8EFE4;
  --text:        #1A2E22;
  --text-muted:  #5A6B5F;
  --white:       #FFFFFF;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(45,106,79,0.10);
  --max-width:   900px;
  --max-width-wide: 1160px;
}

/* ---------- Reset & Base (same as styles.css) ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: #F4F7F2;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  color: #1A2E22;
  background-color: #F4F7F2;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- Containers ---------- */
.container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  font-family: inherit;
}

.btn--primary {
  background-color: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.btn--primary:hover {
  background-color: #235840;
  border-color: #235840;
}

.btn--outline {
  background-color: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--outline:hover {
  background-color: var(--green-dark);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

.header-brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.header-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-back-link:hover {
  color: var(--green-dark);
}

.header-back-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   PAGE HERO (auxiliary pages)
   ============================================================ */
.page-hero {
  background-color: var(--green-dark);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.page-hero-breadcrumb a:hover {
  color: var(--green-light);
}

.page-hero-breadcrumb span {
  color: rgba(255,255,255,0.35);
}

.page-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
  padding: 80px 0 100px;
}

.page-content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   ABOUT PAGE — Content blocks
   ============================================================ */
.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-block {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.about-block--reverse {
  flex-direction: row-reverse;
}

.about-block-image {
  flex: 0 0 360px;
  max-width: 360px;
}

.about-block-photo {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.about-block-photo svg {
  opacity: 0.4;
}

.about-block-content {
  flex: 1;
  padding-top: 8px;
}

.about-block-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.about-block-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-block-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-block-text p + p {
  margin-top: 14px;
}

/* Team member card */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.team-card {
  background-color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--cream-dark);
}

.team-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--cream-dark);
  border: 2px dashed var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--text-muted);
}

.team-card-avatar svg {
  opacity: 0.4;
}

.team-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.82rem;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Values list */
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--cream-dark);
}

.value-icon {
  width: 40px;
  height: 40px;
  background-color: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-dark);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   LEGAL PAGES — empty placeholder
   ============================================================ */
.legal-placeholder {
  background-color: var(--cream);
  border: 2px dashed var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: var(--text-muted);
}

.legal-placeholder svg {
  width: 52px;
  height: 52px;
  color: var(--green-light);
  margin: 0 auto 20px;
  display: block;
  opacity: 0.7;
}

.legal-placeholder-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.legal-placeholder-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER (same as main, duplicated for standalone use)
   ============================================================ */
.site-footer {
  background-color: #1A2E22;
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-about {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal a:hover {
  color: var(--green-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-block {
    flex-direction: column;
    gap: 32px;
  }

  .about-block--reverse {
    flex-direction: column;
  }

  .about-block-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-block-photo {
    height: 220px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .header-back-link span {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 48px 0 40px;
  }
}
