@charset "UTF-8";
/* =========================================================
   提案書 共通：「サービスと料金」の章（ホームページの利用料金・AI顧問）
   proposal-service-kit の apply-service-section.ps1 が、各案件の assets/css/service-section.css にコピーする。
   案件側では直さない（キットを直して、もう一度コピーする）。
   色・書体は、案件ごとに projects.json の theme で --psk-* を指定する。
     --psk-accent  主役の色（数字・13か月目の棒・番号）     --psk-on-accent 主役の色の上の文字
     --psk-ink     見出し   --psk-text 本文   --psk-sub 注記
     --psk-card    章の地の上に置く板   --psk-tint 板の上の色面（棒・タグ・アイコンの地）
     --psk-f-head  見出しの書体   --psk-f-num 数字の書体
   影・枠線・グラデーション・色帯は使わない（DESIGN_RULES 12）。板は地との明暗差と余白で分ける。
   ========================================================= */
.psk {
  --_accent: var(--psk-accent, #1f5fbf);
  --_on: var(--psk-on-accent, #fff);
  --_ink: var(--psk-ink, #17202a);
  --_text: var(--psk-text, #36404a);
  --_sub: var(--psk-sub, #5d6670);
  --_card: var(--psk-card, #fff);
  --_tint: var(--psk-tint, #e8f0fb);
  --_fh: var(--psk-f-head, inherit);
  --_fn: var(--psk-f-num, inherit);
  margin-top: 40px;
  color: var(--_text);
  font-weight: 500;
  letter-spacing: .04em;
}
.psk :is(h3, p, ul, ol, dl, dd, li) { margin: 0; padding: 0; }
.psk :is(ul, ol) { list-style: none; }
.psk li::before, .psk li::after { content: none; }

/* ---------- 共通 ---------- */
.psk .psk__lead { max-width: 900px; font-size: 18px; line-height: 1.95; color: var(--_text); }
.psk .psk__lead > p + p { margin-top: .6em; }
.psk .psk__card { background: var(--_card); border-radius: 20px; padding: 40px 44px; }
.psk .psk__nw { white-space: nowrap; }
.psk .psk__h3 { font-family: var(--_fh); font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; color: var(--_ink); }

/* 金額（大きな数字） */
.psk .psk__figs { display: grid; gap: 12px; margin-top: 22px; }
.psk .psk__fig { display: flex; align-items: baseline; gap: 18px; }
.psk .psk__fig dt { flex: none; min-width: 4.6em; font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--_ink); }
.psk .psk__fig dd { font-size: 18px; font-weight: 700; line-height: 1; color: var(--_accent); white-space: nowrap; }
.psk .psk__fig dd b { margin-right: 4px; font-family: var(--_fn); font-size: 64px; font-weight: 600; letter-spacing: .01em; font-variant-numeric: lining-nums; }
.psk .psk__fig dd small { margin-left: 2px; font-size: 14px; font-weight: 500; color: var(--_sub); }

/* ---------- ホームページの利用料金 ---------- */
/* 基本の料金（横長の板）の下に、13か月目からの月額（3段の棒）を並べる */
.psk .psk__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.psk .psk__fee { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "h inc" "f inc"; gap: 0 64px; align-items: center; padding: 32px 44px 36px; }
.psk .psk__fee .psk__h3 { grid-area: h; }
.psk .psk__fee .psk__figs { grid-area: f; display: flex; flex-wrap: wrap; gap: 8px 48px; margin-top: 14px; }
.psk .psk__fee .psk__fig dt { min-width: 0; }
.psk .psk__fee .psk__inc { grid-area: inc; justify-self: end; margin-top: 0; }
.psk .psk__inc { display: grid; gap: 10px; margin-top: 28px; }
.psk .psk__inc li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.7; color: var(--_text); }
.psk .psk__inc li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--_tint); }
.psk .psk__inc li::after { content: ""; position: absolute; left: 8px; top: calc(.15em + 5px); width: 6px; height: 10px; border: solid var(--_accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* 月額の段（棒の高さ＝金額） */
.psk .psk__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
.psk .psk__barbox { display: flex; align-items: flex-end; height: 150px; }
.psk .psk__bar { display: flex; justify-content: center; align-items: flex-start; width: 100%; height: 100%; padding-top: 18px; border-radius: 14px 14px 4px 4px; background: var(--_tint); color: var(--_accent); font-size: 15px; font-weight: 700; white-space: nowrap; }
.psk .psk__bar b { margin-right: 2px; font-family: var(--_fn); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.psk .psk__step.is-focus .psk__bar { height: 60%; background: var(--_accent); color: var(--_on); }
.psk .psk__when { margin-top: 16px; font-family: var(--_fh); font-size: 19px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; color: var(--_ink); }
.psk .psk__step.is-focus .psk__when { color: var(--_accent); }
.psk .psk__desc { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--_text); word-break: auto-phrase; text-wrap: pretty; }
.psk .psk__foot { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--_sub); }

/* ---------- AI顧問 ---------- */
.psk .psk__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.psk .psk__figs--side { margin: 0; padding: 26px 40px; border-radius: 20px; background: var(--_card); }
.psk .psk__figs--side dt { min-width: 0; }

/* 4つの動き（左から右へ。毎月くり返す） */
.psk .psk__cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.psk .psk__c { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 24px 30px; border-radius: 20px; background: var(--_card); text-align: center; }
.psk .psk__c + .psk__c::before { content: ""; position: absolute; left: -23px; top: 62px; width: 12px; height: 12px; border: solid var(--_accent); border-width: 3px 3px 0 0; transform: rotate(45deg); }
.psk .psk__ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--_tint); color: var(--_accent); }
.psk .psk__ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.psk .psk__cn { margin-top: 14px; font-family: var(--_fn); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: .16em; color: var(--_accent); font-variant-numeric: lining-nums; }
.psk .psk__ct { margin-top: 8px; font-family: var(--_fh); font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; color: var(--_ink); }
.psk .psk__tool { margin-top: 12px; padding: 5px 14px; border-radius: 999px; background: var(--_tint); color: var(--_accent); font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.psk .psk__cd { margin-top: 14px; font-size: 14px; line-height: 1.85; color: var(--_text); word-break: auto-phrase; text-wrap: balance; }
.psk .psk__loop { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--_ink); }
.psk .psk__loop svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--_accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

.psk .psk__std { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 40px; align-items: start; margin-top: 26px; padding: 32px 44px; }
.psk .psk__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.psk .psk__chips li { padding: 9px 18px; border-radius: 999px; background: var(--_tint); color: var(--_ink); font-size: 15px; font-weight: 700; line-height: 1.6; }
.psk .psk__note { grid-column: 2; font-size: 14px; line-height: 1.85; color: var(--_text); }

/* ---------- タブレット ---------- */
@media (max-width: 1100px) {
  .psk .psk__fee { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "f" "inc"; }
  .psk .psk__fee .psk__inc { justify-self: start; margin-top: 24px; }
  .psk .psk__cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psk .psk__c:nth-child(3)::before { display: none; }
}

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  .psk { margin-top: 28px; }
  .psk .psk__lead { font-size: 16px; }
  .psk .psk__card { padding: 30px 22px; border-radius: 16px; }
  .psk .psk__h3 { font-size: 20px; text-align: center; }
  .psk .psk__fig { justify-content: center; gap: 14px; }
  .psk .psk__fig dt { min-width: 0; }
  .psk .psk__fig dd b { font-size: 48px; }
  .psk .psk__inc { justify-content: center; }
  .psk .psk__fee .psk__figs { flex-direction: column; align-items: center; gap: 10px; }
  .psk .psk__fee .psk__inc { justify-self: center; }

  /* 月額の段：横向きの棒にする（時系列なので左揃え） */
  .psk .psk__steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .psk .psk__barbox { height: auto; display: block; }
  .psk .psk__bar, .psk .psk__step.is-focus .psk__bar { height: 56px; padding: 0 18px; align-items: center; justify-content: flex-start; border-radius: 4px 14px 14px 4px; }
  .psk .psk__step.is-focus .psk__bar { width: 60%; min-width: 170px; }
  .psk .psk__bar b { font-size: 28px; }
  .psk .psk__when { margin-top: 10px; font-size: 17px; }

  .psk .psk__top { grid-template-columns: minmax(0, 1fr); }
  .psk .psk__figs--side { padding: 22px; }
  .psk .psk__cycle { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .psk .psk__c + .psk__c::before, .psk .psk__c:nth-child(3)::before { display: block; left: 50%; top: -22px; margin-left: -7px; transform: rotate(135deg); }
  .psk .psk__loop { justify-content: flex-start; font-size: 15px; }
  .psk .psk__std { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; }
  .psk .psk__std .psk__h3 { text-align: left; }
  .psk .psk__chips { flex-direction: column; gap: 8px; }
  .psk .psk__chips li { border-radius: 12px; padding: 10px 16px; }
  .psk .psk__note { grid-column: 1; }
}

/* ---------- PDF（1600×1131px）---------- */
@media print {
  .psk .psk__card, .psk .psk__c, .psk .psk__step { break-inside: avoid; }
}
