/* =============================================================
   brand-pages.css — 会社案内トーンの共通ページデザイン
   ProfitScope株式会社
   ============================================================= */

.brand-page {
  background: #f5f7fb;
  color: var(--ink);
}

.brand-page .site-header {
  border-bottom-color: rgba(13,27,75,.08);
  box-shadow: 0 8px 30px -24px rgba(13,27,75,.45);
}

.brand-page .site-nav__list a[aria-current="page"] {
  color: var(--ink);
  background: rgba(244,200,67,.22);
}

.brand-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 62px) var(--pad-x) 72px;
  background:
    radial-gradient(720px 420px at 92% 12%, rgba(79,195,247,.22), transparent 68%),
    radial-gradient(540px 340px at 8% 100%, rgba(244,200,67,.12), transparent 70%),
    linear-gradient(135deg, #081537 0%, #0D1B4B 48%, #143B78 100%);
  color: #fff;
  text-align: left;
}

.brand-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79,195,247,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,247,.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
}

.page-hero__copy {
  max-width: 640px;
}

.brand-page .page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.brand-page .page-hero .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.brand-page .page-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.22;
  letter-spacing: .01em;
}

.brand-page .page-hero p {
  max-width: 590px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(.98rem, 1.8vw, 1.1rem);
  line-height: 1.9;
}

.page-hero__kicker {
  display: inline-block;
  margin-top: 1.25rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(244,200,67,.36);
  border-radius: 999px;
  background: rgba(244,200,67,.08);
  color: #FFE88E;
  font-size: .82rem;
  font-weight: 700;
}

.page-hero__visual {
  position: relative;
  min-height: 330px;
}

.page-hero__visual::before {
  content: "";
  position: absolute;
  inset: 14% -8% -10% 14%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(79,195,247,.22), rgba(244,200,67,.11));
  filter: blur(10px);
}

.page-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.8);
}

.page-hero__visual::after {
  content: "BI × AI × Profit Control";
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 24px;
  padding: .72rem 1rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(8,21,55,.9);
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
  color: #fff;
  font-family: var(--font-data);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.brand-page .page-body {
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px var(--pad-x) 88px;
}

.brand-page .breadcrumb {
  margin-bottom: 2rem;
}

/* Consultation */
.consultation-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.consultation-intro {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.brand-page .info-cards {
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
}

.brand-page .info-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: .8rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(13,27,75,.08);
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 12px 30px -26px rgba(13,27,75,.6);
}

.brand-page .info-card__icon {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2,132,199,.16), rgba(79,195,247,.08));
  font-size: 1.25rem;
}

.brand-page .info-card h3 {
  margin: 0 0 .1rem;
  font-size: .92rem;
}

.brand-page .info-card p {
  font-size: .82rem;
  line-height: 1.55;
}

.brand-page .check-list {
  margin-bottom: 1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(79,195,247,.2);
  border-radius: 16px;
  background: linear-gradient(145deg, #0D1B4B, #163C78);
}

.brand-page .check-list h2 {
  color: #fff;
}

.brand-page .check-list li {
  color: rgba(255,255,255,.75);
}

.brand-page .check-list li::before {
  color: var(--gold);
}

.brand-page .notice {
  border-color: rgba(244,200,67,.36);
  background: linear-gradient(135deg, rgba(244,200,67,.17), rgba(255,255,255,.95));
}

.brand-page .form-wrap {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid rgba(13,27,75,.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px -46px rgba(13,27,75,.75);
}

.brand-page .form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--sky), #2363A5);
}

.brand-page .form-wrap h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
}

.brand-page .form-control {
  background: #F8FAFD;
  border-color: rgba(13,27,75,.14);
}

.brand-page .form-control:focus {
  background: #fff;
  border-color: var(--sky-deep);
}

.brand-page .form-submit .btn {
  min-height: 54px;
  background: linear-gradient(135deg, #F4C843, #FFD968);
  box-shadow: 0 16px 32px -20px rgba(244,200,67,.75);
}

/* Demo */
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.demo-overview {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.brand-page .demo-points {
  gap: .9rem;
  margin-bottom: 0;
}

.brand-page .demo-point {
  position: relative;
  min-height: 142px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(13,27,75,.09);
  box-shadow: 0 14px 34px -28px rgba(13,27,75,.65);
}

.brand-page .demo-point::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: .75rem;
  background: var(--gold);
}

.brand-page .screen-mock {
  margin-bottom: 0;
  border: 1px solid rgba(79,195,247,.24);
  box-shadow: 0 22px 52px -34px rgba(13,27,75,.9);
}

.brand-page .demo-visual-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(13,27,75,.1);
  box-shadow: 0 20px 54px -38px rgba(13,27,75,.8);
}

/* Document request */
.document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.brand-page .doc-list {
  margin-bottom: 0;
}

.brand-page .doc-item {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(13,27,75,.09);
  box-shadow: 0 14px 32px -28px rgba(13,27,75,.7);
}

.brand-page .doc-item__icon {
  background: linear-gradient(135deg, #0D1B4B, #2363A5);
}

.brand-page .doc-item__icon svg {
  stroke: var(--gold);
}

.document-note {
  margin-top: 1.2rem;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: #fff;
  color: var(--slate);
  font-size: .9rem;
}

/* Privacy */
.privacy-page .page-hero {
  padding-bottom: 58px;
}

.privacy-page .page-hero__visual {
  min-height: 250px;
}

.privacy-page .page-hero__image {
  height: 250px;
}

.privacy-page .page-body {
  max-width: 920px;
}

.privacy-page .policy-card {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid rgba(13,27,75,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px -52px rgba(13,27,75,.75);
}

.privacy-page .policy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(13,27,75,.08);
}

.privacy-page .policy-section:last-of-type {
  border-bottom: 0;
}

.privacy-page .policy-section h2 {
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
  font-size: 1.08rem;
}

/* Thanks */
.thanks-page {
  background:
    radial-gradient(620px 420px at 90% 10%, rgba(79,195,247,.18), transparent 70%),
    linear-gradient(145deg, #081537 0%, #0D1B4B 52%, #17437E 100%);
}

.thanks-page .site-header {
  background: rgba(255,255,255,.96);
}

.thanks-page .thanks-wrap {
  min-height: calc(100vh - var(--header-h));
}

.thanks-page .thanks-inner {
  position: relative;
  max-width: 650px;
  padding: clamp(2rem, 5vw, 3.4rem);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 36px 90px -42px rgba(0,0,0,.85);
}

.thanks-page .thanks-icon {
  background: linear-gradient(135deg, #0D1B4B, #2363A5);
  box-shadow: 0 14px 28px -16px rgba(13,27,75,.65);
}

.thanks-page .thanks-icon::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(244,200,67,.5);
  border-radius: 50%;
}

/* Footer */
.brand-page .site-footer {
  background: #081537;
  border-top-color: rgba(79,195,247,.16);
  color: rgba(255,255,255,.68);
}

.brand-page .site-footer__brand {
  color: #fff;
}

.brand-page .site-footer__info,
.brand-page .site-footer__copy {
  color: rgba(255,255,255,.62);
}

@media (max-width: 900px) {
  .page-hero__inner,
  .consultation-layout,
  .demo-layout,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__visual {
    min-height: 260px;
    max-width: 680px;
  }

  .page-hero__image {
    height: 300px;
  }

  .consultation-intro {
    position: static;
  }

  .brand-page .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-page .info-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-page .info-card__icon {
    grid-row: auto;
    margin: 0 auto .25rem;
  }
}

@media (max-width: 640px) {
  .brand-page .page-hero {
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 48px;
  }

  .page-hero__visual {
    min-height: 210px;
  }

  .page-hero__image {
    height: 230px;
    border-radius: 18px;
  }

  .page-hero__visual::after {
    left: -8px;
    bottom: 14px;
    font-size: .66rem;
  }

  .brand-page .info-cards,
  .brand-page .demo-points {
    grid-template-columns: 1fr;
  }

  .brand-page .form-wrap {
    border-radius: 18px;
  }
}
