
/* ==========================================================================
   変数定義 (:root)
   ========================================================================== */
:root {
  --main_souzokuzei: #e57913;
  --dark: #562512;
  --accent: #004384;
  --cream: #faf6f0;
  --beige: #f3ece2;
  --text: #2a2017;
  --text-l: #5c5044;
  --white: #fff;
  --gold: #c9a96e;
  --gold-light: #e6b422;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(86, 37, 18, .08);
  --main: #e57913; /* 重複していたため統合 */
  --p:#000;
}

/* ==========================================================================
   リセット・基本設定
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   HEROエリア (Main Visual)
   ========================================================================== */


 .hero-bg {
    position: relative;
    background-color: #2a0e07;
  }

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.daylight-law.jp/inheritance/wp-content/themes/daylight/images/main24.jpg") center center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 7fr;
  grid-template-rows: minmax(480px, 1fr) auto;
  /* overflow: hidden; */
  max-width: 1100px;
  margin: 0 auto;
}

/* 背景画像 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* 左パネル */
.hero-left {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0px 60px 10px;
  background: linear-gradient(135deg, rgba(58, 22, 12, 0.88) 60%, rgba(86, 37, 18, 0.88) 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  width: 90%;
}

.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* アクセント 弁護士画像を横並び */
.accent-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-accent {
  font-size: clamp(16px, 2.6vw, 30px);
  font-weight: 700;
  color: #E57913;
  line-height: 1.6;
  flex: 1;
}

.accent-img {
  width: clamp(80px, 10vw, 140px);
  flex-shrink: 0;
  align-self: flex-end;
}

.accent-img img {
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hero-body {
  font-size: clamp(13px, 1.4vw, 17px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
}

/* 右: 税理士写真 */
.hero-right {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  width: 120%;
  /* overflow: hidden; */
}

.hero-right img {
  position: absolute;
  top: 50%;
  left: 37%;
  width: 115%;
  transform: translate(-56%, -50%);
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* BADGES */
.badges {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: stretch;
  padding: 20px 0px 28px;
  z-index: 10;
}

.badge {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 150, 90, 0.12);
  border: 1px solid rgba(184, 150, 90, 0.4);
  border-radius: 40px;
  padding: 14px 12px;
  color: var(--gold-light);
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s;
}

.badge-num {
  font-size: 1.85em;
  color: #fff;
  line-height: 1;
  vertical-align: middle;
}

/* ==========================================================================
   全体設計・ラッパー (ID: inheritance-lp)
   ========================================================================== */
#inheritance-lp {
  color: #000;
  line-height: 2;
  font-weight: 400;
  font-size: 15.5px;
  letter-spacing: .03em;
  background: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#inheritance-lp img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 10;
}

#inheritance-lp a {
  text-decoration: none;
  color: inherit;
}

#inheritance-lp ul {
  list-style: none;
}

/* UTILITY */
#inheritance-lp .lpcontainer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 999;
}
#inheritance-lp .lpcontainer2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  background: #fff;
}

.section-pad {
  padding: 100px 0;
  background: #fff;
  width: auto
  margin: 0 auto;
}

.content-wrapper-zei {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.6;
}

.diagram-section-zei {
  background: #faf6f0;
  padding: 50px;
}

.pitfall-section-zei {
  background: #eee8df;
  padding: 50px;
}

/* ==========================================================================
   見出し・タイトル
   ========================================================================== */
.section-title-zei,
#inheritance-lp .sh2 {
  background: #f3ece2;
  padding: 20px 28px;
  border-left: 5px solid #E57913;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: #562512;
  line-height: 1.6;
  margin-bottom: 48px;
  letter-spacing: .04em;
  position: relative;
}

.section-title-zei::after,
#inheritance-lp .sh2::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--main), #562512);
}

#inheritance-lp .sh6 {
  color: var(--dark);
  font-size: 1.2em;
  border-left: 5px solid #f15a24;
  margin: 1.5em 10px !important;
  padding: 0.3em 0 0.3em 0.5em;
  line-height: 1.2em;
  clear: both;
  font-weight: 700;
}

#inheritance-lp .sh3 {
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--dark);
  padding-bottom: 12px;
  margin-bottom: 24px;
  position: relative;
  border-bottom: 2px solid #e0d5c7;
}

#inheritance-lp .sh3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 30%;
  height: 2px;
  background: var(--accent);
}

/* ==========================================================================
   ベン図 (Venn Diagram)
   ========================================================================== */
.venn-diagram-container-zei,
#inheritance-lp .venn__diagram {
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: space-around; /* venn-diagram-container-zei用 */
  justify-content: center;       /* venn__diagram用 */
  border-radius: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  max-width: 560px;
  height: 320px;
  margin: 48px auto;
}

.venn-diagram-zei {
  position: relative;
  width: 320px;
  height: 200px;
}

/* 円の共通設定 */
.circle-zei,
#inheritance-lp .venn__circle {
  position: absolute;
  width: 180px; /* circle-zei用 */
  height: 180px;
  width: 240px; /* venn__circle用で上書き */
  height: 240px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  border: 1px solid #999;
  padding: 20px;
}

/* 左の円 */
.tax-zei,
#inheritance-lp .venn__circle--left {
  background: rgba(229, 121, 19, .12);
  border: 2px solid rgba(229, 121, 19, .35);
  left: 0;
  color: var(--dark);
}

/* 右の円 */
.legal-zei,
#inheritance-lp .venn__circle--right {
  background: rgba(0, 67, 132, .1);
  border: 2px solid rgba(0, 67, 132, .3);
  right: 0;
  color: var(--dark);
}

.label-zei {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* 重なり部分 */
.overlap-zei,
#inheritance-lp .venn__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  width: 160px; /* venn__centerで上書き */
  height: 160px;
  background: linear-gradient(135deg, var(--main), var(--dark));
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(86, 37, 18, .25);
}

.venn__summary {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--dark);
  margin: 0 auto;
  border-bottom: solid 10px #FCEE21;
  width: 44%;
  font-size: 21px;
  margin-bottom: 90px;
}

/* ★修正: ##を#に修正 */
.venn__summary span {
  color: #e57913;
}

.image-placeholder-zei {
  font-size: 2rem;
  font-weight: bold;
  color: #444;
}

.bpc {display: block;}
.bsp {display: none;}
.bpc img{ margin: 0;
    width: 100%;}

/* ==========================================================================
   落とし穴・カードセクション (Pitfalls)
   ========================================================================== */
.pitfall-title-zei {
  border-left: 6px solid #d67b2c;
  padding-left: 15px;
  font-size: 1.1rem;
  margin: 60px 0 20px;
}

.pitfall-sub-zei {
  color: #5c5044;
  line-height: 1.9;
}

.pitfall-grid-zei,
#inheritance-lp .pitfalls__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 48px;
}

/* スマホ用2カラムGrid */
#inheritance-lp .pitfalls__list2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pitfall-card-zei,
#inheritance-lp .pitfalls__card {
  flex: 1;
  background: #fff;
  border-radius: 10px; /* card-zei */
  border-radius: 16px; /* pitfalls__card */
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}

/* 吹き出しの三角 */
.pitfall-card-zei::after {
  content: '';
  background: #fff;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--white);
  filter: drop-shadow(0 2px 2px rgba(86, 37, 18, .04));
}

.card-txt-zei,
#inheritance-lp .pitfalls__bubble {
  font-weight: 600;
  font-size: 1.4rem;
  color: #562512;
  line-height: 1.7;
  letter-spacing: .02em;
  min-height: 3.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}
#inheritance-lp .pitfalls__bubble {
  font-size: 20px;
  min-height: 4em;
  color: var(--dark);
  line-height: 1.3;
}

.pitfalls__lead-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 121, 19, .08);
  margin-bottom: 16px;
}

.person-img-zei {
  background: #f0f4f8;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #888;
}

.card-txt-zei-mini {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 10px;
  letter-spacing: .04em;
}

.bubbleimg { margin-top: 5px; }
.bubbleimg img { margin: 0 auto; margin-top: 10px; }

/* 警告ボックス */
.warning-box-zei,
#inheritance-lp .pitfalls__alert {
  position: relative;
  background: #3a1a0c;
  color: #fff;
  padding: 32px 40px;
  border-radius: 12px;
  text-align: center;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow: hidden;
  font-size: 1.4rem;
  margin-top: 48px;
}
/* inheritance-lp用の上書き */
#inheritance-lp .pitfalls__alert {
  color: #000;
  border: solid 7px #E57913;
  border-radius: 21px;
  font-weight: 600;
  font-size: 20px;
  background: #F3ECE2;
}

/* ==========================================================================
   まとめ・USPセクション
   ========================================================================== */
.summary-flex-zei {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 80px;
}

.lawyer-img-zei {
  width: 250px;
  height: 150px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
}

.summary-text-zei {
  background: #fff;
  padding: 36px 40px;
  border-radius: 5px;
  box-shadow: 0 4px 24px rgba(86, 37, 18, .08);
  position: relative;
  overflow: hidden;
}

/* ★修正: beforをbeforeに修正 */
.summary-text-zei::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #e57913, #004384);
}

.final-message-zei {
  background: linear-gradient(135deg, rgba(229, 121, 19, .06), rgba(0, 67, 132, .04));
  border: 1px solid rgba(229, 121, 19, .15);
  padding: 36px 40px;
  border-radius: var(--radius);
  text-align: center;
}

.final-message-zei h5 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #5d3523;
}

/* USP Items */
#inheritance-lp .usp__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  margin-bottom: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#inheritance-lp .usp__item:nth-child(even) { direction: rtl; }
#inheritance-lp .usp__item:nth-child(even) > * { direction: ltr; }
#inheritance-lp .usp__img { width: 100%; height: 280px; object-fit: cover; }
#inheritance-lp .usp__content { padding: 40px; }
#inheritance-lp .usp__num { font-size: 2.5rem; color: var(--main); opacity: 0.2; font-weight: 800; }

/* ==========================================================================
   旧LPスタイル (dl-*)
   ========================================================================== */
.dl-lp-wrapper-zei {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
}

.dl-container-zei {
  max-width: 1000px;
  margin: 0 auto !important;
  box-sizing: border-box;
  text-align: center;
}

.dl-hero-zei {
  padding: 80px 0;
  width: 100%;
}
.dl-hero-sub-zei { font-size: 1.25rem; margin-bottom: 10px; }
.dl-hero-main-zei { font-size: 2.2rem; color: #f5c518; margin-bottom: 25px; line-height: 1.4; }
.dl-hero-desc-zei { font-size: 1rem; opacity: 0.9; max-width: 800px; margin: 0 auto; }

.dl-hero-badges-zei {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.dl-badge-item-zei {
  background: #e6b422;
  color: #fff;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.85rem;
  border: 3px double #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  box-sizing: border-box;
}
.dl-badge-item-zei span { font-size: 1.2rem; display: block; }

.dl-section-title-zei {
  text-align: center;
  font-size: 1.6rem;
  margin: 60px 0 30px;
}

.dl-visual-placeholder-zei {
  background: #eee;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.dl-accent-link-zei {
  text-align: center;
  color: #d2691e;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: underline;
}

.dl-pre-text-zei { text-align: center; margin-bottom: 20px; font-weight: bold; color: #d2691e; }
.dl-benefit-grid-zei {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dl-benefit-card-zei {
  background: #fff;
  border: 1px solid #ddd;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dl-benefit-tag-zei {
  background: #f2f2f2;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 15px;
}

.dl-alert-box-zei {
  background: #fef4e8;
  border: 2px solid #d2691e;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
}

.dl-reason-main-title-zei {
  background: #E57913;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin: 70px 0 40px;
  font-weight: bold;
  font-size: 25.6px;
}

.dl-reason-row-zei {
  display: flex;
  background: #fff;
  margin-bottom: 40px;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  overflow: hidden;
}
.dl-reason-row-zei.dl-reverse-zei { flex-direction: row-reverse; }

.dl-reason-txt-zei {
  flex: 1.2;
  padding: 40px;
  font-size: 16px;
}
.dl-reason-txt-zei p { text-align: left; }
.dl-reason-img-zei img { margin: 10px; }

.dl-num-zei {
  color: #004384;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

h3.dl-num-zei3 {
  font-weight: bold;
  color: var(--dark);
}

.dl-comp-table-zei {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}
.dl-comp-table-zei th, .dl-comp-table-zei td {
  border: 1px solid #ccc;
  padding: 18px;
  text-align: center;
}
.dl-comp-table-zei thead th { background: #444; color: #fff; }

.dl-col-highlight-zei {
  background-color: #fff8e1;
  border: 3px solid #d2691e !important;
  font-weight: bold;
}
th.dl-col-highlight-zei { background-color: #d2691e; color: #fff; }

.dl-table-note-zei { font-size: 0.85rem; text-align: center; margin-top: 10px; color: #666; }

.dl-faq-item-zei {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px 20px;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
}
.dl-faq-item-zei::after { content: "＋"; position: absolute; right: 20px; color: #d2691e; }

/* ==========================================================================
   その他コンポーネント
   ========================================================================== */
/* First View (fv) */
#inheritance-lp .fv {
  position: relative;
  width: 100%;
  height: auto;
  background-size: cover;
  background-image: url('https://www.daylight-law.jp/inheritance/wp-content/themes/daylight/images/main24.jpg');
}

#inheritance-lp .fv::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  clip-path: polygon(0 0, 50% 0, 75% 100%, 0 100%);
  background-color: #562512;
}

#inheritance-lp .fv__label {
  display: inline-block;
  font-size: .8rem;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,.4);
  padding: 6px 20px; margin-bottom: 32px; letter-spacing: .2em;
}

#inheritance-lp .fv__main {
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 28px;
  width: 500px;
}
#inheritance-lp .fv__main em { font-style: normal; color: var(--main); }

#inheritance-lp .fv__sub { color: rgba(255,255,255,.82); max-width: 680px; margin-bottom: 48px; }

#inheritance-lp .fv__badges { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
#inheritance-lp .fv__badge {
  display: flex; align-items: center; gap: 10px; padding: 14px 22px;
  background: rgba(255,255,255,.07); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,.25); border-radius: var(--radius);
  color: var(--white); font-size: .88rem;
}
#inheritance-lp .fv__badge-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--main));
  display: flex; align-items: center; justify-content: center;
}

/* One Stop Banner */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Brand */
.brand-zei { color: #d67b2c; border-bottom: 3px solid #f0cc5e; }
.solve-zei { color: #d67b2c; }

/* Koe / Cha */
.koe24 { display: flex; }
.koe24 img { width: 35%; }
.koe242 { margin: 0 auto; }
.cha {
  color: var(--dark);
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.chabox {
  text-align: center;
  background: #faf6f0;
  padding: 10px;
  margin-top: 37px;
}

/* Table (Inheritance specific) */
#inheritance-lp .inte th {
  background: #562512;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

/* FAQ */
#inheritance-lp .faq__item { background: var(--white); margin-bottom: 10px; border-radius: var(--radius); box-shadow: var(--shadow); }
#inheritance-lp .faq__q { padding: 20px; cursor: pointer; display: flex; align-items: center; font-weight: 700; }
#inheritance-lp .faq__a { max-height: 0; overflow: hidden; transition: 0.4s; padding: 0 20px; color: var(--text-light); }
#inheritance-lp .faq__item.active .faq__a { max-height: 300px; padding-bottom: 20px; }

/* Final CTA */
#inheritance-lp .final-cta {
  text-align: center; padding: 100px 24px; color: var(--white);
  background: linear-gradient(135deg, rgba(86,37,18,.95), rgba(58,26,12,.95)),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover;
}
#inheritance-lp .final-cta__buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 40px; }
#inheritance-lp .final-cta__btn { padding: 18px 36px; border-radius: 50px; color: var(--white); font-weight: 700; }
#inheritance-lp .final-cta__btn--phone { background: var(--main); }
#inheritance-lp .final-cta__btn--web { background: var(--accent); }

/* Footer */
#inheritance-lp .footer { background: var(--dark); color: rgba(255,255,255,.5); padding: 30px; text-align: center; font-size: 0.8rem; }

/* Office & Map */
h3.office_name { border-bottom: 1px solid #ccc; margin-bottom: 20px; }
h3.office_name a { font-size: 120%; font-weight: normal; color: #000; }
.top_office_area { display: flex; }
.top_office { width: 50%; padding: 30px; }
.top_office p { font-size: 100%; line-height: 1.7; }
.top_office img { width: 100%; height: auto; }
.office_item { display: flex; justify-content: center; }
.maptaitle { text-align: center; padding-top: 37px; font-size: 1.8rem; font-weight: bold; }

/* Era Accordion */
.era-accordion > dl > dd { display: none; }
#era-accordion { box-sizing: border-box; }
#era-accordion dl { margin: 0; }
#era-accordion dl dt {
  background-color: #fff;
  color: #562512;
  margin: -10px 0px 0px 0px;
  padding: 15px 10px 15px 18px;
  position: relative;
  font-weight: bold;
}
#era-accordion dl dt span {
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 100%;
  background-image: url(https://www.daylight-law.jp/inheritance/wp-content/themes/daylight/images/plus.gif);
  background-repeat: no-repeat;
  background-position: center center;
}
#era-accordion dl dt span.active {
  background-image: url(https://www.daylight-law.jp/inheritance/wp-content/themes/daylight/images/mainasu.gif);
}
#era-accordion dl dd {
  background-color: #FFFBE5;
  border: 0px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 10px 10px 15px 10px;
  margin-bottom: 10px;
}
#era-accordion dl dd a { color: #4c4948; }
#era-accordion dl dd.accordiontype { font-size: 14px; font-weight:bold; }

/* Online Buttons */
.onlinebtn { text-align: center; padding-top: 30px; margin-bottom: 90px; }
.onlinebtn1 { float: left; padding-left: 550px; }
.onlinebtn2 { float: right; padding-right: 550px; }
.box24 { display: flex; align-items: center; font-size: 16px}

/* Button */
#inheritance-lp .main_btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white); font-weight: 700;
  font-size: 1rem; padding: 18px 40px; border-radius: 50px; border: none;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 67, 132, .25);
}
#inheritance-lp .main_btn::after {
  content: ''; display: inline-block; width: 8px; height: 8px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}
#inheritance-lp .main_btn:hover {
  transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 67, 132, .35);
  background: #003570;
}

/* Backgrounds */
#inheritance-lp .bg-white { background: var(--white); }
#inheritance-lp .bg-texture {
  background: #FAF6F0;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(229,121,19,.04) 0%, transparent 60%);
}

/* 弁護士費用テーブル */
.e_table { width: 100%; border-collapse: collapse; font-weight: bold;}
.e_table .e_white { background-color: #fff; padding: 10px; font-weight: 700; border: 1px solid #b9b9b9; }
.e_table th {
  padding: 6px;
  text-align: left;
  vertical-align: top;
  color: #000;
  background-color: #FBD4B4;
  border: 1px solid #b9b9b9;
  font-weight: normal;
  font-size: 16px;
}
.e_table ul { margin: 1em 0 1em; }

/* 弁護士費用テーブル改定後 */
.fee_table { width: 100%; border-collapse: collapse; }
.fee_table .e_white {
  background-color: #fff;
  padding: 5px;
  border: 1px solid #B89E8B !important;
}
.fee_table th {
  padding: 6px;
  text-align: left;
  vertical-align: top;
  color: #000 !important;
  background-color: #F1EFE7 !important;
  border: 1px solid #B89E8B !important;
  font-weight: normal;
  font-size: 16px;
}

.koe23 { display: flex; }
.koe232 { margin: 0 auto; margin-left: 15px; }


/* ==========================================================================
   メディアクエリ (Responsive)
   ========================================================================== */
@media (max-width: 991px) {
  .mainimg { margin-top: 70px; }
  .fv { min-height: 46vh; }
  #inheritance-lp .bg-texture { padding: 100px 7%; width: auto; background: #FAF6F0}
  .section-pad .bg-texture { padding: 100px 7%; width: auto; background: #FAF6F0}
  .section-pad { background: #fff; width: auto; padding: 100px 7%; }
}

@media (max-width: 911px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hero-left {grid-column: 1;grid-row: 1;clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);padding: 0px 24px 60px;margin: 0 auto;width: 75%;}
  .hero-right {grid-column: 1;grid-row: 2;min-height: 280px;margin: 0 auto;width: 50%;}
  .badges {grid-column: 1;grid-row: 3;flex-wrap: wrap;gap: 8px;padding: 20px 16px 24px;margin-top: -119px;}
  .badge { white-space: normal; font-size: 13px; flex: 1 1 auto; }
  .hero-right img {
    position: absolute;
    top: 20%;
    left: 65%;
    width: 115%;
    transform: translate(-56%, -50%);
    object-fit: contain;
    object-position: center center;
  }
  .dl-badge-item-zei { width: 140px; height: 140px; }
  .dl-reason-txt-zei { padding: 20px; }
  .hero-h1{font-size: 34px}

}

@media (max-width: 768px) {
  /* Hero */
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hero-left {grid-column: 1;grid-row: 1;clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);padding: 0px 24px 30px;margin: 0 auto;width: 100%;}
  .hero-right {grid-column: 1;grid-row: 2;min-height: 280px;width: 95%;}
  .badges {grid-column: 1;grid-row: 3;flex-wrap: wrap;gap: 8px;padding: 20px 16px 24px;margin-top: -119px;}
  .badge { white-space: normal; font-size: 13px; flex: 1 1 auto; }
  .hero-right img {
    position: absolute;
    top: 25%;
    left: 56%;
    width: 115%;
    transform: translate(-56%, -50%);
    object-fit: contain;
    object-position: center center;
  }
  .badge-num { font-size: 22px; }
  .accent-img { width: 80px; }

  /* Pitfall & Summary */
  .pitfall-grid-zei { flex-direction: column; }
  .summary-flex-zei { flex-direction: column; text-align: center; }
  .venn-diagram-container-zei { flex-direction: column; gap: 40px; }

  /* Other Sections */
  #inheritance-lp .venn__diagram { flex-direction: column; height: auto; gap: 20px; }
  #inheritance-lp .venn__circle { position: relative; width: 200px; height: 200px; }
  #inheritance-lp .venn__center { position: relative; margin-top: -40px; margin-bottom: -40px; transform: none; left: auto; top: auto; }
  #inheritance-lp .pitfalls__list { grid-template-columns: 1fr; }
  #inheritance-lp .usp__item { grid-template-columns: 1fr; }
  #inheritance-lp .usp__item:nth-child(even) { direction: ltr; }
  
  .section-pad { padding: 64px 0; width: auto}
  .fv_souzokuzei__badges { flex-direction: column; }
  .fv_souzokuzei .container_souzokuzei { padding: 80px 20px 60px; }
  .challenge__body { grid-template-columns: 1fr; }
  .challenge__img { height: 220px; }
  .solution__box { padding: 32px 24px; }
  .str__item { grid-template-columns: 1fr; }
  .str__item:nth-child(even) { direction: ltr; }
  .str__img { height: 200px; }
  .str__body { padding: 28px 24px; }
  .fixed-cta { display: block; }
  .closing { padding-bottom: 120px; }
  
  .sec { padding: 64px 0; }
}

@media (max-width: 767px) {
  .hero-right{width: 55%}
  .mainben img { width: 95%; }
  .mainimg { display: block; }
  .fv { min-height: 60vh; }
  #inheritance-lp .fv__badges { margin-top: 20px; }
  #inheritance-lp .bg-texture { width: auto; padding: 30px 10px; }
  .section-pad { padding: 30px 10px; width: auto; }
  #inheritance-lp .lpcontainer{padding: 0}
  #inheritance-lp .lpcontainer2 {padding:0;}
  
  #inheritance-lp .venn__summary { width: auto; line-height: 1.3; font-size: 21px; }
  #inheritance-lp .pitfalls__list2 { display: grid; grid-template-columns: auto; padding: 4px; gap: 28px; margin-top: 28px; }
  #inheritance-lp .pitfalls__card { width: auto; }
  .bubbleimg img { width:80%; }
  
  .dl-reason-main-title-zei { margin: 40px 0 40px; font-size: 1.4rem; }
  .koe23 { display: block; }
  .koe24 { display: block; }
  .koe24 img { width: 100%; }
  
  .dl-reason-row-zei,
  .dl-reason-row-zei.dl-reverse-zei { flex-direction: column; padding: 25px 0; width: 100%; }
  .dl-reason-img-zei img { width: 80%; }

  
  #era-accordion dl dt { padding: 10px 5px; font-size: 12px; line-height: 1.5; }
  .box24 { width: 90%; }
  .maptaitle { font-size: 1.4rem; line-height: 1.5; }
  #era-accordion dl dt span{margin-right: -10px;
  }

  .bpc {display: none;}
  .bsp {display: block;}
  
  .top_office_area { display: block; margin: 0 auto; }
  .top_office { width: auto; padding: 0}
  .top_office img { width: 100%; } /* ★修正: .top_office img に修正 */
  
  .dl-hero-main-zei { font-size: 1.6rem; }
  .dl-hero-badges-zei { gap: 10px; }
  .dl-badge-item-zei { width: 46%; height: auto; border-radius: 10px; aspect-ratio: 1/1; }
  .dl-benefit-grid-zei { grid-template-columns: 1fr; }
  .dl-reason-img-zei { width: 65%; height: 180px; }
  .dl-reason-txt-zei { width: 100%; box-sizing: border-box; }
  .dl-table-scroll-zei { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dl-comp-table-zei { min-width: 650px; }

  
  /* Office Item */
  h3.office_name { border-bottom: 1px solid #ccc; }
  h3.office_name a { font-size: 120%; font-weight: normal; color: #333333; }
  .top_office p { font-size: 110%; }
  .office_item { justify-content: flex-start; display: flex; }
  .office_item a { display: block; color: #020633; text-decoration: none; margin: 0 5px; width: 50%; }
  .office_item .office_dtl {
    position: relative;
    padding: 20px 15px 20px 15px;
    background-color: #ffffff;
    font-size: 110%;
    text-align: center;
    border: 1px solid;
  }
  
  .koe23 { display: flex;
        flex-direction: column-reverse; }
  .koe24 { display: block; }
  .koe23 img { width: 100%; }
  .koe24 img { width: 100%; }
}

@media (max-width: 650px) {
  .hero-right{width: 60%}
  }

@media (max-width: 500px) {
.dl-reason-img-zei { width: 100%; height: 180px; }
.hero-right{width: 80%}
}


