/*
Theme Name: BenNavi Lawyer Search
Theme URI: https://example.com/bennavi
Author: Your Name
Author URI: https://example.com
Description: 弁護士検索・相談予約サイト用WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bennavi
Tags: lawyer, legal, consultation, booking
*/

/* ===== Base Reset & Variables ===== */
:root {
  --primary: #8b7354;
  /* Teal accent - modern and energetic */
  --primary-dark: #008C8C;
  --primary-light: #33BFBF;
  --secondary: #EDF0ED;
  /* Light grey background */
  --text-main: #2B2D2B;
  --text-muted: #5C5F5C;
  --border: #D0D3D0;
  --white: #ffffff;
  --line-green: #06c755;
  --background: #EDF0ED;
  --accent-light: #F5F7F5;
  --dark-section: #2B2D2B;
  /* Dark grey for alternating sections */
  --gradient-start: #757875;
  --gradient-end: #A5A8A5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f0f0f1;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.tracking-wide {
  letter-spacing: 0.1em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
  color: #fff;
}

.font-bold {
  font-weight: 700;
}

.font-serif {
  font-family: "Noto Serif", serif;
}

/* ===== Layout Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  padding: 5rem 0;
  background: var(--dark-section);
  color: #E8E8E8;
}

.section-dark h2,
.section-dark h3,
.section-dark .text-primary {
  color: white;
}

.section-dark .text-muted {
  color: #B8B8B8;
}

.section2 {
  padding: 1rem 10px;
}

@media (max-width: 768px) {
  .section {
    padding: 1rem 10px;
  }

  .section-dark {
    padding: 3rem 1rem;
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex: 1;
}

.gap-1 {
  gap: 0.1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

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

/* Margin Utilities */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Padding Utilities */
.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

@media (min-width: 768px) {
  .md\:p-8 {
    padding: 2rem;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Grid Utilities - Basic */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Text Colors */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-gray-300 {
  color: #D1D5DB;
}

.text-gray-400 {
  color: #9CA3AF;
}

.text-gray-500 {
  color: #6B7280;
}

.text-gray-600 {
  color: #4B5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.text-blue-600 {
  color: #2563EB;
}

.text-blue-700 {
  color: #1D4ED8;
}

.text-blue-800 {
  color: #1E40AF;
}

.text-green-600 {
  color: #059669;
}

.text-white {
  color: white;
}

/* Backgrounds */
.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: #F9FAFB;
}

.bg-gray-100 {
  background-color: #F3F4F6;
}

.bg-blue-50 {
  background-color: #EFF6FF;
}

.bg-green-100 {
  background-color: #D1FAE5;
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
}

.border-2 {
  border-width: 2px;
  border-style: solid;
  border-color: var(--border);
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-b-2 {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.border-gray-100 {
  border-color: #F3F4F6;
}

.border-gray-200 {
  border-color: #E5E7EB;
  margin-top: 1.5rem;
}

.border-primary {
  border-color: var(--primary);
}

.border-blue-100 {
  border-color: #DBEAFE;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.object-cover {
  object-fit: cover;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-32 {
  width: 8rem;
}

.h-32 {
  height: 8rem;
}

/* Responsive Utilities (Vanilla CSS Simulation of Tailwind) */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:justify-start {
    justify-content: flex-start;
  }

  .md\:items-start {
    align-items: flex-start;
  }

  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 1024px) {

  /* lg breakpoint */
  .lg\:grid {
    display: grid;
  }

  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:col-span-7 {
    grid-column: span 7 / span 7;
  }

  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .lg\:mt-0 {
    margin-top: 0;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.sticky {
  position: sticky;
}

.top-6 {
  top: 1.5rem;
}

.top-8 {
  top: 2rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-hiddenthanks {
  overflow: hidden;
  padding: 6rem 40px 1rem 30px;
}

.pt-6 {
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .overflow-hiddenthanks {
    padding: 3rem 0 1rem 0;
  }
}

/* Specific Component Styles */
.max-w-7xl {
  max-width: 80rem;
}

/* Header */
.site-header {
  background: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.site-title {
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  /* Subtle rounded corners like J-Q */
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 175, 175, 0.3);
  transform: translateY(-2px);
}

/* J-Q Style Arrow Box Button */
.btn-arrow-box {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  width: 300px;
  padding: 0;
  border-radius: 40px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-arrow-box .btn-text {
  padding: 1rem 0px 1rem 1rem;
  flex: 1;
}

.btn-arrow-box .btn-arrow {
  /*background: rgba(0, 0, 0, 0.15);*/
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-arrow-box:hover {
  box-shadow: 0 4px 12px rgba(0, 175, 175, 0.3);
  transform: translateY(-2px);
}

/*.btn-arrow-box:hover .btn-arrow {
  background: rgba(0, 0, 0, 0.25);
}*/

/* Gradient Button (J-Q Header Style) */
.btn-gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border-radius: 4px;
}

.btn-gradient:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--background);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(0, 175, 175, 0.05);
}

.btn-line {
  background: var(--line-green);
  color: white;
  border-radius: 4px;
}

.btn-line:hover {
  background: #05b34b;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 0 1rem;
}

.hero-subtitle {
  color: var(--primary);
  letter-spacing: 0.3em;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.0rem;
  }
}

.hero-text {
  color: #FFF;
  font-size: 1.1rem;
  line-height: 2;
  font-weight: 500;
  margin-bottom: 3rem;
}

/* Feature Cards */
.card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-num {
  font-size: 3rem;
  font-weight: 300;
  color: #D4CFC7;
  display: block;
  margin-bottom: 1rem;
}

.card:hover .feature-num {
  color: var(--primary);
}

/* Category Grid */
.category-item {
  background: var(--background);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.category-item:hover {
  background: #F0EBE3;
}

.category-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.category-name {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.category-item:hover .category-name {
  color: var(--primary);
}

/* Flow */
.flow-step {
  display: flex;
  gap: 1.5rem;
  /*background: white;*/
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.step-label {
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  flex-shrink: 0;
}

/* Search Filters UI */
.filter-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  gap: 0.5rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.step-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #E8E4DE;
  color: #A0998F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}

.step-circle.active {
  background: #8b7354;
  color: white;
}

.step-text {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: #A0998F;
}

.step-text.active {
  color: var(--primary);
}

.progress-line {
  width: 2rem;
  height: 2px;
  background: #E8E4DE;
  margin-top: -1.5rem;
}

.progress-line.active {
  background: var(--primary);
}

.filter-card {
  /*border: 1px solid var(--border);*/
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  max-width: 750px;
  margin: 0 auto;
}

.filter-header {
  background: #FFFFFF;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
}

.advisor-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.advisor-bubble {
  flex: 1;
}

.advisor-name {
  color: var(--primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.filter-content {
  padding: 1rem;
}

/* Filter Buttons Grid */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.filter-option {
  padding: 1rem;
  /*border: 1px solid var(--border);*/
  border-radius: 0.5rem;
  background: #F3F3F3;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.filter-option:hover {
  border-color: var(--primary);
  background: #8b7354;
  color: #fff;
}

.filter-option.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Lawyer List */
.lawyer-card-container {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.lawyer-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

@media (min-width: 768px) {
  .lawyer-card {
    flex-direction: row;
  }
}

.lawyer-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.lawyer-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
}

@media (min-width: 768px) {
  .lawyer-card-content {
    flex-direction: row;
  }
}

.lawyer-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
}

.lawyer-info {
  flex: 1;
}

.lawyer-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .lawyer-actions {
    width: 200px;
    margin-left: auto;
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: var(--accent-light);
  color: var(--text-muted);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.875rem;
  margin: 0 1rem;
}

.footer-links a:hover {
  color: white;
}

/* Utilities for visibility */
.hidden {
  display: none !important;
}

/* Contact Form 7 Overrides (Minimal) */
div.wpcf7-response-output {
  margin: 1em 0;
  padding: 0.5em 1em;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

/* Contact Form 7 (Design) */
/* 全体ラップ */
.cf7-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* 各ブロック */
.cf7-group {
  margin-bottom: 24px;
}

/* ラベル */
.cf7-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

/* 入力欄共通 */
.cf7-input input,
.cf7-input select,
.cf7-input textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  box-sizing: border-box;
  background: #fff;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* テキストエリア */
.cf7-input textarea {
  min-height: 120px;
  resize: vertical;
}

/* フォーカス時 */
.cf7-input input:focus,
.cf7-input select:focus,
.cf7-input textarea:focus {
  outline: none;
  border-color: #999;
}

/* ラジオボタン */
.cf7-radio {
  display: flex;
  gap: 24px;
}

.cf7-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}

/* プライバシーポリシー同意 */
.cf7-consent {
  margin: 32px 0 16px;
}

.cf7-consent .wpcf7-list-item {
  margin: 0;
}

.cf7-consent label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

/* 必須・任意タグ共通 */
.cf7-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.4;
}

/* 必須 */
.tag.required {
  background: #222;
  color: #fff;
}

/* 任意 */
.tag.optional {
  background: #eee;
  color: #666;
}


/* 送信ボタン */
.cf7-submit input[type="submit"] {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: #1f1f1f;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cf7-submit input[type="submit"]:hover {
  opacity: 0.9;
}

/* ワンポイント付きボックス */
.cstm-box-pin {
  margin: 0.4em auto;
  /* 外側余白 */
  padding: 1em;
  /* 内側余白 */
  position: relative;
  /* 擬似要素配置の基準 */
  border: 8px solid #eee;
  /* 枠線（太さ・種類・色） */
  z-index: 0;
  /* 重なり順 */
  max-width: 800px;
  /* 最大幅 */
}

.cstm-box-pin::before {
  content: '';
  /* 擬似要素にコンテンツなし */
  display: block;
  /* ブロック要素として表示 */
  position: absolute;
  /* 絶対位置指定 */
  top: -8px;
  /* 上に配置 */
  left: -8px;
  /* 左に配置 */
  width: 8px;
  /* サイズ（幅） */
  height: 8px;
  /* サイズ（高さ） */
  background-color: #cca497;
  /* ワンポイントの色 */
  z-index: 1;
  /* 前面に表示 */
}

/* 段落の余白リセット */
.cstm-box-pin p {
  margin: 0;
}

/* Prose (Typography) Styles */
.prose p {
  margin-bottom: 20px;
}

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

/* Features Section Styles */
.features-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

@media (min-width: 768px) {
  .features-section {
    padding: 8rem 0;
  }
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.features-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.features-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.features-label-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #6b7280;
  font-weight: 500;
}

.features-label-line {
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}

.features-heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .features-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .features-heading {
    font-size: 3rem;
  }
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.feature-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-number {
  color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
  color: #0f172a;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.feature-description {
  color: #6b7280;
  line-height: 1.625;
  margin: 0;
}

/* Category Section Styles */
.category-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .category-section {
    padding: 8rem 0;
  }
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.category-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.category-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-label-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #6b7280;
  font-weight: 500;
}

.category-label-line {
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}

.category-heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .category-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .category-heading {
    font-size: 3rem;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.category-card {
  background-color: #f8f9fa;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .category-card {
    padding: 2rem;
  }
}

.category-card:hover {
  background-color: #0f172a;
}

.category-card:hover .category-icon {
  color: #ffffff;
}

.category-card:hover .category-title {
  color: #ffffff;
}

.category-card:hover .category-description {
  color: rgba(255, 255, 255, 0.7);
}

.category-icon {
  display: inline-block;
  color: #0f172a;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.category-icon svg {
  width: 2rem;
  height: 2rem;
}

.category-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.category-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  transition: color 0.3s ease;
}

/* Flow Section Styles */
.flow-section {
  padding: 6rem 0;
  background-color: #0f172a;
  color: #f8f9fa;
}

@media (min-width: 768px) {
  .flow-section {
    padding: 8rem 0;
  }
}

.flow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flow-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.flow-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.flow-label-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(248, 249, 250, 0.6);
  font-weight: 500;
}

.flow-label-line {
  flex: 1;
  height: 1px;
  background-color: rgba(248, 249, 250, 0.2);
}

.flow-heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f8f9fa;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .flow-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .flow-heading {
    font-size: 3rem;
  }
}

.flow-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}


.flow-step-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.flow-step-number {
  font-size: 3.75rem;
  font-weight: 700;
  color: rgba(248, 249, 250, 0.1);
  line-height: 1;
}

@media (min-width: 768px) {
  .flow-step-number {
    font-size: 4.5rem;
  }
}

.flow-step-text {
  padding-top: 1rem;
}

.flow-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8f9fa;
  margin-bottom: 0.75rem;
}

.flow-step-description {
  color: rgba(248, 249, 250, 0.7);
  line-height: 1.625;
  margin: 0;
}

.flow-step-connector {
  display: none;
}

@media (min-width: 768px) {
  .flow-step-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 3rem;
    height: 1px;
    background-color: rgba(248, 249, 250, 0.2);
  }
}

/* Terms Hero Section Styles */
.terms-hero-section {
  padding: 4rem 0;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .terms-hero-section {
    padding: 6rem 0 4rem 0;
  }
}

.terms-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.terms-hero-inner {
  max-width: 56rem;
}

.terms-hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #6b7280;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.terms-hero-heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0;
}

@media (min-width: 768px) {
  .terms-hero-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .terms-hero-heading {
    font-size: 3rem;
  }
}

/* Terms Content Section Styles */
.terms-content-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .terms-content-section {
    padding: 4rem 0;
  }
}

.terms-content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.terms-content-inner {
  width: 100%;
}

.terms-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.terms-intro {
  color: #0f172a;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.terms-articles {
  margin-bottom: 4rem;
}

.terms-article {
  margin-bottom: 3rem;
}

.terms-article-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.terms-article-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(107, 114, 128, 0.3);
}

.terms-article-content {
  color: #6b7280;
  line-height: 1.75;
}

.terms-article-content p {
  margin-bottom: 1rem;
}

.terms-article-content p:last-child {
  margin-bottom: 0;
}

.terms-article-content ul {
  list-style-type: disc;
  list-style-position: inside;
  margin-top: 1rem;
}

.terms-article-content ul li {
  margin-bottom: 0.5rem;
}

.terms-contact {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.terms-contact-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.terms-contact-box {
  background-color: #f8f9fa;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .terms-contact-box {
    padding: 2rem;
  }
}

.terms-contact-box p {
  color: #6b7280;
  line-height: 1.75;
  margin: 0 0 0.5rem 0;
}

.terms-contact-box p:last-child {
  margin-bottom: 0;
}

/* Search Section Styles */
.search-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

@media (min-width: 768px) {
  .search-section {
    padding: 8rem 0;
  }
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.search-inner {
  width: 100%;
  margin: 0 auto;
}

.search-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.search-label-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #6b7280;
  font-weight: 500;
}

.search-label-line {
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}

.search-heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .search-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .search-heading {
    font-size: 3rem;
  }
}

.search-description {
  color: #6b7280;
  margin-bottom: 3rem;
}

.search-form {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .search-form {
    padding: 3rem;
  }
}

.search-step {
  margin-bottom: 2.5rem;
}

.search-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.search-step-title {
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.search-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .search-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.search-options-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-option {
  cursor: pointer;
}

.search-option-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.search-option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: #f8f9fa;
  color: #0f172a;
  transition: all 0.2s ease;
}

.search-option-input:checked+.search-option-label {
  background-color: #0f172a;
  color: #ffffff;
}

.search-option-label:hover {
  background-color: #e5e7eb;
}

.search-option-input:checked+.search-option-label:hover {
  background-color: #1e293b;
}

.search-option-check {
  display: none;
  width: 1rem;
  height: 1rem;
}

.search-option--checkbox .search-option-input:checked+.search-option-label .search-option-check {
  display: block;
}

.search-submit {
  width: 100%;
  background-color: #0f172a;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease;
}

.search-submit:hover {
  background-color: #1e293b;
}

.search-submit-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.search-submit:hover .search-submit-arrow {
  transform: translateX(0.25rem);
}

/* Checkbox Selection Style */
.filter-option:has(input:checked),
.filter-option.selected {
  background-color: #8b7354;
  color: #ffffff !important;
  border-color: #8b7354;
}

.filter-option:has(input:checked) span,
.filter-option.selected span {
  color: #ffffff;
}
/* About Section Styles */
.about-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .about-section {
        padding: 8rem 0;
    }
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.about-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.about-label-text {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: #6b7280;
    font-weight: 500;
}

.about-label-line {
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }
}

.about-heading {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .about-heading {
        font-size: 3rem;
    }
}

.about-text {
    color: #6b7280;
    line-height: 1.625;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #f3f4f6;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-decoration {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    background-color: #f8f9fa;
    border-radius: 1rem;
    z-index: -1;
}

/* ===== Lawyer Single Page Table Styles ===== */
.lawyer-info-table th {
    width: 25%; /* SP (mobile) default */
}
.wp-block-list{
margin-bottom: 2rem;margin-top: 1rem;padding: 0 0 0 0.9rem;}

@media (min-width: 768px) {
    .lawyer-info-table th {
        width: 20%; /* PC (tablet and above) */
    }
}
