@charset 'UTF-8';

/* styles.css */
:root {
  --paper: #faf8f3;
  --ink: #27241f;
  --muted: #756e63;
  --orange: #ed8032;
  --line: #ded8cd;
  --gutter: clamp(24px, 4.2vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, figure { margin: 0; }
h1, h2, p {
  font-feature-settings: 'palt' 1;
  line-break: strict;
  word-break: auto-phrase;
  text-autospace: normal;
}
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
a:focus-visible { outline: 3px solid #9b4100; outline-offset: 6px; }
.c-skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px; background: white; transform: translateY(-180%); }
.c-skip:focus { transform: none; }
.l-container { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.l-header { height: 88px; }
.l-header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.c-brand { font-size: 21px; letter-spacing: .21em; font-weight: 700; text-decoration: none; }
.c-header-link { font-size: 13px; text-decoration: none; letter-spacing: .04em; padding-block: 12px; }
.c-header-link span { padding-left: 20px; }
.p-hero { display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - 88px); }
.p-hero__inner { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-rows: auto auto auto; align-content: center; align-items: center; column-gap: clamp(32px, 5vw, 88px); padding-block: clamp(48px, 7svh, 88px); }
.p-hero__copy { grid-column: 1; grid-row: 1; }
.p-hero__body { grid-column: 1; grid-row: 2; }
.p-hero__actions { grid-column: 1; grid-row: 3; }
.p-hero__visual { grid-column: 2; grid-row: 1 / 4; }
.p-hero__kicker { font-size: clamp(13px, 1.05vw, 15px); font-weight: 500; letter-spacing: .06em; line-height: 1.8; margin-bottom: 32px; }
.p-hero__title { font-size: clamp(28px, 3.05vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: 1.52; }
.p-hero__line { display: table; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .09em; text-underline-offset: .12em; }
.p-hero__sub { display: block; margin-top: 18px; font-size: clamp(16px, 1.35vw, 20px); letter-spacing: .01em; line-height: 1.9; font-weight: 500; }
.p-hero__body { max-width: 34em; margin-top: 32px; font-size: 16px; line-height: 2.1; letter-spacing: .025em; }
.p-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 36px; }
.c-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; padding: 19px 28px; min-height: 60px; border-radius: 100px; background: var(--orange); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.5; transition: background .2s; }
.c-button:hover { background: #f3934e; }
.c-button span { font-weight: 400; font-size: 24px; line-height: 1; }
.c-text-link { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.p-hero__visual img { aspect-ratio: 1.3; object-fit: cover; object-position: right center; border-radius: 3px; }
.p-hero__scroll { display: flex; align-items: center; gap: 18px; padding-bottom: 28px; font-size: 10px; letter-spacing: .22em; color: var(--muted); }
.p-hero__scroll::before { content: ''; width: 1px; height: 36px; background: var(--orange); }
.p-consultation { border-top: 1px solid var(--line); padding-block: clamp(96px, 10vw, 176px); background: #f2eee6; }
.c-section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 42px; font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.c-section-label span { color: #b7500b; letter-spacing: .05em; }
.p-consultation__title { font-size: clamp(28px, 2.4vw, 40px); letter-spacing: -.025em; line-height: 1.75; font-weight: 700; }
.p-consultation__title span { display: block; }
.p-consultation__grid { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(48px, 7vw, 112px); margin-top: 64px; }
.p-consultation__visual { order: -1; }
.p-consultation__visual img { aspect-ratio: 1.45; object-fit: cover; object-position: right center; border-radius: 3px; }
.p-consultation__body { font-size: 16px; line-height: 2.2; letter-spacing: .025em; }
.p-consultation__body p + p { margin-top: 28px; }
.p-side-nav { display: none; }
.c-review-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; border-top: 1px solid var(--line); padding: 32px 24px; color: var(--muted); font-size: 12px; background: var(--paper); }
.c-review-switch a { text-underline-offset: 4px; }

/* B: 本文を768px以内に保ち、右側にナビゲーションを配置する。 */
.p-study--b { background: #eeeae2; }
.p-study--b .l-frame { display: grid; grid-template-columns: minmax(0, 768px) 176px; gap: 64px; width: min(1008px, calc(100% - 80px)); margin-inline: auto; }
.p-study--b .l-sheet { min-width: 0; background: var(--paper); border-inline: 1px solid #e3ddd2; }
.p-study--b .l-container { width: calc(100% - 112px); }
.p-study--b .l-header { height: 80px; }
.p-study--b .c-header-link { font-size: 12px; }
.p-study--b .p-hero { min-height: calc(100svh - 80px); }
.p-study--b .p-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: center; padding-block: 36px; }
.p-study--b .p-hero__copy { grid-column: 1; grid-row: 1; }
.p-study--b .p-hero__body { grid-column: 1; grid-row: 3; }
.p-study--b .p-hero__actions { grid-column: 1; grid-row: 4; }
.p-study--b .p-hero__kicker { font-size: 13px; margin-bottom: 20px; }
.p-study--b .p-hero__title { font-size: clamp(29px, 3vw, 44px); line-height: 1.45; }
.p-study--b .p-hero__sub { margin-top: 12px; font-size: 17px; line-height: 1.8; }
.p-study--b .p-hero__visual { grid-column: 1; grid-row: 2; margin-top: 28px; }
.p-study--b .p-hero__visual img { aspect-ratio: 1.7; object-position: center top; }
.p-study--b .p-hero__body { margin-top: 28px; max-width: none; font-size: 15px; line-height: 2; }
.p-study--b .p-hero__actions { margin-top: 24px; gap: 20px; justify-content: space-between; }
.p-study--b .c-button { min-height: 54px; font-size: 14px; padding: 16px 24px; gap: 24px; }
.p-study--b .c-text-link { font-size: 12px; gap: 10px; }
.p-study--b .p-hero__scroll { padding-bottom: 24px; }
.p-study--b .p-hero__scroll::before { height: 24px; }
.p-study--b .p-consultation { padding-block: 112px; }
.p-study--b .c-section-label { margin-bottom: 40px; }
.p-study--b .p-consultation__title { font-size: 32px; line-height: 1.8; }
.p-study--b .p-consultation__grid { display: block; margin-top: 48px; }
.p-study--b .p-consultation__body { font-size: 15px; line-height: 2.25; }
.p-study--b .p-consultation__body p + p { margin-top: 28px; }
.p-study--b .p-consultation__visual { margin-top: 48px; }
.p-study--b .p-consultation__visual img { aspect-ratio: 1.5; }
.p-study--b .p-side-nav { display: block; align-self: start; position: sticky; top: 34svh; padding-top: 32px; }
.p-side-nav__brand { font-size: 17px; font-weight: 700; letter-spacing: .2em; margin-bottom: 44px; }
.p-side-nav__links { display: grid; gap: 12px; border-left: 1px solid #d1c8ba; }
.p-side-nav__links a { position: relative; display: flex; align-items: center; gap: 15px; padding: 16px 0 16px 22px; font-size: 13px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.p-side-nav__links a span { font-size: 10px; letter-spacing: .08em; }
.p-side-nav__links a[aria-current] { color: var(--ink); font-weight: 700; }
.p-side-nav__links a[aria-current]::before { content: ''; position: absolute; left: -2px; top: 14px; bottom: 14px; width: 3px; background: var(--orange); }
.p-side-nav__contact { display: inline-flex; gap: 12px; align-items: center; margin-top: 40px; font-size: 12px; text-underline-offset: 5px; }

@media (769px <= width <= 1100px) {
  .p-hero__body { font-size: 15px; margin-top: 24px; }
  .p-hero__kicker { margin-bottom: 24px; }
  .p-hero__actions { margin-top: 28px; gap: 12px; }
  .c-button { font-size: 14px; padding: 16px 22px; gap: 20px; min-height: 54px; }
  .p-study--b .l-frame { grid-template-columns: minmax(0, 768px) 144px; gap: 32px; width: calc(100% - 48px); }
  .p-study--b .l-container { width: calc(100% - 64px); }
  .p-study--b .p-hero__title { font-size: clamp(28px, 3.5vw, 38px); }
  .p-study--b .p-hero__sub { font-size: 16px; }
  .p-study--b .p-hero__actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .p-study--b .p-consultation__title { font-size: 28px; }
}

@media (min-width: 769px) and (max-height: 850px) {
  .p-study--b .p-hero__inner { grid-template-columns: 1fr 1fr; column-gap: 28px; padding-block: 16px; }
  .p-study--b .p-hero__copy { grid-column: 1 / -1; }
  .p-study--b .p-hero__kicker { margin-bottom: 12px; font-size: 12px; }
  .p-study--b .p-hero__title { font-size: 32px; }
  .p-study--b .p-hero__sub { font-size: 15px; line-height: 1.7; margin-top: 8px; }
  .p-study--b .p-hero__visual { grid-column: 1; grid-row: 2; margin-top: 20px; }
  .p-study--b .p-hero__visual img { aspect-ratio: 1.3; object-position: right center; }
  .p-study--b .p-hero__body { grid-column: 2; grid-row: 2; margin-top: 20px; font-size: 14px; line-height: 1.9; }
  .p-study--b .p-hero__actions { grid-column: 1 / -1; margin-top: 20px; }
  .p-study--b .p-hero__scroll { padding-bottom: 16px; }
  .p-study--b .p-hero__scroll::before { height: 20px; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .l-header { height: 64px; }
  .c-brand { font-size: 17px; }
  .c-header-link { font-size: 11px; }
  .c-header-link span { padding-left: 10px; }
  .p-hero { min-height: calc(100svh - 64px); }
  .p-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 0; padding-block: 28px 24px; max-width: 560px; }
  .p-hero__kicker { font-size: 11px; margin-bottom: 18px; letter-spacing: .025em; }
  .p-hero__title { font-size: clamp(26px, 7.4vw, 42px); line-height: 1.5; }
  .p-hero__sub { margin-top: 12px; font-size: 14px; line-height: 1.85; letter-spacing: .01em; }
  .p-hero__visual { grid-column: 1; grid-row: 2; margin-top: 24px; }
  .p-hero__body { grid-column: 1; grid-row: 3; }
  .p-hero__actions { grid-column: 1; grid-row: 4; }
  .p-hero__visual img { aspect-ratio: 1.9; object-position: center top; }
  .p-hero__body { margin-top: 22px; font-size: 14px; line-height: 1.95; letter-spacing: .01em; max-width: none; }
  .p-hero__actions { flex-direction: column; gap: 8px; margin-top: 24px; align-items: stretch; }
  .c-button { justify-content: space-between; width: 100%; min-height: 54px; font-size: 14px; padding: 16px 24px; }
  .c-text-link { justify-content: center; font-size: 12px; }
  .p-hero__scroll { display: none; }
  .p-consultation { padding-block: 80px; }
  .p-consultation .l-container { max-width: 560px; }
  .c-section-label { margin-bottom: 32px; font-size: 11px; }
  .p-consultation__title { font-size: clamp(24px, 6vw, 32px); line-height: 1.8; }
  .p-consultation__grid { display: block; margin-top: 32px; }
  .p-consultation__body { font-size: 14px; line-height: 2.2; letter-spacing: .01em; }
  .p-consultation__body p + p { margin-top: 24px; }
  .p-consultation__visual { margin-top: 36px; }
  .p-consultation__visual img { aspect-ratio: 1.3; }
  .p-study--b .l-frame { display: block; width: 100%; }
  .p-study--b .l-sheet { border: 0; }
  .p-study--b .l-container { width: calc(100% - 48px); }
  .p-study--b .l-header { height: 64px; }
  .p-study--b .c-header-link { font-size: 11px; }
  .p-study--b .p-hero { min-height: calc(100svh - 64px); }
  .p-study--b .p-hero__inner { padding-block: 28px 24px; }
  .p-study--b .p-hero__kicker { font-size: 11px; margin-bottom: 18px; }
  .p-study--b .p-hero__title { font-size: clamp(26px, 7.4vw, 42px); line-height: 1.5; }
  .p-study--b .p-hero__sub { font-size: 14px; line-height: 1.85; }
  .p-study--b .p-hero__visual { margin-top: 24px; }
  .p-study--b .p-hero__visual img { aspect-ratio: 1.9; object-position: center top; }
  .p-study--b .p-hero__body { margin-top: 22px; font-size: 14px; line-height: 1.95; }
  .p-study--b .p-hero__actions { margin-top: 24px; gap: 8px; align-items: stretch; }
  .p-study--b .c-text-link { font-size: 12px; }
  .p-study--b .p-consultation { padding-block: 80px; }
  .p-study--b .c-section-label { margin-bottom: 32px; }
  .p-study--b .p-consultation__title { font-size: clamp(24px, 6vw, 32px); }
  .p-study--b .p-consultation__grid { margin-top: 32px; }
  .p-study--b .p-consultation__body { font-size: 14px; line-height: 2.2; }
  .p-study--b .p-consultation__body p + p { margin-top: 24px; }
  .p-study--b .p-consultation__visual { margin-top: 36px; }
  .p-study--b .p-consultation__visual img { aspect-ratio: 1.3; }
  .p-study--b .p-side-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* option-a-v2.css */
.p-study--a-v2 .p-hero__inner {
  grid-template-columns: 1.35fr 1fr;
  column-gap: clamp(32px, 4vw, 72px);
}

.p-study--a-v2 .p-hero__title,
.p-study--a-v2 .p-consultation__title {
  color: #171715;
  font-weight: 700;
  -webkit-text-stroke: .016em currentColor;
  paint-order: stroke fill;
}

.p-study--a-v2 .p-hero__title {
  font-size: clamp(34px, 4.2vw, 76px);
  line-height: 1.5;
  letter-spacing: -.045em;
}

.p-study--a-v2 .p-hero {
  grid-template-rows: 1fr;
}

.p-study--a-v2 .p-hero__kicker {
  font-size: clamp(16px, 1.5vw, 24px);
  margin-bottom: 10px;
}

.p-study--a-v2 .c-section-label {
  font-size: clamp(18px, 1.625vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}

.p-study--a-v2 .p-hero__actions .c-button {
  font-size: clamp(16px, 1.25vw, 20px);
}

.p-study--a-v2 .p-hero__line,
.p-study--a-v2 .p-consultation__title span {
  text-decoration-line: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: .14em;
  text-underline-offset: .15em;
  text-decoration-skip-ink: none;
}

.p-study--a-v2 .p-hero__sub {
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 24px);
  -webkit-text-stroke: 0;
  line-height: 1.9;
  margin-top: 24px;
}

.p-study--a-v2 .p-consultation__title {
  font-size: clamp(40px, 4.3vw, 72px);
  line-height: 1.65;
  letter-spacing: -.04em;
}

.p-study--a-v2 .p-consultation__title span {
  display: table;
  max-width: 100%;
}

@media (max-width: 768px) {
  .p-study--a-v2 .p-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-study--a-v2 .p-hero__title {
    font-size: clamp(26px, 9.2vw, 52px);
  }

  .p-study--a-v2 .p-hero__kicker {
    font-size: clamp(14px, 3.8vw, 20px);
  }

  .p-study--a-v2 .c-section-label {
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .p-study--a-v2 .p-hero__actions .c-button {
    font-size: 18px;
  }

  .p-study--a-v2 .p-hero__sub {
    font-size: clamp(16px, 4.1vw, 20px);
    margin-top: 18px;
    line-height: 1.85;
  }

  .p-study--a-v2 .p-consultation__title {
    font-size: clamp(24px, 7.2vw, 42px);
    line-height: 1.75;
  }
}

/* lower-sections-v1.css */
.p-lower {
  padding-block: clamp(96px, 10vw, 176px);
  border-top: 1px solid var(--line);
}

.p-lower h3,
.p-lower h4,
.p-lower summary,
.p-lower dt,
.p-lower dd {
  margin: 0;
  font-feature-settings: 'palt' 1;
  line-break: strict;
  word-break: auto-phrase;
  text-autospace: normal;
}

.c-section-title {
  margin: 0;
  color: #171715;
  font-size: clamp(40px, 4.3vw, 72px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -.04em;
  -webkit-text-stroke: .016em currentColor;
  paint-order: stroke fill;
}

.c-section-title span {
  display: table;
  max-width: 100%;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: .14em;
  text-underline-offset: .15em;
  text-decoration-skip-ink: none;
}

.c-body { font-size: 16px; line-height: 2.2; letter-spacing: .025em; }
.c-body p + p { margin-top: 28px; }
.c-button--consult { font-size: clamp(16px, 1.25vw, 20px); }
.c-external-link { display: inline-flex; align-items: center; gap: 32px; min-height: 48px; font-size: 16px; font-weight: 700; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.c-external-link span { font-size: 24px; font-weight: 400; }

.p-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 80px; }
.p-services__item { padding-top: 32px; border-top: 2px solid var(--orange); }
.p-services__item h3 { font-size: clamp(24px, 1.7vw, 30px); font-weight: 700; line-height: 1.6; }
.p-services__item img { margin-top: 28px; height: 144px; object-fit: cover; border-radius: 3px; }
.p-services__item .c-body { margin-top: 28px; }
.p-services__note { margin-top: 48px; font-size: 14px; line-height: 2; color: var(--muted); }

.p-principles { background: #f2eee6; }
.p-principles__list { margin: 72px 0 0; padding: 0; list-style: none; }
.p-principles__item { display: grid; grid-template-columns: 64px minmax(0, .95fr) minmax(0, 1.1fr); align-items: start; gap: 40px; padding-block: 48px; border-top: 1px solid #d4ccbe; }
.p-principles__number { color: #b7500b; font-size: 36px; font-weight: 700; line-height: 1.6; letter-spacing: -.02em; }
.p-principles__item h3 { font-size: 27px; font-weight: 700; line-height: 1.9; }

.p-works__intro { max-width: 840px; margin-top: 56px; }
.p-case { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: start; margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); }
.p-case__visual { display: block; border-radius: 3px; overflow: hidden; background: #d9e7e9; }
.p-case__visual img { width: 100%; height: auto; }
.p-case__content h3 { font-size: 19px; line-height: 1.9; font-weight: 700; }
.p-case__lead { margin-top: 24px; font-size: 30px; font-weight: 700; line-height: 1.8; letter-spacing: -.02em; }
.p-case__content .c-body { margin-top: 28px; }
.p-case__meta { display: grid; gap: 12px; margin: 32px 0 24px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; line-height: 2; }

.p-mid-contact { padding-block: 72px; background: #eee4d6; border-top: 1px solid var(--line); }
.p-mid-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.p-mid-contact h2 { margin: 0; font-size: clamp(25px, 2vw, 36px); line-height: 1.8; letter-spacing: -.02em; font-weight: 700; }
.p-mid-contact p { margin-top: 16px; max-width: 44em; font-size: 15px; line-height: 2; }
.p-mid-contact .c-button { flex-shrink: 0; }

.p-workstyle__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: 88px; margin-top: 72px; }
.p-workstyle__visual img { aspect-ratio: 1.9; object-fit: cover; border-radius: 3px; }
.p-workstyle__note { margin-top: 48px; padding: 24px 32px; border-left: 3px solid var(--orange); background: #f3e9dc; font-size: 14px; line-height: 2.2; }
.p-workstyle__conditions { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 88px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.p-workstyle__conditions h3 { font-size: 28px; line-height: 1.9; font-weight: 700; }

.p-process { background: #f2eee6; }
.p-process__list { max-width: 980px; margin: 80px auto 0; padding: 0; list-style: none; }
.p-process__step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
.p-process__step:last-child { padding-bottom: 0; }
.p-process__step:not(:last-child)::after { position: absolute; top: 64px; bottom: 0; left: 31px; width: 1px; background: #d4c9b9; content: ''; }
.p-process__number { display: grid; place-items: center; align-self: start; width: 64px; height: 64px; border: 1px solid #d8c6af; border-radius: 50%; background: #f7ede0; color: #a8490a; font-size: 23px; font-weight: 700; }
.p-process__step h3 { padding-top: 6px; font-size: 28px; line-height: 1.9; font-weight: 700; }
.p-process__step .c-body { margin-top: 16px; }

.p-profile__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 112px; align-items: center; margin-top: 72px; }
.p-profile__identity { display: flex; align-items: center; gap: 32px; }
.p-profile__identity img { width: 83px; height: 83px; flex-shrink: 0; }
.p-profile__identity p { font-size: 34px; letter-spacing: .15em; font-weight: 700; }

.p-faq { background: #f2eee6; }
.p-faq__list { max-width: 1080px; margin: 72px auto 0; }
.p-faq__item { border-top: 1px solid #d4ccbe; }
.p-faq__item:last-child { border-bottom: 1px solid #d4ccbe; }
.p-faq__item summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 20px; align-items: baseline; padding-block: 32px; font-size: 22px; line-height: 1.9; font-weight: 700; list-style: none; cursor: pointer; }
.p-faq__item summary::-webkit-details-marker { display: none; }
.p-faq__item summary:focus-visible { outline: 3px solid #9b4100; outline-offset: 5px; }
.p-faq__symbol { color: #ad4b08; font-size: 23px; font-weight: 700; line-height: 1.8; }
.p-faq__toggle { position: relative; align-self: center; width: 24px; height: 24px; }
.p-faq__toggle::before,
.p-faq__toggle::after { position: absolute; top: 11px; left: 3px; width: 18px; height: 1px; background: var(--ink); content: ''; }
.p-faq__toggle::after { transform: rotate(90deg); }
.p-faq__item[open] .p-faq__toggle::after { transform: none; }
.p-faq__answer { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 0 44px 40px 0; }
.p-faq__answer .p-faq__symbol { font-size: 20px; }
.p-faq__prices { padding: 28px 32px; margin-top: 28px; background: var(--paper); }
.p-faq__prices dl { margin: 24px 0; }
.p-faq__prices dl > div { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 24px; align-items: baseline; padding-block: 14px; border-top: 1px solid var(--line); }
.p-faq__prices dl > div:last-child { border-bottom: 1px solid var(--line); }
.p-faq__prices dd { color: #9b4100; font-size: 20px; font-weight: 700; }

.p-contact { background: var(--orange); border-top: 0; }
.p-contact .c-section-label span { color: var(--ink); }
.p-contact .c-section-title span { text-decoration-color: #fff0dc; }
.p-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 112px; align-items: start; margin-top: 72px; }
.p-contact__quotes { padding-block: 8px; border-left: 3px solid #fff0dc; padding-left: 28px; font-size: 23px; font-weight: 700; line-height: 2; }
.p-contact__quotes p + p { margin-top: 24px; }
.p-contact .c-button { width: min(100%, 420px); margin-top: 32px; background: var(--paper); }
.p-contact .c-button:hover { background: #fff; }
.p-contact__note { margin-top: 24px; font-size: 13px; line-height: 2; }

.p-site-footer { padding-block: 48px; border-top: 1px solid var(--line); }
.p-site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.p-site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.p-site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: none; }
.p-site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.p-site-footer small { width: 100%; font-size: 11px; color: var(--muted); }

@media (769px <= width <= 1100px) {
  .p-services__grid { gap: 40px; }
  .p-principles__item { grid-template-columns: 48px minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  .p-principles__item h3 { font-size: 22px; }
  .p-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .p-case__lead { font-size: 25px; }
  .p-workstyle__grid,
  .p-workstyle__conditions { gap: 48px; }
  .p-profile__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 48px; }
  .p-profile__identity { gap: 20px; }
  .p-profile__identity p { font-size: 25px; }
  .p-contact__grid { gap: 56px; }
  .p-mid-contact__inner { align-items: flex-start; flex-direction: column; gap: 32px; }
}

@media (max-width: 768px) {
  .p-lower { padding-block: 80px; }
  .p-lower .l-container { max-width: 560px; }
  .c-section-title { font-size: clamp(24px, 7.2vw, 42px); line-height: 1.75; }
  .c-body { font-size: 14px; line-height: 2.2; letter-spacing: .01em; }
  .c-body p + p { margin-top: 24px; }
  .c-button--consult { font-size: 18px; }
  .c-external-link { font-size: 14px; }
  .p-services__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  .p-services__item { padding-top: 24px; }
  .p-services__item h3 { font-size: 23px; }
  .p-services__item img { margin-top: 20px; height: 104px; }
  .p-services__item .c-body { margin-top: 24px; }
  .p-services__note { margin-top: 32px; font-size: 12px; }
  .p-principles__list { margin-top: 40px; }
  .p-principles__item { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 32px; }
  .p-principles__number { font-size: 26px; }
  .p-principles__item h3 { font-size: 21px; line-height: 1.9; }
  .p-principles__item .c-body { grid-column: 2; }
  .p-works__intro { margin-top: 32px; }
  .p-case { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; padding-top: 32px; }
  .p-case__content h3 { font-size: 16px; }
  .p-case__lead { font-size: 24px; margin-top: 20px; }
  .p-case__content .c-body { margin-top: 24px; }
  .p-case__meta { font-size: 12px; }
  .p-mid-contact { padding-block: 48px; }
  .p-mid-contact__inner { flex-direction: column; align-items: stretch; gap: 28px; max-width: 560px; }
  .p-mid-contact h2 { font-size: 24px; }
  .p-mid-contact p { font-size: 14px; }
  .p-workstyle__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .p-workstyle__visual img { aspect-ratio: 1.6; }
  .p-workstyle__note { padding: 20px; margin-top: 32px; font-size: 12px; }
  .p-workstyle__conditions { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; }
  .p-workstyle__conditions h3 { font-size: 23px; }
  .p-process__list { margin-top: 40px; }
  .p-process__step { grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-bottom: 40px; }
  .p-process__number { width: 44px; height: 44px; font-size: 18px; }
  .p-process__step:not(:last-child)::after { left: 21px; top: 44px; }
  .p-process__step h3 { font-size: 21px; padding-top: 0; }
  .p-process__step .c-body { margin-top: 16px; }
  .p-profile__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .p-profile__identity { gap: 24px; }
  .p-profile__identity p { font-size: 28px; }
  .p-faq__list { margin-top: 40px; }
  .p-faq__item summary { grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px; padding-block: 24px; font-size: 17px; }
  .p-faq__symbol { font-size: 20px; }
  .p-faq__answer { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 0 0 28px; }
  .p-faq__answer .p-faq__symbol { font-size: 17px; }
  .p-faq__prices { margin-top: 24px; padding: 20px 16px; }
  .p-faq__prices dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .p-faq__prices dd { font-size: 18px; }
  .p-faq__toggle { width: 20px; }
  .p-faq__toggle::before,
  .p-faq__toggle::after { left: 1px; }
  .p-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .p-contact__quotes { font-size: 18px; padding-left: 20px; }
  .p-contact__quotes p + p { margin-top: 20px; }
  .p-contact__note { font-size: 12px; }
  .p-site-footer { padding-block: 36px; }
  .p-site-footer__inner { gap: 24px; }
  .p-site-footer nav { margin-left: 0; width: 100%; gap: 12px 24px; }
}

/* design-revision-v2.css */
.p-study--a-v2 .p-hero {
  min-height: 100svh;
  grid-template-rows: auto 1fr;
  background: linear-gradient(90deg, rgb(250 248 243 / 98%) 0%, rgb(250 248 243 / 95%) 30%, rgb(250 248 243 / 78%) 50%, rgb(250 248 243 / 8%) 78%), url('assets/hero-desk.jpg') center / cover no-repeat;
}

.p-hero__brand { padding-top: clamp(28px, 4.2svh, 52px); }
.p-hero__brand .c-brand,
.p-site-footer .c-brand { letter-spacing: .09em; }
.p-study--a-v2 .p-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding-block: 48px 96px;
}
.p-hero__copy { max-width: 780px; }
.p-study--a-v2 .p-hero__body { max-width: 37em; }
.p-hero__actions { justify-content: flex-start; }

.p-services__item { border-top: 0; padding-top: 0; }
.p-services__item h3 {
  border-left: 7px solid var(--orange);
  padding-left: 18px;
  font-size: clamp(24px, 1.85vw, 34px);
  line-height: 1.6;
}
.p-services__item img { height: auto; aspect-ratio: 5; border-radius: 0; }

.p-principles__item { grid-template-columns: 80px minmax(0, .95fr) minmax(0, 1.1fr); border-color: #ed803260; }
.p-principles__number { font-size: 48px; color: var(--orange); line-height: 1.3; }
.p-principles__item h3 { border-left: 2px solid var(--orange); padding-left: 24px; font-size: 30px; line-height: 1.7; }
.p-principles__visual { margin-top: 32px; }
.p-principles__visual img { max-height: 340px; object-fit: cover; object-position: center 65%; }
.p-works__intro { width: 100%; max-width: none; }
.p-works__scene { margin-top: 48px; }
.p-works__scene img { max-height: 220px; object-fit: cover; }
.p-case { margin-top: 64px; }
.p-case__content h3 { border-left: 5px solid var(--orange); padding-left: 18px; font-size: 22px; }

.p-mid-contact {
  background: linear-gradient(90deg, #ed8032 0%, #ed8032 50%, rgb(237 128 50 / 80%) 65%, transparent 85%), url('assets/consultation-hands.jpg') right center / auto 100% no-repeat, var(--orange);
  padding-block: 88px;
}
.p-mid-contact__inner { display: block; }
.p-mid-contact__inner > div { max-width: 720px; }
.p-mid-contact h2 { max-width: 19em; font-size: clamp(28px, 2.2vw, 40px); }
.p-mid-contact .c-button { margin-top: 32px; background: var(--paper); }
.p-mid-contact p { max-width: 39em; }
.p-workstyle__conditions h3 { font-size: 32px; line-height: 1.8; text-decoration: underline var(--orange) .12em; text-underline-offset: .18em; text-decoration-skip-ink: none; }
.p-workstyle__conditions .c-body p + p { font-weight: 700; }
.p-workstyle__schedule { margin-top: 40px; }
.p-workstyle__schedule img { max-height: 230px; object-fit: cover; }

.p-process__list { max-width: 980px; }
.p-process__step { grid-template-columns: 74px minmax(0, 1fr); column-gap: 28px; row-gap: 24px; padding-bottom: 72px; }
.p-process__visual { grid-column: 1 / -1; width: 100%; height: 120px; object-fit: cover; border-radius: 4px; }
.p-process__number { width: auto; height: auto; border: 0; border-radius: 0; background: none; font-size: 46px; color: var(--orange); line-height: 1.4; }
.p-process__step h3 { font-size: 32px; line-height: 1.7; padding-top: 0; }
.p-process__step:not(:last-child)::after { top: auto; bottom: 28px; left: calc(50% - 7px); width: 14px; height: 10px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); }

.p-profile__identity { min-height: 260px; padding: 40px; flex-direction: column; justify-content: center; gap: 18px; background: linear-gradient(90deg, transparent, #faf8f3 44%, #faf8f3 56%, transparent), url('assets/profile-plants-left.jpg') left bottom / auto 100% no-repeat, url('assets/profile-plants-right.jpg') right bottom / auto 100% no-repeat; }
.p-profile__identity img { outline: 10px solid var(--paper); }
.p-profile__identity p { font-size: 28px; letter-spacing: .08em; padding: 3px 16px; background: var(--paper); }
.p-faq { padding-bottom: 0; }
.p-faq::after { display: block; content: ''; height: clamp(140px, 15vw, 250px); margin-top: 64px; background: url('assets/faq-desk.jpg') center 70% / cover no-repeat; }
.p-faq__item summary { align-items: start; }
.p-faq__symbol { display: grid; place-items: center; width: 44px; height: 44px; color: white; background: var(--orange); border-radius: 50%; font-size: 23px; line-height: 1; }
.p-faq__answer .p-faq__symbol { width: 36px; height: 36px; margin-left: 4px; color: #a8490a; background: #fae1c9; font-size: 20px; }
.p-faq__prices { padding: 28px 0; background: none; }
.p-faq__prices dl { display: grid; gap: 8px; }
.p-faq__prices dl > div { border: 0; padding: 0; gap: 0; background: #fffaf5; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.p-faq__prices dl > div:last-child { border: 0; }
.p-faq__prices dt { padding: 16px 20px; background: #f8e4cf; font-weight: 700; }
.p-faq__prices dd { padding: 16px 20px; border-left: 3px solid var(--orange); font-variant-numeric: tabular-nums; }
.p-faq__answer .p-faq__maintenance { margin-top: 12px; }

.p-contact {
  background: linear-gradient(90deg, #ed8032 0%, #ed8032 56%, rgb(237 128 50 / 88%) 72%, rgb(237 128 50 / 5%) 100%), url('assets/contact-notebook.jpg') right center / auto 100% no-repeat, var(--orange);
}
.p-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 800px; }
.p-contact__quotes { border: 0; padding: 0; display: grid; gap: 16px; }
.p-contact__quotes p { margin: 0; padding: 20px 28px; border-left: 5px solid #f9ead7; background: rgb(250 248 243 / 94%); }
.p-contact__action { max-width: 620px; }
.p-contact .c-button { width: 100%; }

@media (769px <= width <= 1100px) {
  .p-hero__copy { max-width: 700px; }
  .p-principles__item { grid-template-columns: 64px minmax(0, 1fr); gap: 24px; }
  .p-principles__item h3 { font-size: 28px; }
  .p-principles__item .c-body { grid-column: 2; }
  .p-mid-contact__inner > div { max-width: 70%; }
  .p-faq__prices dl > div { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .p-faq__prices dd { font-size: 18px; }
}

@media (max-width: 768px) {
  .p-study--a-v2 .p-hero {
    background: linear-gradient(180deg, rgb(250 248 243 / 96%) 0%, rgb(250 248 243 / 94%) 42%, rgb(250 248 243 / 70%) 68%, rgb(250 248 243 / 20%) 100%), url('assets/hero-desk.jpg') 64% center / cover no-repeat;
  }
  .p-hero__brand { padding-top: 28px; }
  .p-study--a-v2 .p-hero__inner { padding-block: 40px 72px; align-content: center; }
  .p-study--a-v2 .p-hero__body { max-width: 34em; }
  .p-services__item h3 { font-size: 23px; padding-left: 14px; border-width: 5px; }
  .p-services__item img { aspect-ratio: 4; }
  .p-principles__item { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .p-principles__number { font-size: 32px; }
  .p-principles__item h3 { padding-left: 16px; font-size: 22px; line-height: 1.75; }
  .p-principles__item .c-body { grid-column: 1 / -1; }
  .p-principles__visual { margin-top: 24px; }
  .p-principles__visual img { aspect-ratio: 1.5; }
  .p-works__scene { margin-top: 32px; }
  .p-works__scene img { height: 120px; }
  .p-case { margin-top: 40px; }
  .p-case__content h3 { font-size: 19px; padding-left: 14px; }
  .p-mid-contact { padding-block: 48px 180px; background: linear-gradient(180deg, #ed8032 0%, #ed8032 52%, rgb(237 128 50 / 15%) 100%), url('assets/consultation-hands.jpg') right bottom / 52% auto no-repeat, var(--orange); }
  .p-mid-contact__inner > div { max-width: none; }
  .p-mid-contact h2 { font-size: 26px; }
  .p-mid-contact .c-button { margin-top: 24px; }
  .p-workstyle__conditions h3 { font-size: 26px; }
  .p-workstyle__schedule { margin-top: 32px; }
  .p-workstyle__schedule img { height: 140px; }
  .p-process__step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 20px; padding-bottom: 56px; }
  .p-process__visual { height: 84px; }
  .p-process__number { font-size: 32px; }
  .p-process__step h3 { font-size: 23px; line-height: 1.7; }
  .p-process__step .c-body { margin-left: -64px; margin-top: 20px; }
  .p-process__step:not(:last-child)::after { bottom: 22px; }
  .p-profile__identity { min-height: 230px; }
  .p-faq__item summary { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 12px; }
  .p-faq__symbol { width: 32px; height: 32px; font-size: 17px; }
  .p-faq__answer { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .p-faq__answer .p-faq__symbol { width: 28px; height: 28px; margin-left: 2px; font-size: 16px; }
  .p-faq__prices { padding: 20px 0; }
  .p-faq__prices dl > div { grid-template-columns: minmax(0, 1fr); }
  .p-faq__prices dt { padding: 12px 16px; }
  .p-faq__prices dd { padding: 12px 16px; font-size: clamp(15px, 4.5vw, 20px); }
  .p-faq::after { margin-top: 40px; height: 130px; }
  .p-contact { padding-bottom: 210px; background: linear-gradient(180deg, #ed8032 0%, #ed8032 72%, rgb(237 128 50 / 10%) 100%), url('assets/contact-notebook.jpg') right bottom / 200px auto no-repeat, var(--orange); }
  .p-contact__quotes { gap: 16px; }
  .p-contact__quotes p { padding: 16px 20px; font-size: 18px; }
}

@media (min-width: 769px) and (max-height: 800px) {
  .p-study--a-v2 .p-hero__inner { padding-block: 28px 48px; }
  .p-study--a-v2 .p-hero__title { font-size: min(4.2vw, 9svh, 76px); }
}

/* design-revision-v3.css */
.p-study--a-v2 .p-hero {
  background: linear-gradient(90deg, rgb(250 248 243 / 28%), rgb(250 248 243 / 70%) 38%, rgb(250 248 243 / 65%) 60%, transparent 82%), url('assets/hero-workspace-v3.jpg') right center / cover no-repeat;
}
.p-study--a-v2 .p-hero__copy { max-width: 1120px; }
.p-study--a-v2 .p-hero__line--platforms {
  max-width: 100%;
  font-size: clamp(30px, 3.4vw, 64px);
  letter-spacing: -.025em;
  white-space: normal;
  line-height: 1.65;
  text-decoration: none;
}
.p-hero__platforms,
.p-hero__build { display: inline-block; white-space: nowrap; text-decoration: underline var(--orange) .14em; text-underline-offset: .15em; text-decoration-skip-ink: none; }
.p-hero__platforms { font-kerning: normal; letter-spacing: -.015em; }
.p-hero__build { margin-left: .1em; }
.p-hero__separator { margin-inline: .025em; }
.p-services__item h3 { font-size: clamp(23px, 1.7vw, 31px); letter-spacing: -.015em; }
.p-services__format { margin-top: 48px; padding: 24px 28px; border-left: 4px solid var(--orange); background: #f3e9dc; }
.p-services__note { margin-top: 24px; }
.p-case .c-external-link { align-items: center; gap: 12px; text-decoration: none; line-height: 1.5; }
.p-case .c-external-link:hover { color: #a8490a; }
.p-case .c-external-link span { display: flex; align-items: center; line-height: 1; }

.p-mid-contact { padding-block: 64px; background: var(--orange); }
.p-mid-contact__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.p-mid-contact__inner > div { max-width: none; }
.p-mid-contact__visual { width: 100%; max-width: 480px; justify-self: end; }
.p-mid-contact__visual img { width: 100%; height: auto; object-fit: contain; border-radius: 4px; }
.p-mid-contact h2 { font-size: clamp(26px, 2.2vw, 40px); }

.p-process__step { padding: 24px; margin-bottom: 56px; border: 1px solid #d4c9b9; border-radius: 5px; background: #faf8f3; }
.p-process__step:last-child { padding-bottom: 24px; margin-bottom: 0; }
.p-process__step:not(:last-child)::after { bottom: -34px; }

.p-faq__prices dl { display: grid; gap: 0; overflow: hidden; border: 1px solid #dccbb8; border-radius: 3px; }
.p-faq__prices dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; border-bottom: 1px solid #dccbb8; }
.p-faq__prices dl > div:last-child { border-bottom: 0; }
.p-faq__prices dt { display: flex; align-items: center; padding: 18px 24px; }
.p-faq__prices dd { display: flex; align-items: center; justify-content: flex-end; margin: 0; padding: 18px 24px; border-left: 1px solid #dccbb8; text-align: right; white-space: nowrap; }

@media (769px <= width <= 1100px) {
  .p-mid-contact__inner { gap: 32px; }
  .p-faq__prices dl > div { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .p-faq__prices dt,
  .p-faq__prices dd { padding-inline: 16px; }
}

@media (max-width: 768px) {
  .p-study--a-v2 .p-hero { background: linear-gradient(180deg, rgb(250 248 243 / 92%), rgb(250 248 243 / 92%) 60%, rgb(250 248 243 / 40%) 100%), url('assets/hero-workspace-v3.jpg') 72% center / cover no-repeat; }
  .p-study--a-v2 .p-hero__line--platforms { font-size: clamp(24px, 6.4vw, 40px); line-height: 1.75; }
  .p-hero__build { margin-left: 0; }
  .p-services__item h3 { font-size: 23px; }
  .p-services__format { margin-top: 32px; padding: 20px; }
  .p-services__note { margin-top: 20px; }
  .p-mid-contact { padding-block: 48px; }
  .p-mid-contact__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .p-mid-contact__visual { width: min(100%, 400px); justify-self: center; }
  .p-process__step { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; margin-bottom: 48px; }
  .p-process__step:last-child { padding-bottom: 16px; }
  .p-process__step .c-body { margin-left: -60px; }
  .p-process__step:not(:last-child)::after { bottom: -30px; }
  .p-faq__prices dt,
  .p-faq__prices dd { padding: 14px 16px; }
  .p-faq__prices dd { font-size: 17px; }
}

@media (max-width: 480px) {
  .p-faq__prices dl > div { grid-template-columns: minmax(0, 1fr); }
  .p-faq__prices dd { border-left: 0; border-top: 1px solid #e9ddd0; font-size: clamp(15px, 4.2vw, 18px); }
}

/* design-revision-v4.css */
.p-study--a-v2 {
  --anchor-nav-height: 84px;
  --heading-tracking: .005em;
}
.p-study--a-v2 .p-hero {
  min-height: calc(100svh - var(--anchor-nav-height) - 1px);
  background-image: linear-gradient(90deg, rgb(250 248 243 / 28%), rgb(250 248 243 / 70%) 38%, rgb(250 248 243 / 65%) 60%, transparent 82%), url('assets/hero-windows-v4.jpg');
}
.p-study--a-v2 .p-hero__title,
.p-study--a-v2 .p-consultation__title,
.p-study--a-v2 .c-section-title { letter-spacing: var(--heading-tracking); }
.p-study--a-v2 .p-hero__line--platforms,
.p-study--a-v2 .p-hero__platforms { letter-spacing: 0; }
.p-lower h3,
.p-case__lead,
.p-mid-contact h2 { letter-spacing: .015em; }

.p-page-nav__sentinel { height: 1px; }
.p-page-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--anchor-nav-height);
  background: rgb(250 248 243 / 96%);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.p-page-nav__inner { display: flex; align-items: center; justify-content: center; gap: 32px; height: 100%; }
.p-page-nav__links { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 2.6vw, 48px); margin: 0; padding: 0; list-style: none; }
.p-page-nav__links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; text-underline-offset: 8px; }
.p-page-nav__links a:hover,
.p-page-nav__links a[aria-current] { color: #a8490a; text-decoration: underline; text-decoration-thickness: 2px; }
.p-page-nav__brand,
.p-page-nav__contact { display: none; text-decoration: none; white-space: nowrap; }
.p-page-nav__brand { font-size: 20px; letter-spacing: .08em; font-weight: 700; }
.p-page-nav__contact { align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 12px 20px; border-radius: 100px; background: var(--orange); font-size: 13px; font-weight: 700; }
.p-page-nav__contact:hover { background: #f3934e; }
.p-page-nav__contact span { font-size: 20px; line-height: 1; }
.p-page-nav.is-stuck { box-shadow: 0 6px 24px #27241f0c; }
.p-page-nav.is-stuck .p-page-nav__inner { justify-content: space-between; }
.p-page-nav.is-stuck .p-page-nav__brand,
.p-page-nav.is-stuck .p-page-nav__contact { display: flex; }
.p-study--a-v2 #services,
.p-study--a-v2 #works,
.p-study--a-v2 #profile,
.p-study--a-v2 #pricing,
.p-study--a-v2 #contact { scroll-margin-top: calc(var(--anchor-nav-height) + 24px); }

.p-case + .p-case { margin-top: 96px; }
.p-case__status { display: inline-flex; margin-bottom: 20px; padding: 6px 12px; border: 1px solid #ceb798; background: #f5e9da; font-size: 13px; font-weight: 700; line-height: 1.7; }
.p-case__visual img { height: auto; }
.p-mid-contact { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 480px; padding-block: 72px; background: var(--orange); }
.p-mid-contact::before {
  position: absolute;
  z-index: -1;
  inset-block: 0;
  right: max(0px, calc((100vw - 1280px) / 2 - 180px));
  width: clamp(1100px, 85vw, 2000px);
  background: url('assets/consultation-panorama-v4.jpg') right center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 84%, transparent);
  content: '';
}
.p-mid-contact__inner { display: block; }
.p-mid-contact__copy { width: min(100%, 640px); }
.p-mid-contact h2 { max-width: 16em; }
.p-mid-contact p { max-width: 31em; }
.p-mid-contact .c-button { background: var(--paper); }
.p-faq__answer { padding-right: 32px; }
.p-contact__grid { margin-top: 48px; }

@media (769px <= width <= 1100px) {
  .p-page-nav__inner { gap: 20px; }
  .p-page-nav__brand { font-size: 17px; }
  .p-page-nav__links { gap: 24px; }
  .p-page-nav__links a { font-size: 12px; }
  .p-page-nav__contact { padding-inline: 16px; font-size: 12px; gap: 12px; }
  .p-mid-contact__copy { width: min(100%, 520px); }
  .p-mid-contact::before { right: -160px; opacity: .75; }
}

@media (max-width: 768px) {
  .p-study--a-v2 { --anchor-nav-height: 104px; }
  .p-study--a-v2 .p-hero { background-image: linear-gradient(180deg, rgb(250 248 243 / 92%), rgb(250 248 243 / 92%) 60%, rgb(250 248 243 / 40%) 100%), url('assets/hero-windows-v4.jpg'); }
  .p-study--a-v2 .p-hero__title { font-size: clamp(26px, 8.3vw, 46px); }
  .p-study--a-v2 .p-hero__inner { padding-block: 24px 44px; }
  .p-page-nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 44px 36px; align-content: center; gap: 0 16px; width: calc(100% - 32px); }
  .p-page-nav__links { grid-column: 1 / -1; grid-row: 1 / 3; gap: clamp(16px, 4.2vw, 28px); }
  .p-page-nav__links a { font-size: 12px; min-height: 36px; }
  .p-page-nav__brand { grid-column: 1; grid-row: 1; font-size: 16px; }
  .p-page-nav__contact { grid-column: 2; grid-row: 1; min-height: 40px; padding: 10px 14px; font-size: 12px; gap: 12px; }
  .p-page-nav.is-stuck .p-page-nav__links { grid-row: 2; }
  .p-case + .p-case { margin-top: 64px; }
  .p-mid-contact { min-height: 620px; padding-block: 48px 250px; }
  .p-mid-contact__copy { width: 100%; }
  .p-mid-contact::before { inset: auto -40px 0 auto; width: calc(100% + 40px); height: 280px; background-size: auto 280px; background-position: right bottom; mask-image: linear-gradient(180deg, transparent, #000 38%, #000 92%, transparent); }
  .p-faq__answer { padding-right: 0; }
  .p-contact__grid { margin-top: 32px; }
}

/* design-revision-v5.css */
.p-page-nav .p-page-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
}
.p-page-nav__links { gap: clamp(18px, 2.2vw, 36px); }
.p-page-nav .p-page-nav__brand,
.p-page-nav .p-page-nav__contact {
  display: flex;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 350ms;
}
.p-page-nav__brand { justify-self: start; align-items: center; min-height: 44px; }
.p-page-nav__character {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(5px);
  transition: opacity 350ms ease, filter 350ms ease, transform 350ms ease;
  transition-delay: 0s;
}
.p-page-nav .p-page-nav__contact {
  justify-self: end;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(5px);
  transition: opacity 350ms ease, filter 350ms ease, transform 350ms ease, visibility 0s linear 350ms;
}
.p-page-nav.is-stuck .p-page-nav__brand,
.p-page-nav.is-stuck .p-page-nav__contact {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.p-page-nav.is-stuck .p-page-nav__character {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-delay: calc(var(--character-index) * 35ms);
}
.p-page-nav.is-stuck .p-page-nav__contact {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.p-faq__toggle::after {
  transform: rotate(90deg) scaleX(1);
  opacity: 1;
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1), opacity 260ms ease;
}
.p-faq__item[open] .p-faq__toggle::after {
  transform: rotate(0) scaleX(0);
  opacity: 0;
}
.c-page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 72px;
  height: 72px;
  border: 1px solid #d4c9b9;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 4px 20px #27241f14;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(100% + 32px));
  transition: transform 550ms cubic-bezier(.22, 1, .36, 1), opacity 300ms ease, visibility 0s linear 550ms;
}
.c-page-top > span:first-child { font-size: 24px; }
.c-page-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.c-page-top:hover { background: #f5e9da; }
.c-page-top:focus-visible { outline: 3px solid #9b4100; outline-offset: 4px; }
.p-site-footer__inner { grid-template-columns: 1fr auto; }

@media (769px <= width <= 1100px) {
  .p-page-nav .p-page-nav__inner { gap: 16px; }
  .p-page-nav__links { gap: 18px; }
}
@media (max-width: 768px) {
  .p-page-nav .p-page-nav__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 44px 36px;
    gap: 0 12px;
  }
  .p-page-nav__links { gap: clamp(16px, 4.2vw, 28px); }
  .c-page-top { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; font-size: 10px; }
  .c-page-top > span:first-child { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p-page-nav .p-page-nav__brand,
  .p-page-nav .p-page-nav__contact,
  .p-page-nav .p-page-nav__character,
  .p-page-nav.is-stuck .p-page-nav__character,
  .p-faq__toggle::after,
  .c-page-top { transition: none; transition-delay: 0s; }
}

/* design-revision-v6.css */
.p-profile__identity { padding-block: 32px; }
.p-profile__identity img {
  width: 112px;
  height: 148px;
  object-fit: contain;
  outline: 0;
}
.p-contact {
  background-image: linear-gradient(90deg, #ed8032 0%, #ed8032 56%, rgb(237 128 50 / 88%) 72%, rgb(237 128 50 / 5%) 100%), url('assets/contact-notebook-v6.jpg');
}
.p-contact__visual { display: none; }
.c-page-top { gap: 6px; }
.c-page-top__icon { display: block; width: 22px; height: 16px; transition: transform 180ms ease; }
.c-page-top:hover .c-page-top__icon { transform: translateY(-2px); }

@media (max-width: 768px) {
  .p-contact { padding-bottom: 24px; background: var(--orange); }
  .p-contact__visual {
    display: block;
    width: min(68%, 280px);
    margin: 32px 0 0 auto;
  }
  .p-contact__visual img { width: 100%; height: auto; object-fit: contain; border-radius: 5px; }
  .c-page-top { gap: 4px; }
  .c-page-top__icon { width: 18px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-page-top__icon { transition: none; }
}

/* design-revision-v7.css */
.p-faq__prices .p-faq__price-note {
  padding-inline-start: 1em;
  text-indent: -1em;
}

.p-profile__avatar {
  position: relative;
  display: block;
  flex: none;
  width: 140px;
  height: 140px;
  overflow: hidden;
}

/* 元画像の顔の範囲（150, 65, 760, 760）を表示する。 */
.p-profile__avatar img {
  position: absolute;
  top: -8.5526%;
  left: -19.7368%;
  width: 136.0526%;
  max-width: none;
  height: auto;
}

@media (max-width: 768px) {
  .p-contact {
    padding-bottom: 72px;
  }

  .p-contact__visual {
    display: none;
  }
}

/* Navigation character order */
.p-page-nav__character:nth-child(1) { --character-index: 0; }
.p-page-nav__character:nth-child(2) { --character-index: 1; }
.p-page-nav__character:nth-child(3) { --character-index: 2; }
.p-page-nav__character:nth-child(4) { --character-index: 3; }
.p-page-nav__character:nth-child(5) { --character-index: 4; }
.p-page-nav__character:nth-child(6) { --character-index: 5; }
.p-page-nav__character:nth-child(7) { --character-index: 6; }
.p-page-nav__character:nth-child(8) { --character-index: 7; }
.p-page-nav__character:nth-child(9) { --character-index: 8; }
.p-page-nav__character:nth-child(10) { --character-index: 9; }
.p-page-nav__character:nth-child(11) { --character-index: 10; }

/* FAQ interactions and price conditions */
.p-faq__item.is-animating {
  overflow: hidden;
}

.p-faq__item.is-closing .p-faq__toggle::after {
  transform: rotate(90deg) scaleX(1);
  opacity: 1;
}

.p-faq__price-condition {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.6;
}
