/* Company / Service共通。TOPと同じ書体・色・本文の基準線を使用する。 */
.page-container { width: calc(100% - 15vw); max-width: 1280px; margin-inline: auto; }
.page-main { overflow: clip; background: #fff; }
.page-hero { position: relative; isolation: isolate; min-height: 560px; overflow: hidden; background: var(--paper); }
.page-hero-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 58; }
.page-curve-orange { stroke: var(--accent); transform: translateY(-100px); }
.page-curve-peach { stroke: var(--accent-soft); }
.page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 206px; }
.page-hero h1, .page-hero-title { margin: 0; font-size: clamp(72px, 7.8vw, 120px); font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.page-subtitle { margin: 20px 0 0; font-size: 16px; font-weight: 500; }
.breadcrumb { padding-bottom: 7px; font-size: 11px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 12px; color: var(--sub); }
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-surface { position: relative; isolation: isolate; margin-top: -60px; padding-bottom: 100px; overflow: hidden; border-radius: 64px 64px 0 0; background: rgb(255 255 255 / 90%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.page-main > .page-surface:last-child { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.page-haze { position: absolute; z-index: -1; inset: 0 0 auto; height: 1100px; overflow: hidden; mask-image: linear-gradient(to bottom, #000 65%, transparent); pointer-events: none; }
.page-haze::before, .page-haze::after { content: ""; position: absolute; width: 920px; height: 730px; border: 64px solid var(--accent-soft); border-radius: 50%; filter: blur(38px); opacity: .28; }
.page-haze::before { left: -800px; top: 250px; transform: rotate(-35deg); }
.page-haze::after { right: -620px; top: -320px; transform: rotate(-38deg); }
.page-section-heading p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--sub); }
.page-section-heading h2 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.6; }
.page-next { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 72px; }
.page-next-label { display: block; margin-bottom: 8px; font-size: 14px; }
.page-next-title { display: block; font-size: clamp(48px, 6vw, 80px); font-weight: 400; line-height: 1.2; }
.page-next-arrow { display: grid; place-items: center; width: 80px; height: 80px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--paper); transition: color .25s, background .25s; }
.page-next-arrow svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.5; }
.page-next:is(:hover, :focus-visible) .page-next-arrow { background: var(--ink); color: #fff; }
.page-closing { position: relative; z-index: 0; margin-top: 0; padding-top: 80px; background: #fff; }
/* 背景の高さ・色を本文との接続部まで連続させ、角の外へ装飾を残さない。 */
.page-hero.has-hero-motion { overflow: visible; background: transparent; }
.page-hero.has-hero-motion::before { content: ""; position: absolute; z-index: -2; inset: 0 0 -180px; background: linear-gradient(to bottom, var(--paper) calc(100% - 180px), #fff); pointer-events: none; }
.page-hero-art.is-motion { inset: 0; width: 100%; height: 100%; max-width: none; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent); }
.page-hero-art.is-motion path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.page-motion-orange { stroke: var(--accent); }
.page-motion-peach { stroke: color-mix(in srgb, var(--accent-soft) 75%, var(--accent)); }
@media (max-width: 760px) {
  .page-container { width: calc(100% - 48px); }
  .page-hero { min-height: 370px; }
  .page-hero.has-hero-motion { min-height: 420px; }
  .page-hero-art { width: 860px; max-width: none; left: calc(50% - 430px); stroke-width: 45; }
  .page-hero-inner { display: block; padding-top: 132px; }
  .page-hero h1, .page-hero-title { font-size: clamp(44px, 12.8vw, 76px); }
  .page-subtitle { margin-top: 16px; font-size: 14px; }
  .breadcrumb { margin-top: 36px; font-size: 10px; }
  .page-surface { margin-top: -32px; padding-bottom: 56px; border-radius: 32px 32px 0 0; }
  .page-haze { height: 800px; }
  .page-haze::before { left: -830px; top: 220px; opacity: .2; }
  .page-haze::after { right: -820px; top: -390px; opacity: .25; }
  .page-section-heading { margin-bottom: 36px; }
  .page-section-heading p { margin-bottom: 8px; font-size: 11px; }
  .page-section-heading h2 { font-size: 22px; }
  .page-next { padding-top: 40px; }
  .page-next-label { font-size: 12px; }
  .page-next-title { font-size: 48px; }
  .page-next-arrow { width: 56px; height: 56px; }
  .page-next-arrow svg { width: 22px; height: 22px; }
  .page-closing { padding-top: 48px; }
}
