/* ============================================
   税理士法人松本 BASE LP Sections CSS
   WPサイト完全準拠デザイン
   ============================================ */

/* --- LP Tokens (WPサイト準拠) --- */
:root {
  --lp-orange: #F18500;
  --lp-orange-hover: #ed7900;
  --lp-gold: #C0943E;
  --lp-gold-dark: #A37D34;
  --lp-red: #9e1f1f;
  --lp-black: #231D15;
  --lp-text: #333333;
  --lp-text-sub: #666666;
  --lp-bg: #ffffff;
  --lp-bg-cream: #F8F4EE;
  --lp-bg-light: #faf8f5;
  --lp-border: #e5e5e5;
  --lp-line-green: #06C755;
  --lp-white: #ffffff;
  --lp-ff: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --lp-max-w: 1080px;
}

/* --- LP Base --- */
.lp-section {
  font-family: var(--lp-ff);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.lp-section *, .lp-section *::before, .lp-section *::after {
  box-sizing: border-box;
}
.lp-section img {
  max-width: 100%;
  height: auto;
  display: block;
}
.lp-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Fade-in Animation --- */
.lp-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Heading (WP common-ttl01 + chapter-label準拠) --- */
.lp-section-head {
  text-align: center;
  margin-bottom: 32px;
}
.lp-section-head__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-white);
  background: var(--lp-gold);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 15px;
  letter-spacing: 0.06em;
}
.lp-section-head__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--lp-black);
  line-height: 1.6;
  margin-bottom: 0;
}
.lp-section-head__title .is-orange {
  color: var(--lp-orange);
}

/* ============================================
   1. Hero Section (白背景・WP MVスタイル準拠)
   ============================================ */
.lp-hero {
  background: var(--lp-white);
  color: var(--lp-black);
  padding: 10px 20px 32px;
  text-align: center;
  overflow: hidden;
}
.lp-hero__inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  text-align: center;
}
.lp-hero__tagline {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-orange);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.lp-hero__title {
  font-size: 5.5vw;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--lp-black);
  margin-bottom: 12px;
}
.lp-hero__title span {
  color: var(--lp-orange);
}
.lp-hero__title .is-border {
  border-bottom: 3px solid var(--lp-orange);
  padding-bottom: 2px;
}
.lp-hero__sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--lp-text-sub);
  margin-bottom: 24px;
}
.lp-hero__image {
  margin: 0 auto;
  max-width: 780px;
}
.lp-hero__image img {
  margin: 0 auto;
}
.lp-hero__image .pc-only { display: none; }
.lp-hero__image .sp-only { display: block; }
.lp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.lp-hero__badge {
  background: var(--lp-bg-cream);
  border: 1px solid var(--lp-gold);
  border-radius: 5px;
  padding: 12px 16px;
  text-align: center;
  flex: 1;
  min-width: 130px;
}
.lp-hero__badge-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-orange);
  line-height: 1.2;
}
.lp-hero__badge-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--lp-text-sub);
  margin-top: 4px;
}

@media(min-width: 769px) {
  .lp-hero {
    padding: 60px 20px 48px;
    text-align: left;
  }
  .lp-hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
  }
  .lp-hero__content {
    flex: 1;
  }
  .lp-hero__title {
    font-size: 32px;
  }
  .lp-hero__image {
    flex: 0 0 400px;
  }
  .lp-hero__image .pc-only { display: block; }
  .lp-hero__image .sp-only { display: none; }
  .lp-hero__badges {
    justify-content: flex-start;
  }
}

/* ============================================
   Divider (ゴールドライン)
   ============================================ */
.lp-divider {
  height: 3px;
  background: var(--lp-gold);
}

/* ============================================
   CTA Section (WP o-cta / service_cta準拠)
   ============================================ */
.lp-cta {
  background: var(--lp-orange);
  color: var(--lp-white);
  padding: 40px 20px;
  text-align: center;
}
/* --- 無料相談券バナー --- */
.lp-cta__bonus {
  background: var(--lp-white);
  color: var(--lp-black);
  border: 3px solid var(--lp-gold);
  border-radius: 5px;
  padding: 16px 20px;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.lp-cta__bonus-main {
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-orange);
  line-height: 1.4;
  margin: 0 0 4px;
}
.lp-cta__bonus-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--lp-text-sub);
  margin: 0;
}
@media(min-width: 769px) {
  .lp-cta__bonus-main {
    font-size: 24px;
  }
}
.lp-cta__inner {
  max-width: 720px;
  margin: 0 auto;
}
.lp-cta__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
.lp-cta__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
}
.lp-cta__phone {
  margin-bottom: 16px;
}
.lp-cta__phone-num {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lp-white);
  text-decoration: none;
}
.lp-cta__phone-note {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}
.lp-cta__phone-info {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-cta__phone-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-orange);
  background: var(--lp-white);
  padding: 4px 12px;
  border-radius: 3px;
}
.lp-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  margin: 0 auto;
}
.lp-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.lp-cta__btn--mail {
  background: var(--lp-white);
  color: var(--lp-orange);
}
.lp-cta__btn--line {
  background: var(--lp-line-green);
  color: var(--lp-white);
}
.lp-cta__btn--tel {
  background: var(--lp-black);
  color: var(--lp-white);
}
.lp-cta__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media(min-width: 769px) {
  .lp-cta { padding: 48px 20px; }
  .lp-cta__phone-num { font-size: 40px; }
  .lp-cta__buttons {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }
  .lp-cta__btn {
    flex: 0 0 auto;
    min-width: 200px;
  }
}

/* ============================================
   Team Section (国税OB税理士 WP expert-team準拠)
   ============================================ */
.lp-team {
  background: var(--lp-bg);
  border-top: 3px solid var(--lp-gold);
  padding: 60px 20px;
}
.lp-team__inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
}
.lp-team__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.lp-team__stat {
  text-align: center;
}
.lp-team__stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--lp-orange);
  line-height: 1.2;
}
.lp-team__stat-unit {
  font-size: 16px;
}
.lp-team__stat-label {
  display: block;
  font-size: 12px;
  color: var(--lp-text-sub);
  margin-top: 4px;
}
.lp-team__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--lp-text-sub);
  text-align: center;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.lp-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.lp-team__card {
  background: var(--lp-bg-cream);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  padding: 16px 12px;
}
.lp-team__card-img {
  width: 130px;
  object-fit: cover;
  margin: 0 auto 10px;
}
.lp-team__card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-black);
  margin-bottom: 4px;
}
.lp-team__card-title {
  font-size: 11px;
  color: var(--lp-text-sub);
}
.lp-team__card-ob {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--lp-white);
  background: var(--lp-orange);
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

@media(min-width: 481px) {
  .lp-team__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media(min-width: 769px) {
  .lp-team { padding: 80px 20px; }
  .lp-team__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .lp-team__card { padding: 20px 16px; }
  .lp-team__card-img {
    width: 150px;
  }
}
@media(min-width: 1024px) {
  .lp-team__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ============================================
   Evidence Section (白背景・WP準拠)
   ============================================ */
.lp-evidence {
  background: var(--lp-bg);
  padding: 60px 20px;
}
.lp-evidence__inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
}
.lp-evidence__docs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}
.lp-evidence__docs img {
  width: 45%;
  max-width: 280px;
  border-radius: 3px;
}
.lp-worries {
  background: var(--lp-bg-cream);
  border-top: 3px solid var(--lp-gold);
  border-radius: 0;
  padding: 32px 20px;
}
.lp-worries__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-black);
  text-align: center;
  margin-bottom: 20px;
}
.lp-worries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lp-worries__list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lp-text);
  padding-left: 24px;
  position: relative;
}
.lp-worries__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-orange);
  font-weight: 700;
}
.lp-worries__list li .is-red {
  color: var(--lp-red);
  background: linear-gradient(transparent 50%, rgba(198, 1, 9, 0.12) 50%);
}

@media(min-width: 769px) {
  .lp-evidence { padding: 80px 20px; }
  .lp-section-head__title { font-size: 26px; }
  .lp-worries__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   Service Features Section (WP準拠)
   ============================================ */
.lp-features {
  background: var(--lp-bg-cream);
  border-top: 3px solid var(--lp-gold);
  padding: 60px 20px;
}
.lp-features__inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
}
.lp-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.lp-feature-card {
  background: var(--lp-white);
  border-radius: 5px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--lp-border);
}
.lp-feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lp-gold);
  color: var(--lp-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.lp-feature-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-black);
  margin-bottom: 10px;
  line-height: 1.5;
}
.lp-feature-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--lp-text-sub);
}

@media(min-width: 769px) {
  .lp-features { padding: 80px 20px; }
  .lp-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ============================================
   Comparison Table Section (WP comparison-table準拠)
   ============================================ */
.lp-compare {
  background: var(--lp-bg);
  padding: 60px 20px;
}
.lp-compare__inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
}
.lp-compare__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 8px;
}
.lp-compare__table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 14px;
}
.lp-compare__table th,
.lp-compare__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--lp-border);
  vertical-align: top;
  line-height: 1.6;
}
.lp-compare__table thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--lp-black);
  white-space: nowrap;
  background: var(--lp-bg-cream);
}
.lp-compare__table thead th:nth-child(2) {
  color: var(--lp-orange);
  background: rgba(241,133,0,0.08);
}
.lp-compare__table tbody td:first-child {
  font-weight: 700;
  color: var(--lp-black);
  white-space: nowrap;
}
.lp-compare__table tbody td:nth-child(2) {
  color: var(--lp-orange);
  font-weight: 700;
}
.lp-compare__table tbody td:nth-child(3) {
  color: var(--lp-text-sub);
}
.lp-compare__table tbody tr:nth-child(even) {
  background: var(--lp-bg-cream);
}

@media(min-width: 769px) {
  .lp-compare { padding: 80px 20px; }
  .lp-compare__table { font-size: 15px; }
  .lp-compare__table th,
  .lp-compare__table td { padding: 18px 24px; }
}
