@charset "UTF-8";
/* ============================================================
   Prime Partners CPA Office — Audit LP
   group-top のトークンを継承（白基調 × #34718B × 明朝 × 1px罫線）
   サービス紹介のみ Sticky Grid Scroll（スクロール連動）を採用
============================================================ */

/* ---------- JS無効時のフェイルセーフ（.reveal を白紙化させない） ---------- */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-img img {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- ヘッダー（白背景ページ用：常時ダーク配色） ---------- */
.audit-page .pp-header .logo-white { opacity: 0; }
.audit-page .pp-header .logo-color { opacity: 1; }
.audit-page .global-nav > ul > li > a { color: var(--ink); }
.audit-page .menu-toggle span { background: var(--ink); }
.audit-page .header-tel-num { color: var(--ink); }
.audit-page .header-tel-num:hover { color: var(--accent); }
.audit-page .header-tel-note { color: var(--text-sub); }

/* ---------- 共通：アクセントボタン ---------- */
.btn-accent {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

/* ============================================================
   HERO
============================================================ */
/* ファーストビュー＝画面の縦幅ぴったり（100svh）。
   ヘッダー分を上パディングで確保し、内容は残りの高さに中央配置 */
.a-hero {
  display: flex; align-items: center;
  min-height: 100svh;
  padding: clamp(96px, 13vh, 140px) 0 clamp(36px, 5vh, 72px);
  border-bottom: 1px solid var(--line);
}
.a-hero > .wrapper { width: 100%; }
.a-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.a-hero-label { color: var(--accent); }
.a-hero-label::before { background: var(--accent); }
.a-hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.5; letter-spacing: 0.08em;
  color: var(--ink); margin-bottom: 26px;
}
.a-hero-lead {
  font-size: clamp(13.5px, 1.3vw, 15px); line-height: 2.15; letter-spacing: 0.07em;
  color: var(--text); margin-bottom: 30px; max-width: 620px;
}
.a-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.a-hero-badges li {
  padding: 7px 16px; border: 1px solid var(--line-strong);
  font-size: 12px; letter-spacing: 0.1em; color: var(--ink); white-space: nowrap;
}
.a-hero-badges sup { font-size: 9px; }
.a-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.a-hero-tel { display: block; }
.a-hero-tel-num {
  display: block; font-family: var(--en); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px); letter-spacing: 0.06em; line-height: 1.2; color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.a-hero-tel:hover .a-hero-tel-num { color: var(--accent); }
.a-hero-tel-note { display: block; margin-top: 4px; font-size: 11.5px; letter-spacing: 0.08em; color: var(--text-sub); }
.a-hero-note { margin-top: 26px; font-size: 11px; letter-spacing: 0.04em; color: var(--text-sub); }

.a-hero-image img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  /* 縦が低い画面でも1画面に収まるよう高さを制限 */
  max-height: min(600px, 62svh);
}

@media (max-width: 900px) {
  .a-hero-grid { grid-template-columns: 1fr; }
  .a-hero-image { order: -1; }
  .a-hero-image img { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .a-hero { padding-top: 112px; }
  .a-hero-cta .btn { width: 100%; }
}

/* ============================================================
   SERVICE — Sticky Grid Scroll（控えめ版）
   PC: 高さ 200vh の中に 100svh をピン留めし、スクロール進捗で
   カードが順に静かに立ち上がる（transform/opacity は JS が制御）
============================================================ */
.svc { position: relative; background: var(--dark); }
.svc-sticky { display: flex; flex-direction: column; justify-content: center; }
.svc-inner { width: 100%; }

.svc.is-pinned { height: 200vh; }
.svc.is-pinned .svc-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
}
.svc:not(.is-pinned) .svc-sticky { padding: clamp(88px, 12vw, 150px) 0; }

.svc-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 4vh, 52px);
}
.svc-sec-head { margin-bottom: 0; }
.svc-label { color: #7fb2c7; }
.svc-label::before { background: #7fb2c7; }
.svc-title { color: var(--white); }
.svc-lead {
  font-size: 13.5px; line-height: 2; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75); text-align: right;
}

.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  will-change: transform;
}
.svc-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(20px, 2.4vh, 32px) clamp(20px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  will-change: transform, opacity;
}
.svc-card-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.svc-num { font-family: var(--en); font-weight: 300; font-size: 13px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); }
.svc-en {
  font-family: var(--en); font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: #7fb2c7;
}
.svc-name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; letter-spacing: 0.05em;
  margin-bottom: 12px;
  transition: color var(--dur) var(--ease);
}
.svc-desc {
  font-size: 12.5px; line-height: 1.9; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72); margin-bottom: 16px;
}
.svc-price {
  margin-top: auto;
  font-size: 13px; letter-spacing: 0.06em; color: var(--white);
}
.svc-tax { font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.svc-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 12px; letter-spacing: 0.1em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.svc-card-link, .svc-card-cta { transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.svc-card-link:hover, .svc-card-cta:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.4); }
.svc-card-link:hover .svc-name { color: #a8cddd; }
.svc-card-link:hover .svc-more, .svc-card-cta:hover .svc-more { color: #a8cddd; border-color: #a8cddd; }
.svc-card-cta { border-style: dashed; background: transparent; }
.svc-card-cta .svc-desc { margin-bottom: 0; }
.svc-card-cta .svc-more { margin-top: auto; padding-top: 14px; }

/* ピン留め時に高さが足りない画面への調整 */
@media (max-height: 780px) and (min-width: 901px) {
  .svc-head { margin-bottom: 20px; }
  .svc-card { padding: 16px 20px; }
  .svc-desc { font-size: 11.5px; line-height: 1.7; margin-bottom: 10px; }
  .svc-name { font-size: 15px; margin-bottom: 8px; }
}

@media (max-width: 900px) {
  .svc-head { flex-direction: column; align-items: flex-start; }
  .svc-lead { text-align: left; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-desc br.pc { display: none; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   REASON
============================================================ */
.reason-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 80px);
}
.reason-item { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.reason-num {
  display: block; font-family: var(--en); font-weight: 300;
  font-size: 15px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 16px;
}
.reason-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(18px, 1.8vw, 21px); line-height: 1.7; letter-spacing: 0.05em;
  color: var(--ink); margin-bottom: 14px;
}
.reason-desc { font-size: 13.5px; line-height: 2; color: var(--text); }
@media (max-width: 767px) {
  .reason-grid { grid-template-columns: 1fr; gap: 32px; }
  .reason-title br.pc { display: none; }
}

/* ============================================================
   PRICE
============================================================ */
.price .wrapper { max-width: 1080px; }
.price-table { border-top: 1px solid var(--line-strong); }
.price-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px clamp(20px, 4vw, 56px); align-items: center;
  padding: 24px clamp(4px, 1vw, 16px);
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom-color: var(--line-strong); }
.price-row dt {
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.price-note-inline {
  padding: 3px 10px; border: 1px solid var(--line-strong);
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.08em; color: var(--text-sub); white-space: nowrap;
}
.price-row dd { text-align: right; white-space: nowrap; }
.price-value {
  font-family: var(--en); font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.04em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-unit { font-size: 14px; margin-left: 2px; font-family: var(--sans); }
.price-tax { font-size: 11.5px; color: var(--text-sub); margin-left: 6px; }
.price-quote { font-size: 13.5px; letter-spacing: 0.06em; color: var(--text); }
.price-note { margin-top: 22px; font-size: 12px; color: var(--text-sub); }
@media (max-width: 640px) {
  .price-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .price-row dd { text-align: left; }
}

/* ============================================================
   FLOW
============================================================ */
.flow-list {
  counter-reset: flow;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 56px) clamp(28px, 3.5vw, 48px);
}
.flow-item { position: relative; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.flow-num {
  display: block; font-family: var(--en); font-weight: 300;
  font-size: 26px; letter-spacing: 0.1em; line-height: 1; color: var(--accent);
  margin-bottom: 14px;
}
.flow-title {
  font-weight: 500; font-size: 16px; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 8px;
}
.flow-desc { font-size: 12.5px; line-height: 1.9; color: var(--text-sub); }
@media (max-width: 767px) {
  .flow-list { grid-template-columns: 1fr; gap: 24px; }
  .flow-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding-top: 18px; }
  .flow-num { grid-row: 1 / 3; margin-bottom: 0; padding-top: 3px; }
  .flow-title { grid-column: 2; }
  .flow-desc { grid-column: 2; }
}

/* ============================================================
   FAQ
============================================================ */
.faq-wrapper { max-width: 980px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom-color: var(--line-strong); }
.faq-q {
  position: relative; display: flex; align-items: baseline; gap: 18px;
  padding: 22px 56px 22px clamp(4px, 1vw, 16px);
  font-size: 15px; font-weight: 500; letter-spacing: 0.05em; color: var(--ink);
  cursor: pointer; list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-q-mark, .faq-a-mark {
  flex-shrink: 0; font-family: var(--en); font-weight: 500; font-size: 15px;
  letter-spacing: 0.05em; color: var(--accent);
}
.faq-icon {
  position: absolute; right: clamp(8px, 1.5vw, 20px); top: 50%;
  width: 12px; height: 12px; transform: translateY(-50%);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 100%; height: 1px; background: var(--text-sub);
  transition: transform var(--dur) var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 0 clamp(24px, 4vw, 56px) 26px clamp(4px, 1vw, 16px);
}
.faq-a p { font-size: 14px; line-height: 2; color: var(--text); }
.faq-a-mark { color: var(--text-sub); }

/* ============================================================
   MESSAGE（代表）
============================================================ */
.a-message-grid {
  display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.a-message-photo { max-width: 420px; }
.a-message-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.a-message-quote {
  padding: 6px 0 6px 26px; border-left: 1px solid var(--accent); margin-bottom: 30px;
}
.a-message-quote p {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); line-height: 2; letter-spacing: 0.07em; color: var(--ink);
}
.a-message-body > p { font-size: 14px; line-height: 2.1; }
.a-message-profile { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 900px) {
  .a-message-grid { grid-template-columns: 1fr; }
  .a-message-photo { max-width: 320px; }
  .a-message-photo img { aspect-ratio: 1 / 1; }
}

/* ============================================================
   OFFICE / CTA
============================================================ */
.office-wrapper { max-width: 980px; }

.a-cta-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; max-width: 880px; margin: 0 auto;
}
.a-cta-box {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white); text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.a-cta-box:hover { background: var(--white); border-color: var(--white); color: var(--accent-dark); }
.a-cta-tel {
  font-family: var(--en); font-weight: 400;
  font-size: clamp(26px, 3vw, 34px); letter-spacing: 0.05em; line-height: 1.2;
}
.a-cta-box .contact-box-title { font-size: clamp(17px, 2vw, 21px); }
@media (max-width: 767px) {
  .a-cta-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   スマホ追従CTA
============================================================ */
.sp-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  transform: translateY(102%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.sp-cta.is-visible { transform: translateY(0); }
.sp-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 12px 8px 14px; text-align: center;
}
.sp-cta-tel { background: var(--accent); color: var(--white); }
.sp-cta-mail { background: var(--ink); color: var(--white); }
.sp-cta-main { font-size: 14px; font-weight: 500; letter-spacing: 0.1em; }
.sp-cta-sub { font-size: 10px; letter-spacing: 0.06em; opacity: 0.75; }
@media (max-width: 767px) {
  .sp-cta { display: grid; }
  body.audit-page { padding-bottom: 0; }
  .pp-footer { padding-bottom: 96px; }
}
