@charset "UTF-8";

/* ===================================================
   WISH相続 LP (souzoku) 専用CSS
   HTMLプレビュー (souzoku-preview.html) 準拠
   全セレクタを .lp でスコープし theme.css との干渉を防止

   【フォントルール】
   見出し (h1-h3): 明朝体 (Hiragino Mincho ProN / Yu Mincho / Noto Serif JP)
   テキスト (p, li, span等): ゴシック体 (Hiragino Kaku Gothic ProN / Yu Gothic)

   【サイズルール】
   h1: 40px / h2: 28px / h3: 22px
   本文テキスト: 16px / 補足テキスト: 14px / 小テキスト（プロフィール本文等）: 12px
   =================================================== */

/* ---------- ページ背景 ---------- */
[data-barba-namespace="souzoku"] {
  background: #f5f6f7;
}

/* ---------- ベース ---------- */
.lp *,
.lp *::before,
.lp *::after {
  box-sizing: border-box;
}

.lp {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: #2f4045;
  line-height: 1.7;
  background: #f5f6f7;
}

.lp img {
  max-width: 100%;
  display: block;
}

/* ---------- 見出し共通（明朝体） ---------- */
.lp h1,
.lp h2,
.lp h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

/* ---------- ヒーローCTAコンパクト ---------- */
.lp .hero-cta-compact {
  margin-top: 28px !important;
  padding: 20px 24px !important;
  background-color: #4b6870 !important;
  border-radius: 8px;
}
.lp .hero-cta-compact .c-box2__headline {
  font-size: 14px !important;
  margin-bottom: 4px !important;
}
.lp .hero-cta-compact .c-box2__tel {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.lp .hero-cta-compact .c-box2__tel-number {
  font-size: 22px !important;
  margin-bottom: 4px !important;
}
.lp .hero-cta-compact .c-box2__tel-subtext {
  font-size: 11px !important;
}
.lp .hero-cta-compact .c-btn1 {
  font-size: 13px !important;
  padding: 10px 20px !important;
  max-width: 260px !important;
}

/* ---------- ヒーロー ---------- */
.lp .hero {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
  position: relative;
}

.lp .hero-badge {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #4b6870;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 17px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.2;
  transform: rotate(-12deg);
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
  z-index: 2;
}

.lp .hero-photo {
  height: 420px;
  border-radius: 2px;
  overflow: hidden;
  background: #dfe7ea;
}

.lp .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lp .hero-profile {
  margin-top: 12px;
  font-size: 14px;
  color: #3f5459;
  line-height: 1.5;
}

.lp .hero-profile strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .03em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.lp .hero-copy h1 {
  margin: 8px 0 20px;
  padding: 0;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: .05em;
  font-weight: 500;
  color: #6f8f97;
}

.lp .hero-copy p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #4b6870;
  line-height: 1.7;
}

.lp .hero-copy__sub {
  font-size: 16px;
  font-weight: 600;
  color: #5c777e;
  margin-bottom: 16px !important;
  letter-spacing: 0.02em;
}

/* ---------- フロー（悩み→解決） ---------- */
.lp .flow {
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* --- お悩みセクション（ネガティブ → 暗い印象：色反転） --- */
.lp .worries {
  padding: 32px 28px;
  background: #4b6870;
  border-radius: 12px 12px 0 0;
  color: #fff;
}

.lp .worries h2 {
  margin: 0 0 16px;
  padding: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.lp .worries ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
}

.lp .worries li {
  margin: 0 0 4px;
  padding: 0;
}

.lp .worries li::before {
  content: "\30FB";
  margin-right: .18em;
}

.lp .flow-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: -8px auto -8px;
  background: #fff;
  border: 1px solid #d9e1e3;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(28, 49, 57, 0.12);
  z-index: 2;
}

.lp .flow-arrow span {
  display: none;
}

.lp .flow-arrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 3px solid #4b6870;
  border-bottom: 3px solid #4b6870;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* --- 解決セクション（明るい印象：#c19078アクセント） --- */
.lp .solve {
  padding: 32px 28px 48px;
  background: #c19078;
  border-radius: 0 0 12px 12px;
  color: #fff;
}

.lp .solve h2 {
  margin: 0 0 16px;
  padding: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.lp .solve p {
  margin: 0 0 12px;
  padding: 0;
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
}

.lp .solve ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  font-size: 16px;
  color: #fff;
}

.lp .solve ul li {
  padding-left: 1.2em;
  position: relative;
  line-height: 1.8;
}

.lp .solve ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ---------- プラン ---------- */
.lp .plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0 40px;
}

.lp .plan {
  background: rgba(255,255,255,.72);
  border-radius: 16px;
  padding: 16px 16px 20px;
  position: relative;
}

.lp .plan-bubble {
  position: absolute;
  left: 18px;
  top: -18px;
  background: #6f8f97;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 16px;
  transform: rotate(-11deg);
  line-height: 1.35;
}

.lp .plan-bubble::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -14px;
  border: 8px solid transparent;
  border-top-color: #6f8f97;
  transform: rotate(10deg);
}

.lp .plan-media {
  margin-top: 34px;
  height: 164px;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe7ea;
}

.lp .plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lp .plan h2 {
  margin: 16px 0 12px;
  padding: 0;
  color: #4b6870;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.2;
}

.lp .plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  color: #4b6870;
  line-height: 1.7;
}

.lp .plan li {
  margin: 0 0 2px;
  padding: 0;
}

.lp .plan li::before {
  content: "\25CF";
  margin-right: .3em;
  font-size: 10px;
  vertical-align: middle;
}

.lp .plan__footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.lp .plan-success {
  width: 140px;
  border-radius: 10px;
  background: #c4956a;
  color: #fff;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.lp .plan-success__text {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: .02em;
}

.lp .plan-success__qr {
  margin: 0 auto;
  width: 90px;
  height: 90px;
  border-radius: 4px;
  background: #fff;
  border: 3px solid rgba(255,255,255,.8);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp .plan-success__qr-placeholder {
  font-size: 9px;
  color: #999;
  text-align: center;
  line-height: 1.4;
  padding: 4px;
}

.lp .plan-success__qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- サービス料金 ---------- */
.lp .service {
  margin: 0 0 40px;
  background: rgba(255,255,255,.88);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid #d4dcdd;
  text-align: center;
}

.lp .service__heading {
  font-size: 28px;
  font-weight: 600;
  color: #4b6870;
  margin: 0 0 24px;
  padding: 0;
}

.lp .service__price {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #3f575c;
  margin-bottom: 20px;
}

.lp .service__price-label {
  font-size: 16px;
  color: #5c777e;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-align: left;
}

.lp .service__price-amount {
  font-size: 32px;
  font-weight: 700;
  color: #3a5560;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.lp .service__price-amount em {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #5c777e;
  margin-left: 2px;
}

.lp .service__note {
  font-size: 14px;
  color: #5c777e;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

/* ---------- 選ばれる理由 ---------- */
.lp .reasons {
  margin: 0 0 40px;
  padding: 32px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}

.lp .reasons h2 {
  margin: 0 0 20px;
  padding: 0;
  color: #4b6870;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.lp .reason-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* --- 各カードをセンタリング --- */
.lp .reason-card {
  background: rgba(240,246,246,.9);
  border: 1px solid #d3ddde;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
}

.lp .reason-card__num {
  margin: 0 0 8px;
  padding: 0;
  font-size: 28px;
  color: #4b6870;
  font-weight: 700;
}

.lp .reason-card__title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
  color: #3d555c;
  line-height: 1.4;
  font-weight: 700;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.lp .reason-card__text {
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #445d63;
  line-height: 1.7;
  text-align: center;
}

/* ---------- プロフィール詳細 ---------- */
.lp .profile-detail {
  margin: 0 0 40px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* --- 「相続実務士 金本仁美について」見出し：色反転 --- */
.lp .profile-detail h2 {
  margin: 0 0 0;
  padding: 20px 24px;
  color: #fff;
  background: #4b6870;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  border-radius: 12px 12px 0 0;
}

.lp .profile-detail__body {
  padding: 28px 24px;
  background: rgba(255,255,255,.85);
  border-radius: 0;
}

/* --- 「相続実務士になった理由」見出し：色反転 --- */
.lp .profile-detail h3 {
  margin: 0;
  padding: 18px 24px;
  color: #fff;
  background: #c19078;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.lp .profile-detail__body2 {
  padding: 28px 24px;
  background: rgba(255,255,255,.85);
  border-radius: 0 0 12px 12px;
}

.lp .profile-detail p {
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #3f565c;
}

.lp .profile-detail p:last-child {
  margin-bottom: 0;
}

.lp .profile-detail ul {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.7;
  color: #3f565c;
}

.lp .profile-detail li {
  margin: 0;
  padding: 0;
}

.lp .profile-detail li::before {
  content: "\25A0\0020";
}

/* --- メールでのお問い合わせボタン色上書き --- */
.lp .c-btn1.__blue {
  background-color: #4b6870 !important;
  border-color: #fff !important;
}
.lp .c-btn1.__blue:hover {
  background-color: #3a5560 !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* ---------- 下部CTA（お電話でのご相談・お問い合わせ） ---------- */
.lp .bottom-cta {
  margin: 0 0 40px;
  padding: 32px 40px;
  background: #4b6870;
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.lp .bottom-cta h2 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 12px;
}

.lp .bottom-cta .c-box2__tel-number {
  font-size: 28px !important;
  color: #fff;
}

.lp .bottom-cta .c-box2__tel-subtext {
  color: rgba(255,255,255,.85);
}

.lp .bottom-cta .c-btn1 {
  font-size: 14px !important;
  padding: 12px 24px !important;
  max-width: 300px !important;
}

/* ---------- お問い合わせフォームセクション ---------- */
.lp .contact-form {
  background: #fff;
  border-radius: 8px;
  padding: 48px 40px;
  margin-top: 0;
}

.lp .contact-form > h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #2f4045;
  letter-spacing: 0.05em;
}

/* チェックリストのセンタリング用ラッパー */
.lp .contact-form__checklist-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.lp .contact-form__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.lp .contact-form__checklist li {
  font-size: 16px;
  font-weight: 700;
  padding-left: 36px;
  position: relative;
  margin-bottom: 10px;
  color: #2f4045;
}

.lp .contact-form__checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 24px;
  height: 24px;
  background-color: #4b6870;
  border-radius: 3px;
}

.lp .contact-form__checklist li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.3em;
  width: 14px;
  height: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

.lp .contact-form .p-contact__form {
  margin-top: 40px;
}

.lp .contact-form .f-list {
  margin-bottom: 32px;
}

/* --- 都道府県selectのデザイン修正 --- */
.lp .contact-form .f-select2 {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding: 10px 36px 10px 12px;
  font-size: 16px;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.5;
}

.lp .contact-form .f-select2:focus {
  border-color: #4b6870;
  box-shadow: 0 0 0 2px rgba(75,104,112,.15);
}

/* =============================================
   レスポンシブ
   ============================================= */

/* タブレット以下 */
@media (max-width: 900px) {
  .lp .hero {
    grid-template-columns: 1fr;
  }
  .lp .hero-copy h1 {
    font-size: 34px;
  }
  .lp .hero-copy p {
    font-size: 15px;
  }
  .lp .hero-cta-compact {
    margin-top: 20px !important;
  }
  .lp .flow {
    gap: 0;
  }
  .lp .flow-arrow {
    width: 54px;
    height: 54px;
  }
  .lp .worries h2 {
    font-size: 26px;
  }
  .lp .worries ul {
    font-size: 15px;
  }
  .lp .solve h2 {
    font-size: 26px;
  }
  .lp .solve p {
    font-size: 15px;
  }
  .lp .profile-detail h2 {
    font-size: 26px;
  }
  .lp .profile-detail h3 {
    font-size: 20px;
  }
  .lp .profile-detail p {
    font-size: 15px;
  }
  .lp .profile-detail ul {
    font-size: 15px;
  }
  .lp .plans {
    grid-template-columns: 1fr;
  }
  .lp .plan h2 {
    font-size: 26px;
  }
  .lp .plan ul {
    font-size: 15px;
  }
  .lp .reason-cards {
    grid-template-columns: 1fr;
  }
  .lp .reasons h2 {
    font-size: 26px;
  }
  .lp .reason-card__title {
    font-size: 18px;
  }
  .lp .bottom-cta {
    padding: 28px 24px;
  }
}

/* スマホ */
@media (max-width: 520px) {
  .lp .pc-only {
    display: none;
  }
  .lp .hero-copy h1 {
    font-size: 26px;
  }
  .lp .hero-copy p {
    font-size: 14px;
  }
  .lp .flow-arrow {
    width: 46px;
    height: 46px;
  }
  .lp .worries {
    padding: 24px 20px;
  }
  .lp .worries h2 {
    font-size: 22px;
  }
  .lp .worries ul {
    font-size: 14px;
  }
  .lp .solve {
    padding: 24px 20px;
  }
  .lp .solve h2 {
    font-size: 22px;
  }
  .lp .solve p {
    font-size: 14px;
  }
  .lp .profile-detail h2 {
    font-size: 22px;
    padding: 16px 16px;
  }
  .lp .profile-detail h3 {
    font-size: 18px;
    padding: 14px 16px;
  }
  .lp .profile-detail__body,
  .lp .profile-detail__body2 {
    padding: 20px 16px;
  }
  .lp .profile-detail p {
    font-size: 15px;
  }
  .lp .profile-detail ul {
    font-size: 15px;
  }
  .lp .hero-profile strong {
    font-size: 20px;
  }
  .lp .plan-bubble {
    font-size: 14px;
  }
  .lp .plan h2 {
    font-size: 22px;
  }
  .lp .plan ul {
    font-size: 14px;
  }
  .lp .plan__footer {
    justify-content: center;
  }
  .lp .plan-success {
    width: 150px;
  }
  .lp .plan-success__text {
    font-size: 13px;
  }
  .lp .plan-success__qr {
    width: 82px;
    height: 82px;
  }
  .lp .service {
    padding: 28px 16px;
  }
  .lp .service__heading {
    font-size: 22px;
  }
  .lp .service__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .lp .service__price-label {
    font-size: 14px;
    text-align: center;
  }
  .lp .service__price-amount {
    font-size: 28px;
  }
  .lp .service__note {
    font-size: 13px;
  }
  .lp .reasons {
    padding: 24px 16px;
  }
  .lp .reasons h2 {
    font-size: 22px;
  }
  .lp .reason-card__num {
    font-size: 22px;
  }
  .lp .reason-card__title {
    font-size: 16px;
  }
  .lp .reason-card__text {
    font-size: 13px;
  }
  .lp .bottom-cta {
    padding: 24px 16px;
  }
  .lp .bottom-cta h2 {
    font-size: 18px;
  }
  .lp .contact-form {
    padding: 32px 16px;
  }
  .lp .contact-form > h2 {
    font-size: 22px;
  }
  .lp .contact-form__checklist li {
    font-size: 14px;
  }
}
