/*=======================================
	breakpoint
=======================================*/
/*=======================================
	hover
=======================================*/
/*=======================================
	center positioning
=======================================*/
/*=======================================
	fluid responsive sizing
/* PC */
/* TB */
/* SP */
/*=======================================
	browser-specific helpers
=======================================*/
/* Safari */
/* Firefox */
/*!
 * ERRAI CORPORATION - privacy.css
 * Source: privacy/index.html
 * Auto-extracted from inline <style>; manual additions below.
 */
/* ========================================================================
	 ERRAI CORPORATION - Sub Page (PRIVACY POLICY)
	 Follows the same design language as the top page.
	 ======================================================================== */
:root {
  --void:	#04060c;
  --abyss: #070b16;
  --midnight:	#0b1124;
  --navy:	#111935;
  --steel: #1a2447;
  --glass: rgba(255,255,255,0.04);
  --glass-bd:	rgba(255,255,255,0.08);
  --glass-bd-2:	rgba(255,255,255,0.12);
  --gamma: #6ea8ff;
  --gamma-deep:	#3b6fd6;
  --photon:	#aac6ff;
  --plasma:	#b48bff;
  --gold:	#d9c08a;
  --ink: #f4f6fb;
  --ink-2: #c8cfdd;
  --ink-3: #8c95a8;
  --ink-4: #5b6478;
  --rule:	rgba(255,255,255,0.07);
  --rule-2:	rgba(255,255,255,0.12);
  --font-display: "Manrope", "Noto Sans JP", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-mono:	"JetBrains Mono", ui-monospace, monospace;
  --font-jp:	"Noto Sans JP", system-ui, sans-serif;
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,.84,.32,1);
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Ambient noise & glow -same as TOP */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(110, 168, 255, 0.08), transparent 70%), radial-gradient(900px 700px at -10% 60%, rgba(180, 139, 255, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/noise.svg");
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

main, header, footer, section {
  position: relative;
  z-index: 3;
}

/* ========== PAGE HERO ========== */
.page-hero {
  min-height: 52vh;
  margin-top: 0;
  padding: 160px var(--gutter) 80px;
}

.page-hero__bg {
  background-size: cover;
  background-position: center;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(4, 6, 12, 0.6)), color-stop(50%, rgba(4, 6, 12, 0.45)), to(rgba(7, 11, 22, 0.95))), -webkit-gradient(linear, left top, right top, from(rgba(4, 6, 12, 0.75)), color-stop(60%, rgba(4, 6, 12, 0.25)), to(transparent)), url("../img/privacy/policy_bg.jpg");
  background-image: linear-gradient(180deg, rgba(4, 6, 12, 0.6) 0%, rgba(4, 6, 12, 0.45) 50%, rgba(7, 11, 22, 0.95) 100%), linear-gradient(90deg, rgba(4, 6, 12, 0.75) 0%, rgba(4, 6, 12, 0.25) 60%, transparent 100%), url("../img/privacy/policy_bg.jpg");
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(110, 168, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 168, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 18% 50%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 18% 50%, black 25%, transparent 75%);
}

.page-hero__title {
  font-size: clamp(40px, 7vw, 92px);
  letter-spacing: 0.02em;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 24px var(--gutter) 0;
}

.breadcrumb__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--ink-3);
  -webkit-transition: color 0.3s var(--ease);
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--gamma);
}

.breadcrumb .sep {
  color: var(--ink-4);
}

.breadcrumb .current {
  color: var(--ink);
  border-bottom: 1px solid var(--gamma);
  padding-bottom: 3px;
}

/* ========== POLICY BODY ========== */
.policy-wrap {
  padding: clamp(64px, 8vw, 120px) var(--gutter);
}

.policy-inner {
  max-width: 880px;
  margin: 0 auto;
}

.policy-block {
  margin-bottom: clamp(48px, 6vw, 72px);
}

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

.policy-heading {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 18px;
  font-family: var(--font-jp);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule-2);
}

.policy-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 1px;
  background: var(--gamma);
  -webkit-box-shadow: 0 0 8px var(--gamma);
          box-shadow: 0 0 8px var(--gamma);
}

.policy-heading__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gamma);
  font-weight: 500;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.policy-text {
  font-family: var(--font-jp);
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.policy-text + .policy-text {
  margin-top: 14px;
}

/* Numbered list (blue label) */
.policy-list {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.policy-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.policy-list__num {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 24px;
          flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--gamma);
  color: var(--abyss);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* Contact box */
.contact-box {
  margin-top: clamp(64px, 8vw, 96px);
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.015);
  position: relative;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--gamma);
  -webkit-box-shadow: 0 0 12px var(--gamma);
          box-shadow: 0 0 12px var(--gamma);
}

.contact-box__corner {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
}

.contact-box__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.contact-box__title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--gamma);
}

.contact-box__company {
  font-family: var(--font-jp);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.contact-box__addr,
.contact-box__line {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.contact-box__line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 6px 12px;
}

.contact-box__label {
  color: var(--gamma);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.contact-box__note {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.contact-box__btn-wrap {
  margin-top: 32px;
}

.contact-box__btn-wrap .btn-line {
  min-width: 200px;
  text-align: center;
}

/* ========== FOOTER (same as TOP) ========== */
.site-footer {
  background: var(--void);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand .ja {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.footer-brand .addr {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.footer-brand .addr a {
  color: var(--gamma);
  text-decoration: underline;
  text-decoration-color: rgba(110, 168, 255, 0.3);
  text-underline-offset: 3px;
  -webkit-transition: text-decoration-color 0.3s var(--ease);
  transition: text-decoration-color 0.3s var(--ease);
}

.footer-brand .addr a:hover {
  text-decoration-color: var(--gamma);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  -webkit-transition: color 0.3s var(--ease);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--photon);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  color: var(--ink-4);
}

.footer-bottom .legal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: var(--ink-3);
  -webkit-transition: color 0.3s var(--ease);
  transition: color 0.3s var(--ease);
}

.footer-bottom a:hover {
  color: var(--ink);
}

@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
/* Reveal */
.reveal {
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  -webkit-transition: opacity 1s var(--ease), -webkit-transform 1s var(--ease);
  transition: opacity 1s var(--ease), -webkit-transform 1s var(--ease);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition: opacity 1s var(--ease), transform 1s var(--ease), -webkit-transform 1s var(--ease);
}

.reveal.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--abyss);
}

::-webkit-scrollbar-thumb {
  background: var(--steel);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gamma-deep);
}

::-moz-selection {
  background: var(--gamma);
  color: var(--abyss);
}

::selection {
  background: var(--gamma);
  color: var(--abyss);
}

@media (max-width: 560px) {
  .page-hero {
    min-height: 40vh;
    padding-top: 120px;
  }
  .policy-heading {
    gap: 12px;
  }
}
/* === EN-only overrides (merged from en/privacy/index.html) === */
/* ========== EN overrides ========== */
html[lang=en] body,
html[lang=en] .policy-heading,
html[lang=en] .policy-text,
html[lang=en] .policy-list li,
html[lang=en] .contact-box__title,
html[lang=en] .contact-box__company,
html[lang=en] .contact-box__addr,
html[lang=en] .contact-box__line {
  font-family: var(--font-display);
}

html[lang=en] .policy-text,
html[lang=en] .policy-list li {
  line-height: 1.85;
}

/* === Footer heading: a11y fix (h4 -> p.footer-col__heading) === */
.footer-col__heading {
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-weight: 500;
}
/* === Unified footer display === */
.site-footer {
  background: var(--void);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand .ja {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .15em;
  margin-bottom: 24px;
}

.footer-brand .addr {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-3);
  letter-spacing: .04em;
}

.footer-brand .addr a {
  color: var(--gamma);
  text-decoration: underline;
  text-decoration-color: rgba(110,168,255,.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}

.footer-brand .addr a:hover {
  color: var(--photon);
  text-decoration-color: var(--gamma);
}

.footer-col h4,
.footer-col__heading {
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-col a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--ink-2);
  transition: color .3s var(--ease);
}

.footer-col a:hover {
  color: var(--photon);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  color: var(--ink-4);
  text-transform: none;
}

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

.footer-bottom a,
.footer-bottom .legal a {
  color: var(--ink-3);
  transition: color .3s var(--ease);
}

.footer-bottom a:hover,
.footer-bottom .legal a:hover {
  color: var(--ink);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/*# sourceMappingURL=privacy.css.map */
