/* ============================================
   税務顧問・税務申告ページ固有スタイル
   ============================================ */

/* --- Page Hero --- */
.page-hero {
  background: linear-gradient(rgba(71, 85, 204, 0.08), rgba(71, 85, 204, 0.03));
  padding: 80px 24px 60px;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-black);
  display: inline-block;
  padding: 8px 32px;
  background: rgba(217, 217, 217, 0.4);
}

/* --- Page Nav --- */
.page-nav {
  background: var(--bg-white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 70px;
  z-index: 100;
}

.page-nav__list {
  display: flex;
  justify-content: center;
  gap: 0;
}

.page-nav__item {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-black);
  border: 1px solid #e0e0e0;
  border-bottom: none;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
}

.page-nav__item:hover {
  background: var(--bg-light-blue);
  color: var(--brand-blue);
  opacity: 1;
}

/* --- Target Section --- */
.target-section {
  background: var(--bg-white);
  padding: 80px 0;
}

.target-section__lead {
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-black);
  margin-bottom: 48px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

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

.target-card {
  background: var(--accent-blue-light);
  border: 1px solid rgba(69, 169, 251, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.target-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.target-card__icon img {
  width: 50px;
  height: 50px;
}

.target-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.6;
  margin-bottom: 12px;
}

.target-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-black);
}

/* --- Service Detail --- */
.service-detail {
  background: var(--bg-page);
  padding: 80px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-item {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  display: flex;
  overflow: hidden;
}

.service-item__image {
  flex-shrink: 0;
  width: 180px;
  background: #d9d9d9;
}

.service-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item__content {
  padding: 24px;
  flex: 1;
}

.service-item__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 12px;
}

.service-item__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-black);
}

.service-partner {
  text-align: center;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid #e0e0e0;
}

.service-partner__text {
  font-size: 18px;
  line-height: 1.8;
}

.text-light {
  font-size: 16px;
  color: var(--text-gray);
}

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

.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.strength-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.strength-item:nth-child(even) {
  flex-direction: row-reverse;
}

.strength-item__image {
  flex-shrink: 0;
  width: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #d9d9d9;
}

.strength-item__image img {
  width: 100%;
  height: auto;
  min-height: 200px;
}

.strength-item__content {
  flex: 1;
}

.strength-item__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 16px;
  line-height: 1.5;
}

.strength-item__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-black);
}

.strength-item__note {
  margin-top: 12px;
}

/* --- Price Section --- */
.price-section {
  background: var(--bg-page);
  padding: 80px 0;
}

.price-section__table-wrap {
  overflow-x: auto;
}

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

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

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

  .page-nav__list {
    flex-wrap: wrap;
  }

  .page-nav__item {
    padding: 14px 16px;
    font-size: 14px;
    flex: 1;
    min-width: 120px;
  }

  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    flex-direction: column;
  }

  .service-item__image {
    width: 100%;
    height: 180px;
  }

  .strength-item,
  .strength-item:nth-child(even) {
    flex-direction: column;
  }

  .strength-item__image {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 540px) {
  .page-hero {
    padding: 60px 24px 40px;
  }

  .page-hero__title {
    font-size: 22px;
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .target-section__lead {
    font-size: 15px;
  }

  .page-nav__item {
    font-size: 13px;
    padding: 12px 8px;
  }

  .strength-item__title {
    font-size: 20px;
  }
}
