/* ==========================================================
   ガネーシャ商会 新着記事一覧（WordPress標準 投稿ページ）
   Scope: .gh-posts-page
   ========================================================== */
.gh-posts-page, .gh-posts-page * { box-sizing: border-box; }
.gh-posts-page { overflow: hidden; background: #fffdfa; color: #5a514b; font-family: var(--gh-sans, "Noto Sans JP", sans-serif); }
.gh-posts-page a { color: inherit; text-decoration: none; }
.gh-posts-page img { display: block; max-width: 100%; }
.gh-posts-page h1,.gh-posts-page h2,.gh-posts-page h3,
.gh-posts-page h1::before,.gh-posts-page h1::after,
.gh-posts-page h2::before,.gh-posts-page h2::after,
.gh-posts-page h3::before,.gh-posts-page h3::after { background: none !important; background-image: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.gpa-eyebrow { margin: 0 0 9px; color: #d56bb3; font-size: 11px; font-weight: 600; letter-spacing: .17em; }
.gpa-title-line { width: 46px; height: 2px; margin: 18px 0 20px; background: #d56bb3; }
.gpa-title-line--center { width: 72px; height: 1px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, rgba(213,107,179,.8), transparent); }

.gpa-hero { border-bottom: 1px solid #ede2dd; background: radial-gradient(circle at 80% 28%, rgba(213,107,179,.13), transparent 25%), linear-gradient(110deg,#fffdfa 0%,#fff9f7 58%,#fff2f7 100%); }
.gpa-hero__inner { min-height: 360px; display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 48px; align-items: center; padding-block: 50px; }
.gpa-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 28px; color: #9b8d85; font-size: 12px; }
.gpa-breadcrumb a:hover { color: #d56bb3; }
.gpa-hero h1 { margin: 0 !important; color: #4a4039 !important; font-family: var(--gh-serif, "Noto Serif JP", serif) !important; font-size: clamp(46px,5vw,66px) !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: .035em !important; }
.gpa-hero__lead { max-width: 620px; margin: 0; font-size: 16px; line-height: 2; }
.gpa-hero__mark { position: relative; min-height: 240px; display: grid; place-items: center; }
.gpa-hero__mark img { position: relative; z-index: 2; width: 170px; opacity: .66; }
.gpa-hero__halo { position: absolute; width: 250px; height: 250px; border-radius: 50%; border: 1px solid rgba(213,107,179,.16); background: rgba(255,255,255,.46); }

.gpa-section { padding: 72px 0 78px; }
.gpa-section-head { margin: 0 auto 38px; text-align: center; }
.gpa-section-head h2 { margin: 0 !important; color: #4a4039 !important; font-family: var(--gh-serif, "Noto Serif JP", serif) !important; font-size: 34px !important; font-weight: 500 !important; line-height: 1.55 !important; }
.gpa-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 24px; }
.gpa-card { overflow: hidden; border: 1px solid #ede2dd; border-radius: 12px; background: #fffdfc; box-shadow: 0 10px 34px rgba(91,70,59,.055); transition: transform .18s ease, box-shadow .18s ease; }
.gpa-card:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(91,70,59,.085); }
.gpa-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #fbf7f1; }
.gpa-card__image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.gpa-card:hover .gpa-card__image > img { transform: scale(1.025); }
.gpa-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg,#fff7f4,#f9e9f0); }
.gpa-card__placeholder img { width: 86px; opacity: .4; }
.gpa-card__body { padding: 20px 21px 22px; }
.gpa-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: #a1948c; font-size: 12px; }
.gpa-card__meta span { color: #d56bb3; font-weight: 600; }
.gpa-card h2 { margin: 0 !important; color: #4a4039 !important; font-family: var(--gh-serif, "Noto Serif JP", serif) !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1.65 !important; }
.gpa-card__body > p { min-height: 4.9em; margin: 12px 0 16px; color: #786c65; font-size: 13px; line-height: 1.75; }
.gpa-card__more { display: inline-flex; gap: 8px; align-items: center; color: #a15a8b !important; font-size: 13px; font-weight: 600; }
.gpa-card__more span { font-size: 17px; }
.gpa-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 46px; }
.gpa-pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #ede2dd; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #796d66; font-size: 13px; }
.gpa-pagination .current { border-color: #d56bb3; background: #d56bb3; color: #fff; }
.gpa-empty { text-align: center; }

.gpa-diagnosis { padding: 6px 0 74px; }
.gpa-diagnosis__panel { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 28px; align-items: center; padding: 30px 34px; border: 1px solid #f0dfdc; border-radius: 18px; background: radial-gradient(circle at 90% 20%,rgba(213,107,179,.14),transparent 30%),linear-gradient(90deg,#fff8f7,#fffdfb 58%,#fff4f8); }
.gpa-diagnosis__panel > img { width: 92px; opacity: .7; }
.gpa-diagnosis h2 { margin: 0 0 8px !important; color: #4a4039 !important; font-family: var(--gh-serif, "Noto Serif JP", serif) !important; font-size: 24px !important; font-weight: 500 !important; line-height: 1.55 !important; }
.gpa-diagnosis p:not(.gpa-eyebrow) { margin: 0; font-size: 14px; line-height: 1.8; }

.gpa-categories { padding: 72px 0 84px; background: #fbf7f1; border-top: 1px solid rgba(237,226,221,.7); }
.gpa-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.gpa-category-card { min-height: 92px; display: grid; grid-template-columns: 42px minmax(0,1fr) 24px; gap: 12px; align-items: center; padding: 20px 22px; border: 1px solid #ede2dd; border-radius: 10px; background: #fffdfc; transition: transform .18s ease, border-color .18s ease; }
.gpa-category-card:hover { transform: translateY(-2px); border-color: rgba(213,107,179,.36); }
.gpa-category-card > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff3f7; color: #c65b9f; font-size: 20px; }
.gpa-category-card strong { color: #4a4039; font-family: var(--gh-serif, "Noto Serif JP", serif); font-size: 16px; font-weight: 600; }
.gpa-category-card em { color: #d56bb3; font-style: normal; font-size: 20px; text-align: right; }

@media (max-width: 920px) {
  .gpa-hero__inner { grid-template-columns: minmax(0,1fr) 220px; gap: 24px; }
  .gpa-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gpa-diagnosis__panel { grid-template-columns: 84px minmax(0,1fr); }
  .gpa-diagnosis__panel .gh-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .gpa-hero__inner { min-height: auto; grid-template-columns: 1fr; gap: 8px; padding-block: 42px 36px; }
  .gpa-hero__mark { min-height: 130px; order: -1; }
  .gpa-hero__mark img { width: 100px; }
  .gpa-hero__halo { width: 145px; height: 145px; }
  .gpa-breadcrumb { margin-bottom: 18px; }
  .gpa-hero h1 { font-size: 38px !important; }
  .gpa-hero__lead { font-size: 14px; }
  .gpa-section { padding: 56px 0 64px; }
  .gpa-section-head { margin-bottom: 28px; }
  .gpa-section-head h2 { font-size: 28px !important; }
  .gpa-grid { grid-template-columns: 1fr; gap: 18px; }
  .gpa-card__body > p { min-height: 0; }
  .gpa-diagnosis { padding-bottom: 58px; }
  .gpa-diagnosis__panel { grid-template-columns: 1fr; gap: 12px; padding: 26px 22px; text-align: center; }
  .gpa-diagnosis__panel > img { width: 76px; margin: 0 auto; }
  .gpa-diagnosis__panel .gh-button { grid-column: auto; justify-self: center; width: 100%; }
  .gpa-diagnosis h2 { font-size: 21px !important; }
  .gpa-categories { padding: 56px 0 64px; }
  .gpa-category-grid { grid-template-columns: 1fr; gap: 10px; }
}
