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

/* Additional list reset to prevent default styling */
ul, ol, li {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Re-enable list styles for content areas where needed */
.content-block ul,
.content-block ol,
.footer-section ul {
  list-style: initial;
  margin: initial;
  padding: initial;
}

.content-block ul li,
.content-block ol li {
  list-style: initial;
  margin: initial;
  padding: initial;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  list-style: none !important;
  list-style-type: none !important;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.navbar-menu a:hover {
  color: #1e40af;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  outline: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hamburger:hover {
  background-color: rgba(30, 64, 175, 0.1);
}

.hamburger:focus {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1e40af;
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Breadcrumb */
.breadcrumb {
  background: #f8fafc;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list,
.breadcrumb ol.breadcrumb-list,
nav .breadcrumb-list {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  list-style: none !important;
  list-style-type: none !important;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
}

.breadcrumb-list li,
.breadcrumb ol.breadcrumb-list li,
nav .breadcrumb-list li {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: 0.875rem;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li:not(:last-child)::after,
.breadcrumb ol.breadcrumb-list li:not(:last-child)::after,
nav .breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-size: 1.2rem;
}

.breadcrumb-list a,
.breadcrumb ol.breadcrumb-list a,
nav .breadcrumb-list a {
  color: #1e40af;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover,
.breadcrumb ol.breadcrumb-list a:hover,
nav .breadcrumb-list a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.breadcrumb-list li:last-child,
.breadcrumb ol.breadcrumb-list li:last-child,
nav .breadcrumb-list li:last-child {
  color: #374151;
  font-weight: 500;
}

/* Service Pages Styles */
.service-header {
  background: linear-gradient(135deg, #f8fafc, #e0e7ff);
  padding: 3rem 0;
  text-align: center;
}

.service-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

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

.service-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
}

.service-section {
  padding: 4rem 0;
  background: white;
}

.service-section:nth-child(even) {
  background: #f8fafc;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #374151;
}

.target-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}

.target-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
}

.target-list li:last-child {
  border-bottom: none;
}

.target-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1e40af;
  font-weight: bold;
  font-size: 1.2rem;
}

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

.feature-item,
.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section:nth-child(even) .feature-item,
.service-section:nth-child(even) .benefit-item {
  background: white;
}

.feature-item:hover,
.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-item h3,
.benefit-item h3 {
  color: #1e40af;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-item p,
.benefit-item p {
  color: #6b7280;
  line-height: 1.6;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  color: #1e40af;
  margin-bottom: 1rem;
}

.step p {
  color: #6b7280;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
  color: white;
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
}

.hero::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;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: #1e40af;
  color: white;
  transform: translateY(-2px);
}

/* Services Highlight Section */
.services-highlight {
  padding: 6rem 0;
  background: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #1e40af;
}

.section-description {
  font-size: 1.2rem;
  text-align: center;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e40af;
}

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

.service-link {
  color: #f97316;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

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

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

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

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #6b7280;
  font-weight: 600;
  font-size: 1.1rem;
}

/* News Section */
.news {
  padding: 6rem 0;
  background: white;
}

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

.news-item {
  background: #f8fafc;
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid #1e40af;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-date {
  color: #f97316;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.news-title {
  margin-bottom: 1rem;
}

.news-title a {
  color: #1e40af;
  font-weight: 700;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: #3b82f6;
}

.news-excerpt {
  color: #6b7280;
  line-height: 1.6;
}

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

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-section p {
  color: #d1d5db;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  
  .navbar-menu.active {
    display: flex !important;
    max-height: 500px;
    opacity: 1;
  }
  
  .navbar-menu li {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none !important;
    list-style-type: none !important;
  }
  
  .navbar-menu a {
    display: block;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
  }
  
  .navbar-menu li:last-child a {
    border-bottom: none;
  }
  
  .hamburger {
    display: flex !important;
    z-index: 1001;
  }
  
  .breadcrumb-list {
    font-size: 0.8rem;
  }
  
  .breadcrumb-list li:not(:last-child)::after {
    font-size: 1rem;
  }
  
  .service-title {
    font-size: 1.8rem;
  }
  
  .service-subtitle {
    font-size: 1rem;
  }
  
  .features-grid,
  .benefits-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image img {
    transform: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  main {
    margin-top: 70px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .services-highlight,
  .news,
  .cta {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card,
  .news-item {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}