/* ============================================================
   PAGES.CSS — Auxiliary pages stylesheet
   Япония | 日本の祭りと自然のサイクル
   About / Privacy Policy / Terms of Service / Cookie Policy
   No animations, no transitions
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --primary:      #C41E3A;
  --primary-dark: #9B1830;
  --secondary:    #1B3A4B;
  --accent:       #C8A96E;
  --bg:           #FAFAF5;
  --surface:      #F0EBE0;
  --surface-dark: #E4D9C8;
  --text:         #2D2D2D;
  --text-muted:   #7A7060;
  --border:       #DDD5C8;
  --white:        #FFFFFF;

  --font-head: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', Georgia, serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', Arial, sans-serif;

  --max-w:     1200px;
  --pad-h:     0 20px;
}

/* ---- Base ---- */
html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.75;
}

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

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

ul, ol {
  list-style: none;
  padding: 0;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-h);
}

/* ============================================================
   HEADER (shared with main, lighter version)
   ============================================================ */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-brand__logo {
  width: 44px;
  height: 52px;
  flex-shrink: 0;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand__name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  letter-spacing: 0.03em;
}

.site-brand__tagline {
  font-size: 0.675rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background-color: var(--secondary);
  padding: 64px 0 56px;
  color: var(--white);
  text-align: center;
}

.page-header__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.page-header__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.8;
  margin: 0 auto;
}

/* ============================================================
   PAGE BLOCK — ABOUT PAGE
   ============================================================ */
.page-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.page-block:last-of-type {
  border-bottom: none;
}

.page-block--reverse {
  background-color: var(--surface);
}

.page-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.page-block__text {
  text-align: left;
}

.page-block__title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.page-block__text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 16px;
}

.page-block__text p:last-child {
  margin-bottom: 0;
}

.page-block__list {
  list-style: disc;
  list-style-position: inside;
  margin: 20px 0;
  padding: 0;
}

.page-block__list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.page-block__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   POLICY PAGES CONTENT
   ============================================================ */
.page-content {
  padding: 64px 0 80px;
}

.policy-section {
  margin-bottom: 48px;
  padding: 0;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.policy-section p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}

.policy-section p:last-of-type {
  margin-bottom: 0;
}

.policy-section ul {
  list-style: disc;
  list-style-position: inside;
  margin: 14px 0;
  padding-left: 0;
}

.policy-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 10px;
}

.policy-section li:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: var(--primary);
  text-decoration: underline;
}

.policy-section a:hover {
  color: var(--primary-dark);
}

/* ============================================================
   RESPONSIVE — ABOUT & POLICY
   ============================================================ */
@media (max-width: 768px) {
  .page-header              { padding: 48px 0 40px; }
  .page-block               { padding: 44px 0; }
  .page-block__inner        { grid-template-columns: 1fr; gap: 24px; }
  .page-content             { padding: 44px 0 60px; }
  .policy-section           { margin-bottom: 32px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.75);
  padding: 44px 0 22px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
}

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

.footer-brand__logo {
  width: 34px;
  height: 41px;
  filter: brightness(0) invert(1);
}

.footer-brand__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-brand__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 210px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-nav__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-nav__links li {
  margin-bottom: 9px;
}

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

.footer-nav__links a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

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

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .page-hero             { padding: 48px 0 40px; }
  .page-section          { padding: 44px 0; }
  .page-section__inner   { grid-template-columns: 1fr; gap: 24px; }
  .values-list           { grid-template-columns: 1fr; }
  .team-grid             { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top      { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav            { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .team-grid   { grid-template-columns: 1fr; }
  .footer-nav  { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 8px; }
}
