/*
Theme Name: Chatbot Proposal LP
Theme URI: https://example.com
Description: ChatBot制作代行サービスを提供し、顧客満足度向上に寄与します。また、機会損失を低減させることについて期待できます。
Author: TEDIT
Author URI: https://example.com
Version: 5.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chatbot-proposal
*/

/* ============================================
   リセット & ベーススタイル
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #26251e;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   CSS変数（カラーパレット）
   ============================================ */
:root {
  /* 背景色 */
  --color-background: #f5f5f5;
  --color-foreground: #26251e;
  
  /* カード */
  --color-card: #ffffff;
  --color-card-foreground: #26251e;
  
  /* プライマリ */
  --color-primary: #26251e;
  --color-primary-foreground: #ffffff;
  
  /* セカンダリ */
  --color-secondary: #e5e5e5;
  --color-secondary-foreground: #26251e;
  
  /* ミュート */
  --color-muted: #f5f5f5;
  --color-muted-foreground: #666666;
  
  /* アクセント */
  --color-accent: #f0f0f0;
  --color-accent-foreground: #26251e;
  
  /* 破壊的（エラーなど） */
  --color-destructive: #ef4444;
  --color-destructive-foreground: #ffffff;
  
  /* ボーダー */
  --color-border: #e5e5e5;
  --color-input: #e5e5e5;
  --color-ring: #26251e;
  
  /* 角丸 */
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  
  /* フォント */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   タイポグラフィ
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary);
  opacity: 0.8;
}

/* ============================================
   コンテナ（BEM形式）
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ============================================
   ヘッダー（BEM形式）
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease-in-out;
  background-color: transparent;
  padding: 1.5rem 0;
}

.header--scrolled {
  background-color: rgba(245, 245, 245, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-foreground);
}

.header__logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
  box-shadow: 0 4px 6px rgba(38, 37, 30, 0.2);
  transition: all 0.5s ease;
}

.header--scrolled .header__logo-icon {
  width: 2rem;
  height: 2rem;
}

.header__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: all 0.5s ease;
}

.header--scrolled .header__logo-text {
  font-size: 1.25rem;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

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

.header__nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__button {
  display: none;
}

@media (min-width: 1024px) {
  .header__button {
    display: inline-block;
  }
}

/* ハンバーガーメニュー：スマホ・タブレットで表示、PCで非表示 */
.header__menu-toggle {
  display: block;
}

/* PCサイズ（1024px以上）では非表示 */
@media (min-width: 1024px) {
  .header__menu-toggle {
    display: none !important;
  }
}

/* ============================================
   ボタン（BEM形式）
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* キラリと光るエフェクト */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: 0 4px 6px rgba(38, 37, 30, 0.2);
}

.btn--primary:hover {
  background-color: rgba(38, 37, 30, 0.9);
  color: var(--color-primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(38, 37, 30, 0.3);
}

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

.btn--outline:hover {
  background-color: var(--color-muted);
  color: var(--color-foreground);
}

.btn--xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ============================================
   ヒーローセクション（BEM形式）
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-background);
  padding-top: 8rem;
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 12rem;
    padding-bottom: 10rem;
  }
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  background-image: 
    linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero__aurora {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  pointer-events: none;
  will-change: opacity, transform;
  animation: aurora 15s ease infinite alternate;
  transform: translateZ(0); /* GPU加速 */
}

.hero__aurora--top-left {
  top: -20%;
  left: -10%;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.4), rgba(147, 51, 234, 0.4));
  filter: blur(120px);
}

.hero__aurora--bottom-right {
  bottom: -20%;
  right: -10%;
  background: linear-gradient(to left, rgba(103, 73, 252, 0.4), rgba(103, 73, 252, 0.3));
  filter: blur(120px);
}

@keyframes aurora {
  0% {
    background-position: 0% 50%;
    opacity: 0.5;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.7;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.5;
  }
}

.hero__content {
  position: relative;
  z-index: 10;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  align-self: flex-start;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #6749fc;
  margin-right: 0.5rem;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.25rem;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 5rem;
    text-align: left;
  }
}

.hero__title-gradient {
  background: linear-gradient(to right, #2563eb, #9333ea, #2563eb);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-x 3s ease infinite;
}

@keyframes gradient-x {
  0%, 100% {
    background-size: 200% 200%;
    background-position: left center;
  }
  50% {
    background-size: 200% 200%;
    background-position: right center;
  }
}

.hero__description {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  line-height: 1.75;
  font-weight: 300;
  text-align: left;
  width: 100%;
}

@media (min-width: 768px) {
  .hero__description {
    font-size: 1.5rem;
    text-align: left;
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
  align-self: flex-start;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    width: auto;
  }
}

.hero__actions-note {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-weight: 500;
}

/* ============================================
   セクション共通スタイル（BEM形式）
   ============================================ */
.section {
  padding: 6rem 0;
}

.section--muted {
  background-color: rgba(245, 245, 245, 0.3);
}

.section__header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.section__description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
}

/* ============================================
   カード（BEM形式）
   ============================================ */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card__header {
  margin-bottom: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card__description {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.card__content {
  margin-bottom: 1.5rem;
}

.card__footer {
  margin-top: auto;
}

/* ============================================
   グリッド（BEM形式）
   ============================================ */
.grid {
  display: grid;
  gap: 2rem;
}

.section#features .grid--cols-2 {
  gap: 4rem;
}

@media (min-width: 1024px) {
  .section#features .grid--cols-2 {
    gap: 6rem;
  }
}

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

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

@media (min-width: 1024px) {
  .grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   問題セクション（BEM形式）
   ============================================ */
.problem-card {
  background-color: var(--color-background);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.problem-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.problem-card__icon-bg {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.05;
  transition: opacity 0.3s ease;
}

.problem-card:hover .problem-card__icon-bg {
  opacity: 0.1;
}

.problem-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(38, 37, 30, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.problem-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.problem-card__description {
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  min-height: 80px;
}

.problem-card__stats {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.problem-card__stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-destructive);
  margin-bottom: 0.25rem;
}

.problem-card__stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
}

/* ============================================
   フッター（BEM形式）
   ============================================ */
.footer {
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

.footer__inner {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer__brand {
    grid-column: span 2;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
}

.footer__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer__description {
  color: var(--color-muted-foreground);
  max-width: 24rem;
}

.footer__title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

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

.footer__link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

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

/* ============================================
   ユーティリティクラス
   ============================================ */
.text-center {
  text-align: center;
}

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

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

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

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

/* ============================================
   アニメーション
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) translateZ(0); /* GPU加速 */
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0); /* GPU加速 */
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px) translateZ(0); /* GPU加速 */
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up--visible {
  opacity: 1 !important;
  transform: translateY(0) translateZ(0) !important; /* GPU加速 */
}

/* ============================================
   モバイルメニュー（BEM形式）
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none;
}

.mobile-menu--open {
  display: block;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mobile-menu__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 90vw;
  background-color: var(--color-background);
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu__logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
}

.mobile-menu__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-menu__close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-foreground);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.mobile-menu__close:hover {
  transform: scale(1.2);
}

.mobile-menu__close:active {
  transform: scale(0.95);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--color-foreground);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.mobile-menu__link:hover {
  background-color: var(--color-muted);
  transform: translateX(4px);
}

.mobile-menu__link-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(38, 37, 30, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.mobile-menu__link-text {
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 2rem;
}

.mobile-menu__cta {
  width: 100%;
}

/* ============================================
   ヒーローセクション追加スタイル（BEM形式）
   ============================================ */
.hero__mockup {
  position: relative;
  width: 66.67%;
  max-width: 37.33rem;
  margin: 4rem auto 0;
  margin-left: auto;
  margin-right: 0;
}

.hero__mockup-container {
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.hero__mockup-header {
  background-color: rgba(249, 250, 251, 0.5);
  padding: 0.75rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.hero__mockup-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: #d1d5db;
}

.hero__mockup-title {
  font-size: 0.625rem;
  font-weight: 500;
  color: #9ca3af;
  font-family: monospace;
  margin-left: 0.5rem;
}

.hero__mockup-content {
  padding: 2rem;
  min-height: 400px;
  background-color: var(--color-card);
  font-family: monospace;
  font-size: 0.875rem;
}

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

.hero__mockup-message {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__mockup-label {
  color: var(--color-muted-foreground);
  user-select: none;
  min-width: 3rem;
}

.hero__mockup-text {
  color: #1f2937;
}

.hero__mockup-text p {
  margin-bottom: 0.5rem;
}

.hero__mockup-meta {
  color: var(--color-muted-foreground);
  margin-top: 0.5rem;
}

.hero__mockup-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero__mockup-btn {
  padding: 0.375rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero__mockup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.hero__mockup-btn:hover::before {
  left: 100%;
}

.hero__mockup-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.hero__mockup-btn--primary:hover {
  background-color: rgba(38, 37, 30, 0.9);
  color: var(--color-primary-foreground);
}

.hero__mockup-btn--secondary {
  background-color: transparent;
  color: #4b5563;
  border: 1px solid var(--color-border);
}

.hero__mockup-btn--secondary:hover {
  background-color: #f9fafb;
}

.hero__mockup-footer {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  opacity: 0.5;
}

.hero__mockup-status {
  font-size: 0.75rem;
  color: #9ca3af;
  background-color: #f9fafb;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(229, 231, 235, 0.5);
}

/* ============================================
   ソリューションセクション（BEM形式）
   ============================================ */
.solution__visual {
  order: 2;
}

@media (min-width: 1024px) {
  .solution__visual {
    order: 1;
  }
}

.solution__dashboard {
  position: relative;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden; /* border-radiusを維持 */
}

.solution__dashboard-aurora {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(103, 73, 252, 0.4), rgba(147, 51, 234, 0.3));
  filter: blur(80px);
  z-index: 0; /* コンテンツの下に配置 */
  will-change: opacity, transform;
  animation: aurora 15s ease infinite alternate;
  transform: translateZ(0); /* GPU加速 */
}

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

.solution__dashboard-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2; /* ぼやけエフェクトの上に表示 */
}

.solution__dashboard-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
  box-shadow: 0 4px 6px rgba(38, 37, 30, 0.2);
}

.solution__dashboard-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.solution__dashboard-status {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.solution__dashboard-status-online {
  color: #6749fc;
  font-weight: 500;
}

.solution__dashboard-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2; /* ぼやけエフェクトの上に表示 */
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.solution__dashboard-stat {
  background-color: rgba(245, 245, 245, 0.3);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(229, 231, 235, 0.5);
}

.solution__dashboard-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.solution__dashboard-stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
}

.solution__dashboard-stat-badge {
  font-size: 0.75rem;
  background-color: rgba(103, 73, 252, 0.15);
  color: #6749fc;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.solution__dashboard-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.solution__dashboard-testimonial {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 2; /* ぼやけエフェクトの上に表示 */
}

.solution__dashboard-quote {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-style: italic;
  margin-bottom: 1rem;
}

.solution__dashboard-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.solution__dashboard-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #e5e7eb;
}

.solution__dashboard-author-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.solution__dashboard-author-role {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.solution__content {
  order: 1;
}

@media (min-width: 1024px) {
  .solution__content {
    order: 2;
  }
}

.solution__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(38, 37, 30, 0.2);
  background-color: rgba(38, 37, 30, 0.05);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.solution__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .solution__title {
    font-size: 2.25rem;
  }
}

.solution__description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
}

.solution__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.solution__feature {
  display: flex;
  gap: 1rem;
}

.solution__feature-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--color-primary);
}

.solution__feature-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.solution__feature-description {
  color: var(--color-muted-foreground);
}

.solution__cta {
  margin-top: 2.5rem;
}

/* ============================================
   ベネフィットセクション（BEM形式）
   ============================================ */
.benefit-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.benefit-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(38, 37, 30, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.benefit-card:hover .benefit-card__icon {
  background-color: rgba(38, 37, 30, 0.2);
}

.benefit-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.benefit-card__description {
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  min-height: 80px;
}

.benefit-card__data {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.benefit-card__data-value {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.benefit-card__data-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
}

/* ============================================
   ユースケースセクション（BEM形式）
   ============================================ */
.usecases__tabs {
  margin-bottom: 3rem;
}

.usecases__tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  background-color: rgba(245, 245, 245, 0.5);
  border-radius: 0.75rem;
  padding: 0.25rem;
  max-width: 80rem;
  margin: 0 auto;
}

.usecases__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-foreground);
}

.usecases__tab:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--color-primary);
}

.usecases__tab--active {
  background-color: var(--color-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

.usecases__tab-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.usecases__tab-label {
  font-weight: 700;
}

.usecases__content {
  position: relative;
}

.usecases__panel {
  display: none;
  opacity: 0;
  transform: translateY(20px) translateZ(0); /* GPU加速 */
  will-change: opacity, transform;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.usecases__panel--active {
  display: block;
}

.usecases__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background-color: var(--color-card);
  border-radius: 1.5rem;
  border: 1px solid var(--color-border);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .usecases__card {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
}

.usecases__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.usecases__card-badge-icon {
  width: 1rem;
  height: 1rem;
}

.usecases__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .usecases__card-title {
    font-size: 1.875rem;
  }
}

.usecases__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.usecases__card-item {
  display: flex;
  gap: 0.75rem;
}

.usecases__card-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: rgba(38, 37, 30, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: 0.25rem;
}

.usecases__card-text {
  color: var(--color-muted-foreground);
  font-weight: 500;
}

.usecases__card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.usecases__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.usecases__card-image:hover .usecases__image {
  transform: scale(1.05);
}

.usecases__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
}

.usecases__image-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.usecases__image-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ============================================
   プロセスセクション（BEM形式）
   ============================================ */
.process {
  position: relative;
}

.process__line {
  display: none;
  position: absolute;
  top: 3rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 0;
}

@media (min-width: 768px) {
  .process__line {
    display: block;
  }
}

.process__step {
  position: relative;
  background-color: var(--color-background);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.process__step:hover {
  transform: translateY(-4px);
}

.process__step-icon-wrapper {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  background-color: var(--color-background);
  border-radius: 50%;
  border: 4px solid var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.process__step:hover .process__step-icon-wrapper {
  border-color: var(--color-primary);
}

.process__step-icon {
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
}

.process__step:hover .process__step-icon {
  color: var(--color-primary);
}

.process__step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.25rem;
  font-weight: 900;
  color: rgba(102, 102, 102, 0.2);
  user-select: none;
}

.process__step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process__step-desc {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.process__support {
  margin-top: 4rem;
  background-color: rgba(38, 37, 30, 0.05);
  border: 1px solid rgba(38, 37, 30, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

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

.process__support-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process__support-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process__support-desc {
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* ============================================
   料金セクション（BEM形式）
   ============================================ */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card--highlight {
  z-index: 10;
}

.pricing-card__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-card__card--highlight {
  border-color: var(--color-primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card__price {
  margin-bottom: 1.5rem;
}

.pricing-card__price-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}

.pricing-card__price-label--monthly {
  margin-top: 0.5rem;
}

.pricing-card__price-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.pricing-card__price-value--monthly {
  font-size: 1.5rem;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.pricing-card__feature-check {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--color-primary);
}

.pricing-card__cta {
  width: 100%;
}

/* ============================================
   成功事例セクション（BEM形式）
   ============================================ */
.success-card {
  background-color: var(--color-background);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
  position: relative;
}

.success-card__quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  color: rgba(38, 37, 30, 0.1);
}

.success-card__industry {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}

.success-card__result {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.success-card__quote {
  color: var(--color-muted-foreground);
  font-style: italic;
  position: relative;
  z-index: 10;
}

/* ============================================
   FAQセクション（BEM形式）
   ============================================ */
.faq {
  max-width: 48rem;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-foreground);
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.faq__question-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  color: var(--color-muted-foreground);
}

.faq__item--open .faq__question-icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item--open .faq__answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq__answer-text {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   お問い合わせセクション（BEM形式）
   ============================================ */
.contact__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .contact__title {
    font-size: 3rem;
  }
}

.contact__description {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  max-width: 32rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(38, 37, 30, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact__info-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}

.contact__info-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.contact__info-note {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.contact__form-wrapper {
  order: 2;
}

@media (min-width: 1024px) {
  .contact__form-wrapper {
    order: 1;
  }
}

.contact__form-card {
  background-color: var(--color-card);
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact__form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
}

.contact__form-input,
.contact__form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-input);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--color-background);
  color: var(--color-foreground);
  transition: border-color 0.3s ease;
}

.contact__form-input:focus,
.contact__form-textarea:focus {
  outline: none;
  border-color: var(--color-ring);
  box-shadow: 0 0 0 3px rgba(38, 37, 30, 0.1);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form-submit {
  width: 100%;
  height: 3.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact__form-submit:hover {
  transform: translateY(-2px);
  color: var(--color-primary-foreground);
}

.contact__form-note {
  font-size: 0.75rem;
  text-align: center;
  color: var(--color-muted-foreground);
  margin-top: 1rem;
}

.footer__references {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .hidden.md\:block {
    display: block;
  }
}

/* ============================================
   レスポンシブ調整
   ============================================ */
@media (max-width: 767px) {
  .hero__title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section__title {
    font-size: 1.75rem;
  }
  
  .grid--cols-2 {
    grid-template-columns: 1fr;
  }
  
  .grid--cols-4 {
    grid-template-columns: 1fr;
  }
  
  .contact__title {
    white-space: normal;
  }
  
  .contact__form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   パンくずリスト（BEM形式）
   ============================================ */
.breadcrumbs {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.breadcrumbs__nav {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumbs__current {
  font-weight: 500;
  color: var(--color-foreground);
}

/* ============================================
   ページ固有のスタイル（React DATA準拠）
   ============================================ */
/* 事例ページのグリッドレイアウト */
@media (min-width: 1024px) {
  .usecases__card {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ニュースページのレイアウト */
.blog-card {
  display: block;
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  transform: scale(1);
}

.blog-card:hover {
  background-color: rgba(103, 73, 252, 0.02);
  transform: scale(1.02);
}

.blog-card article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-card article {
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
  }
  
  .customization-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ブログカードの画像 */
.blog-card__image-wrapper {
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

/* ブログカードのコンテンツ */
.blog-card__content {
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-card__date {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.blog-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  min-width: 80px;
  text-align: center;
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--color-primary);
}

.blog-card__excerpt {
  color: var(--color-muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.blog-card__arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(0);
}

.blog-card:hover .blog-card__arrow {
  transform: translateX(4px);
}

/* カスタマイズセクションのスタイル */
.customization-section {
  margin-top: 6rem;
  background-color: rgba(233, 233, 233, 0.3);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
}

@media (max-width: 767px) {
  .customization-section {
    margin-top: 4rem;
    padding: 2rem 1.5rem;
  }
  
  .customization-section h2 {
    font-size: 1.5rem !important;
  }
  
  .customization-section p {
    font-size: 1rem !important;
  }
}

/* 導入事例ページのスタイル */
/* 事例ページのコンテナに余白を追加（トップページと同じパターンでUI/UX統一） */
.section--cases {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .section--cases {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* スマートフォンサイズで事例セクションのパディングボトムを半分に */
@media (max-width: 767px) {
  .section--cases {
    padding-bottom: 2rem !important;
  }
}

/* タブレットサイズで事例セクションのパディングボトムを半分に */
@media (min-width: 768px) and (max-width: 1023px) {
  .section--cases {
    padding-bottom: 3rem !important;
  }
}

.section--cases .container--cases {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .section--cases .container--cases {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section--cases .container--cases {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.cases-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .cases-container {
    gap: 8rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .cases-container {
    gap: 10rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1280px) {
  .cases-container {
    gap: 12rem;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  width: 100%;
  padding: 2rem 0;
}

.case-image-container {
  width: 100%;
}

.case-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.case-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.case-content p {
  color: var(--color-muted-foreground);
  line-height: 1.75;
  font-size: 1.125rem;
  margin: 0;
}

.case-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  aspect-ratio: 16 / 9;
  cursor: default;
}

.case-image-wrapper:hover .case-image {
  transform: scale(1.1);
}

.case-image-wrapper:hover .case-overlay {
  opacity: 0.7;
}

.case-image-wrapper:hover .case-company {
  transform: translateY(0);
}

/* モバイル（〜767px）：縦並び */
@media (max-width: 767px) {
  .case-card {
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 1.5rem 0;
  }
  
  .cases-container {
    gap: 5rem !important;
  }
  
  .case-image-container,
  .case-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .case-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .case-label {
    top: 1rem !important;
    left: 1rem !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
  }
  
  .case-company {
    bottom: 1rem !important;
    left: 1rem !important;
    font-size: 1rem !important;
  }
  
  .case-content h2 {
    font-size: 1.5rem !important;
  }
  
  .case-content p {
    font-size: 1rem !important;
  }
}

/* タブレット（768px〜1023px）：縦並び、より大きなgap */
@media (min-width: 768px) and (max-width: 1023px) {
  .case-card {
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: stretch !important;
    padding: 2rem 0;
  }
  
  .cases-container {
    gap: 7rem !important;
  }
  
  .case-image-container,
  .case-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .case-image-container {
    max-width: 100%;
  }
  
  .case-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .case-content__title {
    font-size: 1.75rem !important;
    max-width: 70% !important;
    word-wrap: break-word;
  }
  
  .case-content p {
    font-size: 1.0625rem !important;
  }
  
  /* 成果表示をテキストと合わせた横幅に */
  .case-content__result {
    display: block !important;
    width: fit-content;
    max-width: 70% !important;
  }
  
  .case-label {
    top: 1.5rem !important;
    left: 1.5rem !important;
    font-size: 0.8125rem !important;
    padding: 0.3125rem 0.875rem !important;
  }
  
  .case-company {
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    font-size: 1.125rem !important;
  }
}

/* PC（1024px以上）：横並び */
@media (min-width: 1024px) {
  .case-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0;
  }
  
  .cases-container {
    gap: 10rem;
  }
  
  /* 奇数の要素（nth-child(1), nth-child(3), nth-child(5)...）: 左：画像、右：テキスト */
  .case-card:nth-child(odd) {
    flex-direction: row;
  }
  
  /* 偶数の要素（nth-child(2), nth-child(4), nth-child(6)...）: 左：テキスト、右：画像 */
  /* flex-direction: row-reverse で左右の並び順を反転 */
  .case-card:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .case-image-container {
    width: 50%;
    max-width: 50%;
    min-width: 0;
    flex-shrink: 0;
    flex-basis: 50%;
  }
  
  .case-content {
    width: 50%;
    max-width: 50%;
    min-width: 0;
    flex-shrink: 0;
    flex-basis: 50%;
  }
  
  .case-content h2 {
    font-size: 1.875rem !important;
  }
  
  .case-content p {
    font-size: 1.125rem !important;
  }
}

/* 大きなPC（1280px以上）：より大きなgap */
@media (min-width: 1280px) {
  .case-card {
    gap: 2.5rem;
    padding: 3rem 0;
  }
  
  .cases-container {
    gap: 12rem;
  }
  
  .case-content h2 {
    font-size: 2rem !important;
  }
  
  .case-content p {
    font-size: 1.125rem !important;
  }
}
