/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-white {
  display: block;
}

.logo-black {
  display: none;
}

.header.scrolled .logo-white {
  display: none;
}

.header.scrolled .logo-black {
  display: block;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

/* ヘッダーのナビゲーションリンクを白色に変更（透明ヘッダー用） */
.nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #e2e8f0;
}

.nav-cta {
  background: #000000 !important;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #333333 !important;
}

/* メールアイコンのスタイル */
.mail-icon {
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -2px;
}

.nav-cta .mail-icon {
  stroke: white;
}

.btn-primary .mail-icon {
  stroke: white;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

/* ハンバーガーメニューの線を白に */
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* モバイルナビゲーション */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding-top: 80px;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.5rem;
  padding: 2rem;
  align-items: center;
}

.nav-mobile a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 1.25rem;
  transition: color 0.2s ease;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-mobile a:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.05);
}

.nav-mobile .nav-cta {
  background: #000000 !important;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
  width: 80%;
  max-width: 250px;
}

/* Hero Section - 黒背景版 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../images/mv.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: 80px;
}

/* Add a dark overlay to ensure text readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Remove the existing ::after pseudo-element since we're using a background image */
.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero Section - テキスト左揃え */
.hero-text {
  margin: 0 auto;
  text-align: left;
  color: #ffffff;
  position: relative;
}

.hero-title {
  font-size: 5.9vw;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #000000;
  font-weight: 700;
}

.hero-description {
  font-size: 1.35rem;
  margin-bottom: 3rem;
  line-height: 1.8;
  color: #e2e8f0;
  font-weight: 400;
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff, #e2e8f0, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 統計情報の表示 - 黒背景用に調整 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-width: 140px;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  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.2), transparent);
  transition: left 0.5s;
}

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

.btn-primary {
  background: linear-gradient(135deg, #000000, #333333);
  color: white;
  padding: 1.25rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #333333, #000000);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding: 1.25rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.btn-outline:hover {
  background: #000000;
  color: white;
}

.btn-full {
  width: 100%;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.03));
  color: #000000;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
  margin-top: 3rem;
}

/* Strengths Section */
.strengths {

}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.strength-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

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

.strength-number-wrapper {
  margin-bottom: 1.5rem;
}

.strength-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 3px solid #000000;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  background: white;
  transition: all 0.3s ease;
}

.strength-item:hover .strength-number {
  background: #000000;
  color: white;
  transform: scale(1.05);
}

.strength-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.strength-item p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.strength-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.feature-tag {
  display: inline-block;
  background: #f0f0f0;
  color: #000000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Results Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.result-item {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 16px;
}

.result-number {
  font-size: 3rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.result-sub {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Services Section - モダン版 */
.services {
  background: #f9fafb;
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.service-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-image::after {
  opacity: 1;
}

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

.service-item:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.service-category {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
  margin-bottom: 0.75rem;
}

.service-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.service-content p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
  position: relative;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  display: inline-block;
  background: #f0f0f0;
  color: #000000;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.service-item:hover .service-tag {
  background: #e0e0e0;
}

.service-link {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.service-link:hover {
  color: #333333;
}

.sub.hamburger span  {
  background-color: #1a1a1a!important;
}

.link-arrow-icon {
  transition: transform 0.2s ease;
}

.service-link:hover .link-arrow-icon {
  transform: translateX(4px);
}

/* Cases Section */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

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

.case-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.case-content {
  padding: 1.5rem;
}

.case-tags {
  margin-bottom: 1rem;
}

.case-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.case-tag.primary {
  background: #f0f0f0;
  color: #000000;
}

.case-tag.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.case-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.case-content p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.case-results {
  display: flex;
  gap: 1rem;
}

.case-result {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-metric {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
}

.case-metric-label {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Testimonials Section - モダン版 */
.testimonials {
  background: #f9fafb;
  position: relative;
  padding: 6rem 0;
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonials-featured {
  display: flex;
  justify-content: center;
}

.testimonial-item.featured {
  max-width: 800px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: center;
}

.testimonial-item.featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #000000, #333333);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.05;
}

.testimonial-quote-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.testimonial-quote-icon svg {
  fill: #f0f0f0;
  stroke: #000000;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Testimonials Section - Remove hover animations */
.testimonial-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.testimonial-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #000000, #333333);
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.star {
  color: #fbbf24;
  font-size: 1.25rem;
}

.testimonial-content {
  margin-bottom: 2rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  position: relative;
}

.testimonial-item.featured .testimonial-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #1f2937;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.testimonial-item.featured .testimonial-author {
  justify-content: center;
  border-top: none;
  padding-top: 0;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f3f4f6;
  transition: border-color 0.3s ease;
}

.testimonial-item:hover .author-image {
  border-color: #000000;
}

.testimonial-item.featured .author-image {
  width: 80px;
  height: 80px;
  border: 4px solid #e5e7eb;
}

.author-info {
  flex: 1;
}

.testimonial-item.featured .author-info {
  text-align: left;
}

.author-info strong {
  display: block;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.testimonial-item.featured .author-info strong {
  font-size: 1.1rem;
}

.author-info span {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.blog-item.featured {
  grid-column: span 1;
  grid-row: span 1;
}

.blog-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-item.featured .blog-image {
  height: 220px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 220px);
}

.blog-item.featured .blog-content {
  padding: 1.5rem;
  height: calc(100% - 220px);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-category {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-category.seminar {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #000000;
}

.blog-category.report {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #000000;
}

.blog-category.news {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #000000;
}

.blog-date {
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-item.featured h3 {
  font-size: 1.2rem;
  -webkit-line-clamp: 2;
}

.blog-item p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-item.featured p {
  -webkit-line-clamp: 3;
  font-size: 1.05rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.blog-link {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.link-arrow {
  transition: transform 0.2s ease;
}

.blog-item:hover .link-arrow {
  transform: translateX(3px);
}

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

.read-time {
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Conversion Section */
.conversion {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.conversion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.conversion-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.conversion-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.conversion h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.conversion p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.conversion-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.conversion-feature {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.conversion-feature-icon {
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.conversion-feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.conversion-feature p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.conversion-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-white {
  background: white;
  color: #000000;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #333333;
}

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-white:hover {
  background: white;
  color: #000000;
  text-decoration: none;
  transform: translateY(-2px);
}

.conversion-contact-info {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.conversion-contact-info p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
  background: white;
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-item {
  background: white;
  border: 2px solid #f3f4f6;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.pricing-item.featured {
  border-color: #000000;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  transform: scale(1.05);
}

.pricing-item.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000000;
  line-height: 1;
}

.price-unit {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 500;
  margin-left: 0.25rem;
}

.pricing-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
  padding-left: 2rem;
  color: #374151;
  font-weight: 500;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: #000000;
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-footer {
  margin-top: auto;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: transparent;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-pricing:hover {
  background: #000000;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-pricing.primary {
  background: #000000;
  color: white;
}

.btn-pricing.primary:hover {
  background: #333333;
}

.pricing-note {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.pricing-note p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Pricing Responsive */
@media (max-width: 768px) {
  .pricing {
    padding: 4rem 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-item.featured {
    transform: none;
  }

  .pricing-item.featured:hover {
    transform: translateY(-8px);
  }

  .price-amount {
    font-size: 2rem;
  }

  .pricing-header h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .pricing-item {
    padding: 1.5rem;
  }

  .price-amount {
    font-size: 1.8rem;
  }

  .pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
  }

  .pricing-note {
    margin-top: 2rem;
  }
}

/* Footer - シンプル版 */
.footer {
  background: white;
  color: #374151;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.footer-simple {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-image {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.footer-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.footer-contact-info {
  margin-bottom: 2rem;
}

.footer-contact-info p {
  margin-bottom: 0.5rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.footer-contact-info a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact-info a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #000000;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #000000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #333333;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .header .container {
    padding: 0.75rem 20px;
  }

  .main-content.page {
  margin-top: 45px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 70px; /* モバイル時のヘッダー高さに合わせる */
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-stat {
    min-width: 120px;
    padding: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .strength-number {
    width: 70px;
    height: 70px;
    font-size: 1.3rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding-top: 60px;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 12vw;
    padding: 0 0.5rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .strength-number {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
  }

  .services-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

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

  .blog-grid {
    gap: 1rem;
  }

  .blog-content {
    padding: 1rem;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Testimonials Small Mobile */
  .testimonial-item.featured {
    padding: 1.5rem;
    margin: 0;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .testimonial-item.featured .testimonial-content p {
    font-size: 1.1rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-item.featured .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .conversion h2 {
    font-size: 2rem;
  }

  .conversion p {
    font-size: 1.1rem;
  }

  .conversion-feature {
    padding: 1rem;
  }

  /* Services Small Mobile */
  .services {
    padding: 3rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-image {
    height: 180px;
  }

  .service-content {
    padding: 1.25rem;
  }

  .footer-nav {
    gap: 0.75rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-item.featured {
    grid-column: span 2;
  }
}

.header.scrolled .nav a {
  color: #374151;
}
.header.scrolled .nav a:hover {
  color: #000000;
}
.header.scrolled .hamburger span {
  background-color: #1a1a1a;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #555;
}