/* 共通スタイル */
:root {
  --primary-color: #65B688;
  --secondary-color: #95CC8A;
  --accent-color: #BBCF30;
  --text-color: #1f2937;
  --text-white: #e8e8e8;
  --text-light: #6b7280;
  --text-gray: #545557;
  --border-color: #e5e7eb;
  --background-light: #f9fafb;
  --white: #ffffff;
  --black: #000000;
  --success-color: #10b981;
  --error-color: #CE4141;

  --container-max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

/* コンテナ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: var(--box-shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: var(--box-shadow-lg);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
}

/* セクションタイトル */
.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 1rem auto 0;
}

/* ユーティリティクラス */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

/* レスポンシブヘルパー */
.hidden {
  display: none;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none;
  }
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* フォーカス時のアウトライン */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* パンくずリスト */
.breadcrumb-nav {
  background-color: var(--background-light);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--text-light);
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
  content: '＞';
  margin-left: 0.5rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb .current {
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
}

/* ページバナー画像 */
.page-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary-color);
}

.page-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(52 52 52 / 0.6), rgb(178 178 178 / 0.5));
  z-index: 2;
}

.page-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
}

.page-banner-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.page-banner-subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.page-banner-subtitle::before,
.page-banner-subtitle::after {
  content: "-";
  margin: 0 5px;
}

@media (max-width: 768px) {
  .page-banner-title {
    font-size: var(--font-size-4xl);
  }

  .page-banner-subtitle {
    font-size: var(--font-size-sm);
  }
}

/* CTAセクション */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 50%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  display: block;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://zarvid-international-law-firm.web.app/home/bg-texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  border-radius: 20px;
  z-index: 1;
  transition: all 0.3s;
}

.cta-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.cta-content p{
  position: relative;
  z-index: 10;
}

.cta-section .btn {
  position: relative;
  z-index: 10;
  margin: 1rem;
}

/* デスクトップ対応 */
@media (min-width: 1024px) {
  .cta-section {
    padding: 6rem 0;
  }
}