/* =========================================================
   Common Page Board
   壁紙付き固定ページ共通
========================================================= */

.p-soho-page-board {
  position: relative;

  width: min(1080px, calc(100% - 72px));
  margin: 0 auto;
  padding: 64px 0 88px;

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.p-soho-page-board::before {
  content: "";

  position: absolute;
  inset: 34px -34px 46px;
  z-index: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(238, 232, 218, 0.28) 30%,
      rgba(198, 190, 172, 0.24) 100%
    );

  border: 1px solid rgba(27, 26, 23, 0.13);

  box-shadow:
    0 22px 54px rgba(49, 11, 13, 0.24),
    0 4px 18px rgba(137, 29, 33, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(49, 11, 13, 0.10);

  pointer-events: none;
}

.p-soho-page-board::after {
  content: "";

  position: absolute;
  inset: 34px -34px 46px;
  z-index: 0;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(27, 26, 23, 0.018) 0,
      rgba(27, 26, 23, 0.018) 1px,
      transparent 1px,
      transparent 9px
    ),
    radial-gradient(
      circle at 18% 24%,
      rgba(137, 29, 33, 0.045),
      transparent 28%
    );

  opacity: 0.8;
  pointer-events: none;
}

.p-soho-page-board > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Common Page Heading
   壁紙付き固定ページ共通
========================================================= */

.p-soho-page-heading {
  position: relative;
  z-index: 1;

  margin: 0 12px 48px;
  padding: 4px 0 32px 20px;

  border-left: 3px solid var(--soho-red, #891d21);
}

.p-soho-page-heading__inner {
  max-width: 900px;
}

.p-soho-page-heading__title {
  margin: 0;

  color: var(--soho-ink, #1b1a17);

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.35;
  letter-spacing: 0.025em;
  font-weight: 600;
}

.p-soho-page-heading__line {
  display: block;

  width: 72px;
  height: 1px;
  margin-top: 20px;

  background: var(--soho-red, #891d21);

  opacity: 0.66;
}

.p-soho-page-heading__lead {
  max-width: 820px;
  margin: 24px 0 0;

  color: var(--soho-ink, #1b1a17);

  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  letter-spacing: 0.025em;
  font-weight: 400;
}

.p-soho-page-heading__description {
  max-width: 760px;
  margin: 16px 0 0;

  color: rgba(27, 26, 23, 0.68);

  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.025em;
}

/* =========================================================
   Responsive
========================================================= */

@media screen and (max-width: 960px) {
  .p-soho-page-board {
    width: min(100% - 36px, 720px);
    padding: 44px 0 68px;
  }

  .p-soho-page-board::before,
  .p-soho-page-board::after {
    inset: 22px -14px 34px;
  }
}

@media screen and (max-width: 640px) {
  .p-soho-page-board {
    width: min(100% - 28px, 520px);
    padding: 38px 0 60px;
  }

  .p-soho-page-heading {
    margin: 0 10px;
    padding: 2px 0 28px 16px;
  }

  .p-soho-page-heading__title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .p-soho-page-heading__line {
    width: 56px;
    margin-top: 16px;
  }

  .p-soho-page-heading__lead {
    margin-top: 20px;
    font-size: clamp(17px, 5.4vw, 21px);
  }

  .p-soho-page-heading__description {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.9;
  }
}
