@charset "UTF-8";

/* =========================================================
   1. Layout & Global（nengo準拠）
========================================================= */
.jinbutsu-page main.page {
  padding-top: 140px;
  padding-bottom: 60px;
  background-color: #f0f4f8;
}

@media (max-width: 600px) {
  .jinbutsu-page main.page {
    padding-top: 110px;
    padding-bottom: 40px;
  }
}

/* パンくず */
.jinbutsu-page .bread {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #666;
}
.jinbutsu-page .bread a {
  color: #100964;
  text-decoration: none;
  font-weight: 700;
}
.jinbutsu-page .bread a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   2. Hero（nengo思想）
========================================================= */
.jinbutsu-page .jinbutsu-hero {
  margin-top: 0;
  background: #2c4786;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}

.jinbutsu-page .jinbutsu-hero__inner {
  padding: 45px 20px;
}

@media (max-width: 600px) {
  .jinbutsu-page .jinbutsu-hero__inner {
    padding: 40px 15px;
  }
}

.jinbutsu-page .jinbutsu-title {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  line-height: 1.3;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.jinbutsu-page .jinbutsu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.0rem;
  padding: 6px 24px;
  border-radius: 50px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 15px;
  background: #e67e22;
  color: #ffffff;
}

/* =========================================================
   3. Content Card
========================================================= */
.jinbutsu-page .jinbutsu-card {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid rgba(16,9,100,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  overflow: hidden;
}

.jinbutsu-page .jinbutsu-card__body {
  padding: 30px;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* strongハイライト（nengoと同じ） */
.jinbutsu-page .jinbutsu-card__body strong,
.jinbutsu-page .jinbutsu-summary__list strong,
.jinbutsu-page .advice strong {
  background: linear-gradient(transparent 70%, rgba(255,204,0,0.4) 70%);
  padding: 0 2px;
  font-weight: 700;
}

/* 注釈 */
.jinbutsu-page .annotation {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f8f9ff;
  border-left: 4px solid #100964;
  border-radius: 10px;
  color: #444;
  font-size: 0.98rem;
}

/* =========================================================
   4. Advice（nengoと同じ）
========================================================= */
.jinbutsu-page .advice {
  margin-top: 30px;
  background: #fffbf0;
  border-left: 5px solid #e67e22;
  border-radius: 8px;
  padding: 20px 24px;
}

.jinbutsu-page .advice__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #7a3c00;
}

/* =========================================================
   5. Summary
========================================================= */
.jinbutsu-page .jinbutsu-summary {
  margin-top: 24px;
  padding: 28px 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(16,9,100,0.08);
}

.jinbutsu-page .jinbutsu-summary__badge {
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  background: #f0f2f5;
  color: #100964;
  font-size: 0.85rem;
  display: inline-flex;
}

.jinbutsu-page .jinbutsu-summary__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #100964;
}

.jinbutsu-page .jinbutsu-summary__list {
  margin: 0;
  padding-left: 1.1em;
  line-height: 1.9;
  color: #333;
}
.jinbutsu-page .jinbutsu-summary__list li {
  margin: 6px 0;
}

/* =========================================================
   6. Back（nengo-backと同等）
========================================================= */
.jinbutsu-page .nengo-back {
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: center;
}

.jinbutsu-page .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #100964;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 24px;
  border: 2px solid #100964;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.jinbutsu-page .btn-back:hover {
  background: #100964;
  color: #ffffff;
  transform: translateX(-3px);
}

/* =========================================================
   7. CTA（nengoと同じ）
========================================================= */
.jinbutsu-page .cta {
  margin-top: 24px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(16,9,100,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jinbutsu-page .cta h3,
.jinbutsu-page .cta p {
  text-align: left;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.jinbutsu-page .cta__badge {
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
  background: #f0f2f5;
  color: #100964;
  font-size: 0.85rem;
}

.jinbutsu-page .cta__badge--parent {
  background: #fff0e6;
  color: #e67e22;
}

/* ボタン共通 */
.jinbutsu-page .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(400px, 100%);
  padding: 18px 24px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px -10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.jinbutsu-page .btn:hover {
  transform: translateY(-2px);
}

.jinbutsu-page .btn-line { background: #06C755; color: #fff; }
.jinbutsu-page .btn-trial { background: #e67e22; color: #fff; }

/* =========================================================
   8. Link（本文・まとめ内のリンク統一）
========================================================= */
.jinbutsu-page .jinbutsu-card__body a,
.jinbutsu-page .jinbutsu-summary__list a {
  color: #100964;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(transparent 70%, rgba(255,204,0,0.4) 70%);
  padding: 0 2px;
}

/* visitedでも紫にしない */
.jinbutsu-page .jinbutsu-card__body a:visited,
.jinbutsu-page .jinbutsu-summary__list a:visited {
  color: #100964;
}

/* ホバー時だけ下線 */
.jinbutsu-page .jinbutsu-card__body a:hover,
.jinbutsu-page .jinbutsu-summary__list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
