/* ================================================================
   FOUNDATION - Custom Properties
================================================================ */
:root {
  --bg-deep: #E9E7EC;
  --bg-primary: #ffffff;
  --bg-secondary: #F4F3F5;
  --accent: #240E40;
  --accent-bright: #F6F643;
  --text-primary: #240E40;
  --text-secondary: #5B4A70;
  --text-muted: #91869F;
  --border: #D3CFD9;
  --border-light: #ffffff;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(80px, 12vw, 120px);
  --side-pad: clamp(16px, 5vw, 60px);
}

/* ================================================================
   FOUNDATION - Reset
================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ================================================================
   LAYOUT - Container
================================================================ */
.l-container {
  width: calc(100% - var(--side-pad));
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ================================================================
   LAYOUT - Stack (sticky scroll sections)
================================================================ */
.l-stack { position: relative; }

/* ================================================================
   COMPONENT - Parallax Background
================================================================ */
.c-parallax {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* ================================================================
   COMPONENT - Scroll Reveal
================================================================ */
.c-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.c-reveal--d1 { transition-delay: 0.1s; }
.c-reveal--d2 { transition-delay: 0.2s; }
.c-reveal--d3 { transition-delay: 0.3s; }
.c-reveal--d4 { transition-delay: 0.4s; }

/* ================================================================
   COMPONENT - Section Text
================================================================ */
.c-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.c-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.c-label--center { justify-content: center; }

.c-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.c-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ================================================================
   COMPONENT - Frosted Panel
   共通：.company .container / .contact .container をまとめた
================================================================ */
.c-frosted {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: var(--side-pad);
}
.c-frosted--strong { background: rgba(255, 255, 255, 0.5); }

/* ================================================================
   COMPONENT - Button
================================================================ */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.c-btn--primary {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--accent);
}
.c-btn--outline {
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  border: 1px solid var(--accent);
  transition: color 0.4s ease;
}
.c-btn--outline:hover { color: #fff; }

/* Position Aware リップル */
.c-btn__ripple {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
  pointer-events: none;
}
.c-btn__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.c-btn--primary .c-btn__ripple,
#tayori-form button.submit .c-btn__ripple,
.p-nav__contact .c-btn__ripple { background: linear-gradient(90deg, #A026FF 0%, #FF50C4 100%); }
.c-btn--outline .c-btn__ripple { background: var(--accent); }

/* ================================================================
   COMPONENT - Badge
================================================================ */
.c-badge {
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  transition: border-color 0.3s;
}
.c-badge__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.c-badge__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ================================================================
   PROJECT - Navigation
================================================================ */
.p-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--side-pad);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.p-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.p-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.p-nav__logo {
  display: flex;
  align-items: center;
}
.p-nav__logo-img {
  height: 33px;
  width: auto;
}
.p-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.p-nav__link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.p-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.p-nav__link:hover { color: var(--text-primary); }
.p-nav__link:hover::after { width: 100%; }
.p-nav__contact {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.p-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.p-nav__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.p-nav__toggle.is-active .p-nav__bar--1 { transform: rotate(45deg) translate(4px, 5px); }
.p-nav__toggle.is-active .p-nav__bar--2 { opacity: 0; }
.p-nav__toggle.is-active .p-nav__bar--3 { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 768px) {
  .p-nav__toggle { display: flex; }
  .p-nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .p-nav__links.is-open {
    opacity: 1;
    pointer-events: all;
  }
  .p-nav__link {
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
  }
  .p-nav__contact {
    font-size: 1rem;
    padding: 0.7rem 2rem;
  }
}

/* ================================================================
   PROJECT - Hero
================================================================ */
.p-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}
.p-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}
.p-hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.p-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.p-hero__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 480px;
}
@media screen and (max-width: 768px) {
  .p-hero__cta {
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}
.p-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.p-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ================================================================
   PROJECT - About
================================================================ */
.p-about {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}
.p-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
.p-about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}
.p-about__photo {
  display: flex;
  align-items: center;
}
.p-about__photo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
}
@media (max-width: 768px) {
  .p-about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ================================================================
   PROJECT - Manga
================================================================ */
.p-manga {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  position: relative;
}
.p-manga::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.p-manga__header {
  margin-bottom: 4rem;
}
.p-manga__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.p-manga__card {
  padding: 2.5rem 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  position: relative;
}
.p-manga__card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  pointer-events: none;
}
.p-manga__card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}
.p-manga__card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.p-manga__card:hover .p-manga__card-title::after { width: 56px; }
.p-manga__card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.p-manga__card-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.p-manga__card-feature {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.p-manga__card-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--accent);
}
@media (max-width: 900px) {
  .p-manga__cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* ================================================================
   PROJECT - Technology
================================================================ */
.p-tech {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 1;
}
.p-tech__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.p-tech__items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.p-tech__item {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
}
.p-tech__item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.p-tech__item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .p-tech__content { grid-template-columns: 1fr; }
}

/* ================================================================
   PROJECT - Partners
================================================================ */
.p-partners {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 2;
}
.p-partners__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.p-partners__logo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: calc(var(--side-pad) * 0.5);
  border: 1px solid var(--border);
  background: var(--bg-primary);
}
.p-partners__logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.p-partners__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .p-partners__content {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   PROJECT - Security
================================================================ */
.p-security {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  position: sticky;
  top: 0;
  z-index: 3;
}
.p-security__header {
  margin-bottom: 3rem;
}
.p-security__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.p-security__item {
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.p-security__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-security__svg {
  stroke: var(--text-muted);
  transition: stroke 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.p-security__svg path,
.p-security__svg rect,
.p-security__svg circle,
.p-security__svg polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
              stroke 0.35s ease;
}
.p-security__item.is-visible .p-security__svg path,
.p-security__item.is-visible .p-security__svg rect,
.p-security__item.is-visible .p-security__svg circle,
.p-security__item.is-visible .p-security__svg polyline {
  stroke-dashoffset: 0;
}
.p-security__item:hover .p-security__svg {
  stroke: var(--accent);
  transform: scale(1.15);
}
.p-security__item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.p-security__item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .p-security__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .p-security__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   PROJECT - Company
================================================================ */
.p-company {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  position: relative;
}
.p-company::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.p-company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.p-company__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.p-company__row:last-child { border-bottom: none; }
.p-company__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.p-company__value {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.p-company__map {
  position: relative;
  height: 100%;
  min-height: 320px;
}
.p-company__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%) contrast(1.05);
}
@media (max-width: 900px) {
  .p-company__grid {
    grid-template-columns: 1fr;
  }
  .p-company__map {
    min-height: 280px;
  }
}
@media (max-width: 600px) {
  .p-company__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* ================================================================
   PROJECT - News
================================================================ */
.p-news {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}
.p-news__list {
  display: flex;
  flex-direction: column;
}
.p-news__item {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s;
}
.p-news__item:hover { color: var(--accent); }
.p-news__date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 90px;
  font-variant-numeric: tabular-nums;
}
.p-news__title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.p-news__item:hover .p-news__title { color: var(--text-primary); }

/* ================================================================
   PROJECT - Contact
================================================================ */
.p-contact {
  background: transparent;
  position: relative;
}
.p-contact__overlay {
  width: 100%;
  padding-block: var(--section-pad);
}
.p-contact__header {
  text-align: center;
  margin-bottom: 3rem;
}
.p-contact__header .c-desc {
  margin: 0 auto;
}
.p-contact__form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* ================================================================
   PROJECT - Tayori Form
   ※ #id セレクタは外部フォームの都合上、詳細度の例外とする
================================================================ */
#tayori-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#tayori-form .form-parts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#tayori-form .form-parts > div:first-child {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
#tayori-form input[type="text"],
#tayori-form input[type="email"],
#tayori-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
#tayori-form input[type="text"]:focus,
#tayori-form input[type="email"]:focus,
#tayori-form textarea:focus {
  border-color: var(--accent);
}
#tayori-form input::placeholder,
#tayori-form textarea::placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
}
#tayori-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}
#tayori-form button.submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--accent);
  cursor: pointer;
  border-radius: 0;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 個人情報 スクロールエリア */
.p-privacy-scroll {
  height: 180px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre-line;
  margin-bottom: 1em;
}
.p-privacy-scroll::-webkit-scrollbar { width: 3px; }
.p-privacy-scroll::-webkit-scrollbar-track { background: var(--border); }
.p-privacy-scroll::-webkit-scrollbar-thumb { background: var(--accent); }

#tayori-form input[type="checkbox"] {
  margin-right: 0.5em;
}

#tayori-form .error-message,
#tayori-form .parts-error-message {
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 0.25rem;
}

/* ================================================================
   PROJECT - Footer
================================================================ */
.p-footer {
  padding: 4rem 0 2.5rem;
  background: #000000;
  color: #EDEDED;
}
.p-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 3rem;
}
.p-footer__logo {
  margin-bottom: 0.75rem;
}
.p-footer__logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.p-footer__tagline {
  font-size: 0.8rem;
  color: #888888;
  max-width: 280px;
  line-height: 1.6;
}
.p-footer__links {
  display: flex;
  gap: 3rem;
}
.p-footer__col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 1rem;
}
.p-footer__col-link {
  display: block;
  font-size: 0.85rem;
  color: #999999;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}
.p-footer__col-link:hover { color: #ffffff; }
.p-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: #666666;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.p-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
}
.p-footer__legal-link {
  color: #888;
  transition: color 0.2s;
}
.p-footer__legal-link:hover { color: #fff; }
@media (max-width: 768px) {
  .p-footer__inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .p-footer__links { gap: 2rem; flex-wrap: wrap; }
}
