/* ============================================
   相続税申告ページ固有スタイル
   ============================================ */

/* --- Hero --- */
.inh-hero {
  background: linear-gradient(135deg, #f5f8fd 0%, #eaedfb 100%);
  padding: 40px 0 60px;
}

.inh-hero__breadcrumb {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.inh-hero__breadcrumb a {
  color: var(--text-gray);
}

.inh-hero__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-black);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 40px;
}

.inh-hero__worries {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.inh-hero__worry {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  flex: 1;
  max-width: 240px;
}

.inh-hero__lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-black);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Promise --- */
.promise {
  background: var(--bg-white);
  padding: 80px 0;
}

.promise__sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promise__card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.promise__card-icon {
  margin-bottom: 16px;
}

.promise__card-icon img {
  margin: 0 auto;
}

.promise__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.promise__card-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-black);
  text-align: left;
}

/* --- Not Offered --- */
.not-offered {
  background: var(--bg-page);
  padding: 60px 0;
}

.not-offered__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.not-offered__sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-black);
  margin-bottom: 32px;
}

.not-offered__heading {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 20px;
}

.not-offered__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.not-offered__item {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-full);
  padding: 10px 16px 10px 40px;
  font-size: 15px;
  color: var(--text-black);
  position: relative;
}

.not-offered__item::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #e74c3c;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Video --- */
.video-section {
  background: var(--bg-white);
  padding: 60px 0;
}

.video-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.video-card__thumb {
  background: #d9d9d9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.video-section__seminar {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 15px;
  line-height: 1.8;
}

.video-section__seminar p {
  margin-bottom: 8px;
}

.video-section__seminar p:last-child {
  margin-bottom: 0;
}

/* --- Target --- */
.inh-target {
  background: var(--bg-page);
  padding: 80px 0;
}

.inh-target__heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.5;
}

.inh-target__list {
  max-width: 600px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inh-target__list li {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  padding-left: 48px;
}

.inh-target__list li::before {
  content: '\2713';
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 700;
}

.inh-target__notes {
  text-align: center;
}

.inh-target__notes .note {
  margin-bottom: 8px;
}

.inh-target__notes .btn {
  margin-top: 16px;
}

/* --- Service --- */
.inh-service {
  background: var(--bg-white);
  padding: 80px 0;
}

.inh-service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inh-service__card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

.inh-service__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 16px;
  text-align: center;
}

.inh-service__card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inh-service__card-list li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}

.inh-service__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
}

/* --- Group Service --- */
.group-service {
  background: var(--bg-page);
  padding: 60px 0;
}

.group-service__lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.group-service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.group-service__card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.group-service__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.group-service__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.group-service__tags span {
  background: var(--bg-light-blue);
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

/* --- Price --- */
.inh-price {
  background: var(--bg-white);
  padding: 80px 0;
}

.inh-price__table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.inh-price__examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inh-price__example {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.inh-price__example-detail {
  font-size: 15px;
  margin-bottom: 4px;
}

.inh-price__example-detail strong {
  font-size: 18px;
  color: var(--text-black);
}

.inh-price__example-price {
  margin: 16px 0 8px;
}

.inh-price__example-price .price-amount {
  font-size: 36px;
}

/* --- Flow override --- */
.flow-section {
  background: var(--bg-page);
  padding: 80px 0;
}

/* --- FAQ override --- */
.faq-section {
  background: var(--bg-white);
  padding: 80px 0;
}

/* --- Utility --- */
.sp-only {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 840px) {
  .inh-hero__title {
    font-size: 28px;
  }

  .inh-hero__worries {
    flex-direction: column;
    align-items: center;
  }

  .inh-hero__worry {
    max-width: 100%;
    width: 100%;
  }

  .promise__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .inh-service__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .group-service__grid {
    grid-template-columns: 1fr;
  }

  .inh-price__examples {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .inh-target__heading {
    font-size: 26px;
  }

  .sp-only {
    display: inline;
  }
}

@media (max-width: 540px) {
  .inh-hero__title {
    font-size: 24px;
  }

  .video-section__grid {
    grid-template-columns: 1fr;
  }

  .inh-target__list li {
    font-size: 15px;
  }
}
