/* 2026-10-31 PROGRIT との比較で足した節(tools/lp_progrit_1031.py と対) */

/* 続く仕組み: 暗い節。リピと4枚の札 */
.p-habit { background: #24201F; color: #FFF8EF; position: relative; overflow: hidden; }
.p-habit .l66__word { color: rgb(255 255 255 / .05); }
.p-habit h2 { color: #FFF8EF; }
.p-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 1rem; padding: 0; list-style: none; position: relative; }
.p-tile { display: grid; align-content: start; gap: .35rem; padding: 1.1rem; border-radius: 20px; background: #FFF8EF; color: #24201F; }
.p-tile b { font-size: 1.05rem; font-weight: 900; line-height: 1.4; }
.p-tile > span:last-child { font-size: .875rem; line-height: 1.65; font-weight: 600; }
.p-art { display: grid; place-items: center; height: 5.5rem; margin-bottom: .25rem; border-radius: 14px; background: #FFE6C7; overflow: hidden; }
.p-art img { width: auto; height: 5rem; object-fit: contain; }
.p-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 100%; padding: 0 .4rem; }
.p-week i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; background: #fff; color: #5B504B; font-style: normal; font-size: .625rem; font-weight: 900; }
.p-week i.on { background: #A63828; color: #FFF8EF; }
.p-growth { position: relative; padding: 1.1rem 1.25rem; border-radius: 20px; background: #FFD09A; color: #24201F; }
.p-growth h3 { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 900; }
.p-growth p { margin: 0; font-weight: 700; line-height: 1.7; font-size: .9375rem; }

/* 無料診断: 3段階と申し込み */
.p-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.p-steps li { display: grid; align-content: start; gap: .25rem; padding: 1.1rem; border-radius: 20px; background: #FFF8EF; color: #24201F; }
.p-num { font-family: var(--font-en, serif); font-size: 2.25rem; line-height: 1; color: #A63828; }
.p-steps b { font-size: 1.1rem; font-weight: 900; }
.p-steps span:last-child { font-size: .9rem; line-height: 1.7; font-weight: 600; }
.p-diag .p-cta { display: flex; justify-content: center; align-items: center; min-height: 4.25rem; max-width: 26rem; padding: 0 1.5rem; border-radius: 999px; background: #A63828; color: #FFF8EF; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); font-weight: 900; text-decoration: none; text-align: center; box-shadow: 0 6px 0 #7E2A1E; }
.p-diag .p-cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #7E2A1E; }

/* 指導実績・比較・料金・FAQ の小さな足し */
.p-path { margin: .1rem 0 0; font-size: .8125rem; font-weight: 800; text-align: center; color: var(--md-on-surface-variant); }
.p-why { margin: 0; }
.g-cmp__card li.p-after { margin-top: .35rem; padding-top: .6rem; padding-left: 0; font-weight: 900; border-top: 1px solid currentColor; }
.g-cmp__card li.p-after::before { display: none; }
.p-faq-line { margin: 1.25rem 0 0; font-weight: 700; }
.p-faq-line a { font-weight: 900; }

@media (max-width: 63.99em) { .p-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 47.99em) {
  .p-steps { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .p-steps li { grid-template-columns: 3rem minmax(0, 1fr); gap: 0 .5rem; }
  .p-num { grid-row: span 2; align-self: center; }
  .p-diag .p-cta { max-width: none; }
  .p-tiles { gap: .6rem; }
  .p-tile { padding: .8rem; }
  .p-art { height: 4.5rem; }
  .p-art img { height: 4rem; }
}

/* 創業者の欄をスマホで詰める */
@media (max-width: 47.99em) {
  .g-founder .lo-founder__photo { width: min(52%, 12rem); }
  .g-founder .lo-creds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .g-founder .lo-creds > div { display: grid; gap: .2rem; padding: .6rem .7rem; justify-content: stretch; }
  .g-founder .lo-creds dt { font-size: .7rem; }
  .g-founder .lo-creds strong { font-size: 1.5rem; }
}

/* 法人の枠: 説明がボタンに掛からないように折り返す */
#pricing .p-corp .e-benefit { white-space: normal !important; min-width: 0; }
#pricing .p-corp .e-signup { white-space: nowrap; }
@media (min-width: 48em) { #pricing .p-corp { grid-template-columns: minmax(110px, .9fr) minmax(115px, .9fr) minmax(0, 1.6fr) auto; } }
@media (max-width: 47.99em) { #pricing .p-corp .e-benefit { grid-column: 1 / -1; } }

/* 言い直しの節: 消した語の濃さを基準(4.5)以上に */
.lp128b-english .g-mark-bad { opacity: .75; }
