:root {
  --black: #080808;
  --ink: #141414;
  --muted: #555555;
  --line: rgba(0, 0, 0, 0.1);
  --soft-line: rgba(0, 0, 0, 0.06);
  --white: #ffffff;
  --paper: #f7f6f3;
  --paper-2: #efeee9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --container: 1180px;
  --serif: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  --nav-serif: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* =========================================================
   Header
========================================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 112px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 34px;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  position: absolute;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-block;
  border-left: 8px solid var(--black);
  border-bottom: 8px solid var(--black);
  border-top-right-radius: 23px;
  box-shadow: 5px 5px 0 #8b8b8b;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 19px;
  height: 19px;
  border-top-right-radius: 19px;
  background: var(--white);
}

.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* =========================================================
   Official Logo Layer
========================================================= */

.brand-logo {
  display: block;
  width: auto;
  height: 50px;
  max-width: 150px;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 188px;
  height: 54px;
  padding: 0 28px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* =========================================================
   Common
========================================================= */

.eyebrow,
.section-number {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #222222;
}

.hero h1,
.section-heading h2,
.philosophy-copy h2,
.service-heading h2,
.case-heading h2,
.flow-heading h2,
.faq-heading h2,
.contact-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-width: 168px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.button::after {
  content: "→";
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-light {
  background: rgba(255, 255, 255, 0.72);
  color: var(--black);
}

.button-invert {
  width: 200px;
  height: 56px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* =========================================================
   Lower Page Common Layer
========================================================= */

.lower-page {
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
}

.lower-main {
  overflow: hidden;
  background: var(--white);
}

.lower-hero {
  padding: 150px 0 90px;
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.96), rgba(255, 255, 255, 0.98));
  border-bottom: 1px solid var(--soft-line);
}

.lower-hero-inner {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 72px;
  align-items: center;
}

.lower-kicker,
.lower-section-kicker {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--muted);
  text-transform: uppercase;
}

.lower-title,
.lower-section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}

.lower-title {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1.04;
}

.lower-lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.lower-breadcrumb {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lower-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.lower-breadcrumb a:hover {
  color: var(--ink);
}

.lower-section {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--soft-line);
}

.lower-section-muted {
  background: var(--paper);
}

.lower-section-inner {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

.lower-section-heading {
  max-width: 760px;
  margin: 0 0 54px;
}

.lower-section-title {
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.12;
}

.lower-section-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
}

.lower-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 72px;
  align-items: start;
}

.lower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lower-card {
  min-height: 100%;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--soft-line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.055);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.lower-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lower-card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: 0;
  color: var(--ink);
}

.lower-card-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.lower-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lower-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.lower-list-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.lower-list-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.lower-faq {
  background: var(--white);
}

.lower-faq-item {
  width: 100%;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lower-faq .faq-list {
  border-top: 1px solid var(--line);
}

.lower-faq .faq-item,
.lower-faq .faq-answer {
  background: transparent;
}

.lower-cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: var(--black);
  color: var(--white);
}

.lower-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.82)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1), transparent 34%);
  opacity: 1;
}

.lower-cta-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.lower-cta-copy {
  max-width: 720px;
}

.lower-cta-copy .section-number,
.lower-cta-copy .lower-section-kicker {
  color: rgba(255, 255, 255, 0.64);
}

.lower-cta-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--white);
}

.lower-cta-copy p:not(.section-number):not(.lower-section-kicker) {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.9;
}

.lower-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lower-card:hover {
    transform: translateY(-6px);
    border-color: var(--line);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.095);
  }

  .lower-cta-button:hover {
    transform: translateY(-4px);
    background: transparent;
    color: var(--white);
  }
}

@media (max-width: 1180px) {
  .lower-hero-inner,
  .lower-two-column,
  .lower-cta-inner {
    grid-template-columns: 1fr;
  }

  .lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lower-cta-inner {
    align-items: start;
  }
}

@media (max-width: 820px) {
  .lower-hero {
    padding: 118px 0 68px;
  }

  .lower-hero-inner,
  .lower-breadcrumb,
  .lower-section-inner,
  .lower-cta-inner {
    width: min(100% - 44px, var(--container));
  }

  .lower-hero-inner,
  .lower-two-column,
  .lower-grid {
    gap: 28px;
  }

  .lower-title {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .lower-section {
    padding: 68px 0;
  }

  .lower-section-heading {
    margin-bottom: 38px;
  }

  .lower-section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }

  .lower-card {
    padding: 28px;
  }

  .lower-list-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lower-cta {
    padding: 64px 0;
  }

  .lower-cta-button {
    width: 100%;
  }
}

/* =========================================================
   Privacy Policy Page
========================================================= */

.privacy-content {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #faf9f6;
}

.privacy-inner {
  width: min(100% - 48px, 920px);
  margin: 0 auto;
}

.privacy-section + .privacy-section {
  margin-top: clamp(40px, 5vw, 64px);
}

.privacy-section h2 {
  margin: 0 0 18px;
  color: rgba(20, 20, 20, 0.92);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
}

.privacy-section p,
.privacy-section li,
.privacy-date {
  color: rgba(30, 30, 27, 0.8);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 2;
}

.privacy-section p {
  margin: 0;
}

.privacy-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.privacy-text-link {
  color: rgba(20, 20, 20, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.privacy-date {
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 20, 20, 0.14);
}

