/* ===== Category Page v3 Styles ===== */
/* v3専用の差分スタイル。v2共通CSSの上に追加で読み込む */
/* すべて .category-v3 / .v3- プレフィックスでスコープ */

/* ===== Page Container ===== */
.category-v3 {
  background: var(--bg-cream);
  padding-bottom: 80px;
}

/* ===== Topbar ===== */
.v3-topbar {
  background: var(--bg-beige);
  border-bottom: 1px solid var(--bg-greige);
  font-size: .7rem;
  color: var(--text-light);
  padding: 6px 0;
}
.v3-topbar-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.v3-topbar a {
  color: var(--text-light);
  text-decoration: none;
}
.v3-topbar a:hover {
  color: var(--lavender);
}

/* ===== FV (Lightweight Hero) ===== */
.v3-fv {
  background: linear-gradient(180deg, var(--lavender-pale) 0%, var(--bg-cream) 100%);
  padding: 1.5rem 1rem 0 1rem;
}
.v3-fv-inner {
  max-width: 680px;
  margin: 0 auto;
}
.v3-fv-category {
  font-size: .72rem;
  color: var(--lavender);
  font-weight: 600;
  margin-bottom: .3rem;
}
.v3-fv h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .5rem;
}
.v3-fv-sub {
  font-size: .88rem;
  color: var(--text-medium);
  line-height: 1.8;
}
/* ===== Buttons ===== */
.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
}
.v3-btn:hover { text-decoration: none; }
.v3-btn--primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: var(--white);
  box-shadow: 0 3px 12px rgba(232,180,168,.3);
}
.v3-btn--primary:hover {
  box-shadow: 0 5px 18px rgba(232,180,168,.4);
  transform: translateY(-1px);
}
.v3-btn--secondary {
  background: var(--white);
  color: var(--text-medium);
  border: 1px solid var(--bg-greige);
  box-shadow: 0 2px 6px var(--shadow);
}
.v3-btn--secondary:hover {
  background: var(--lavender-pale);
  border-color: var(--lavender-light);
}
.v3-btn--sm {
  padding: .55rem 1rem;
  font-size: .8rem;
  border-radius: 8px;
}

/* ===== Content Area ===== */
.v3-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Situation Chips ===== */
.v3-situation {
  padding: 1rem 0 .5rem;
}
.v3-situation-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-medium);
  margin-bottom: .5rem;
}
.v3-chips {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.v3-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--white);
  border: 1px solid var(--bg-greige);
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: all .2s;
}
.v3-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavender-light);
  flex-shrink: 0;
}
.v3-chip:hover {
  background: var(--lavender-pale);
  border-color: var(--lavender-light);
  color: var(--lavender);
  text-decoration: none;
}

/* ===== List Section ===== */
.v3-list-section {
  padding: 1.2rem 0 2rem;
}
.v3-list-section h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .6rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--lavender-pale);
}

/* ===== Toolbar ===== */
.v3-toolbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
  padding: .6rem 0;
}
.v3-toolbar-group {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
}
.v3-sort-box {
  display: inline-block;
  background: var(--bg-beige);
  border: 1px solid var(--bg-greige);
  border-radius: 6px;
  padding: .4rem .6rem;
  font-size: .72rem;
  color: var(--text-medium);
  font-family: inherit;
  text-decoration: none;
  transition: all .2s;
}
.v3-sort-box:hover {
  border-color: var(--lavender-light);
  color: var(--lavender);
  text-decoration: none;
}
.v3-sort-box.is-active {
  background: var(--lavender-pale);
  border-color: var(--lavender-light);
  color: var(--lavender);
  font-weight: 600;
}

/* ===== Teller Cards ===== */
.v3-cards {
  display: grid;
  gap: .8rem;
}
.v3-tcard {
  background: var(--white);
  border: 1px solid var(--bg-greige);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: box-shadow .25s;
}
.v3-tcard:hover {
  box-shadow: 0 6px 20px var(--shadow);
}
.v3-tcard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: .5rem;
}
.v3-tcard-head-left {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.v3-tcard-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.v3-tcard-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.v3-tcard-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .15rem;
}
.v3-tcard-service {
  color: var(--text-light);
  font-size: .75rem;
}
.v3-tcard-score {
  text-align: right;
  min-width: 80px;
}
.v3-tcard-score-num {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lavender);
}
.v3-tcard-score-count {
  font-size: .68rem;
  color: var(--text-light);
}

/* Pills */
.v3-tcard-pills {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  margin: .5rem 0 .7rem;
}
.v3-pill {
  font-size: .68rem;
  font-weight: 500;
  background: var(--bg-beige);
  border: 1px solid var(--bg-greige);
  border-radius: 999px;
  padding: .25rem .6rem;
}
.v3-pill--accent {
  background: var(--lavender-pale);
  border-color: var(--lavender-light);
  color: var(--lavender);
  font-weight: 600;
}

/* Price */
.v3-tcard-price {
  font-size: .78rem;
  color: var(--text-medium);
  margin-bottom: .5rem;
}

/* Quote */
.v3-tcard-quote {
  background: var(--bg-beige);
  border-left: 3px solid var(--lavender-light);
  border-radius: 0 8px 8px 0;
  padding: .6rem .8rem;
  margin-top: .4rem;
  font-size: .8rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: italic;
}

/* Card Footer */
.v3-tcard-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: .7rem;
  padding-top: .6rem;
  border-top: 1px solid var(--bg-greige);
}

/* Mid CTA */
.v3-mid-cta {
  background: var(--lavender-pale);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  font-size: .85rem;
  color: var(--text-medium);
}
.v3-mid-cta a {
  color: var(--lavender);
  font-weight: 600;
}

/* No Results */
.v3-no-results {
  text-align: center;
  padding: 2rem;
  color: var(--text-medium);
}

/* ===== Assist Section ===== */
.v3-assist {
  padding: 1.5rem 0;
}
.v3-assist-card {
  background: var(--white);
  border: 1px solid var(--bg-greige);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: 0 2px 8px var(--shadow);
}
.v3-assist-card h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .3rem;
}
.v3-assist-sub {
  font-size: .82rem;
  color: var(--text-medium);
  margin-bottom: .8rem;
}
.v3-assist-btns {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

/* ===== Section (共通) ===== */
.v3-section {
  padding: 1.5rem 0;
}
.v3-section h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .7rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--lavender-pale);
}

/* Two Column Layout */
.v3-two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
}

/* Link Card */
.v3-lcard {
  background: var(--white);
  border: 1px solid var(--bg-greige);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px var(--shadow);
}
.v3-lcard + .v3-lcard {
  margin-top: .6rem;
}
.v3-lcard h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .3rem;
  line-height: 1.5;
  padding-left: .7rem;
  border-left: 3px solid var(--lavender);
}
.v3-lcard p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* Link List */
.v3-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v3-link-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--bg-greige);
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}
.v3-link-list li:last-child { border-bottom: none; }
.v3-link-list li::before {
  content: '›';
  color: var(--lavender-light);
  font-weight: 700;
  font-size: 1rem;
}
.v3-link-list li a {
  color: inherit;
  text-decoration: none;
}
.v3-link-list li:hover { color: var(--lavender); }

/* ===== FAQ ===== */
.v3-faq-item {
  border-bottom: 1px solid var(--bg-greige);
}
.v3-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
}
.v3-faq-icon {
  font-size: .75rem;
  color: var(--text-light);
  transition: transform .3s;
}
.v3-faq-q.active .v3-faq-icon {
  transform: rotate(180deg);
}
.v3-faq-a {
  display: none;
  padding: 0 0 .8rem 0;
  font-size: .85rem;
  color: var(--text-medium);
  line-height: 1.8;
}
.v3-faq-a.show { display: block; }

/* Footer Note */
.v3-footer-note {
  font-size: .75rem;
  color: var(--text-light);
  line-height: 1.9;
}
.v3-footer-note a {
  color: var(--lavender);
}

/* ===== Sticky CTA ===== */
.v3-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--bg-greige);
  padding: .6rem 1rem;
  box-shadow: 0 -4px 15px var(--shadow);
  z-index: 99;
}
.v3-sticky-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.v3-sticky-cta-info { flex: 1; }
.v3-sticky-cta-title {
  font-weight: 700;
  font-size: .78rem;
}
.v3-sticky-cta-meta {
  font-size: .68rem;
  color: var(--text-light);
}
.v3-sticky-cta-btn {
  padding: .6rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: var(--white);
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none;
  white-space: nowrap;
}
.v3-sticky-cta-btn:hover { text-decoration: none; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
  .v3-fv h1 { font-size: 1.6rem; }
  .v3-section h2, .v3-list-section h2 { font-size: 1.2rem; }
}
@media (max-width: 860px) {
  .v3-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .v3-tcard-score { text-align: left; }
  .v3-tcard-head { flex-direction: column; }
}
