/*
Theme Name: Corporate Site Complete
Description: 企業サイト用完全カスタムテーマ - 画像デザイン完全再現版
Version: 2.0
Author: Your Name
*/

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

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

.logo a:hover {
  color: #004499;
}

.nav {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s;
  position: relative;
}

.nav a:hover {
  color: #0066cc;
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #0066cc;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>') no-repeat center;
  background-size: contain;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .subtitle {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #fff, #e6f3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.6s both;
}

.community-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeInUp 1s ease 0.8s both;
}

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

body {
  --scroll-gap: 30px;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - var(--scroll-gap) / 2));
  }
}

.scroll_wrap {
  margin-block-start: 20vh;
  width: 100%;
  overflow: hidden;
}

.scroll_track {
  width: max-content;
  animation: infiniteScroll 10s linear infinite;

  &:hover {
    animation-play-state: paused;
  }
}

.scroll_inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 var(--scroll-gap);
}

.scroll_cont {
  display: grid;
  min-width: 22vw;
}

.scroll_cont img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.badge {
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

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

.section-title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 50px;
  color: #333;
  font-weight: 300;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #0066cc, #2a5298);
  border-radius: 2px;
}

/* News Section */
.news-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.news-list {
  list-style: none;
  overflow: hidden;
}

.news-item {
  border-bottom: 1px solid #eee;
  padding: 20px 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #0066cc;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.news-item:hover::before {
  transform: scaleY(1);
}

.news-item:last-child {
  border-bottom: none;
}

/* News item links without underlines */
.news-link-full {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  width: 100%;
}

.news-link-full:hover {
  text-decoration: none;
  color: inherit;
}

.news-item a {
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: none;
}

.news-date {
  color: #666;
  font-size: 14px;
  margin-right: 20px;
  min-width: 100px;
  font-weight: 500;
}

.news-category {
  background: #0066cc;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 15px;
  white-space: nowrap;
}

.news-title {
  color: #333;
  text-decoration: none;
  flex: 1;
  font-size: 14px;
  transition: color 0.3s ease;
}

.news-title:hover {
  color: #0066cc;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0066cc;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
  background: #004499;
  transform: scale(1.1);
}

/* Business Content */
.business-section {
  padding: 80px 0;
  background: white;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.business-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.business-card::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.6s;
}

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

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.business-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  z-index: 1;
}

.business-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.business-card .btn {
  background: linear-gradient(45deg, #0066cc, #2a5298);
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.business-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #2a5298, #0066cc);
  transition: left 0.3s;
  z-index: -1;
}

.business-card .btn:hover::before {
  left: 0;
}

.business-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,102,204,0.3);
}

/* Member Section */
.member-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.member-card {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.member-photo {
  width: 100%;
  height: 300px;
}
/* 
.member-photo[style*="background-image"]::before {
  display: none;
} */

.member-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.member-position {
  color: #666;
  font-size: 14px;
}

/* Other Services */
.other-services {
  padding: 80px 0;
  background: white;
}

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

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

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Company Info */
.company-info {
  padding: 80px 0;
  background: #f8f9fa;
}

.company-table {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-top: 50px;
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease;
}

.company-table th {
  background: #f8f9fa;
  font-weight: bold;
  width: 200px;
  color: #333;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #fff;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer-section a:hover {
  color: white;
  padding-left: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #ccc;
}

/* Main Content Styles */
.main-content {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Post Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.post-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.post-thumbnail {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

.post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-content {
  padding: 25px;
}

.post-title a {
  color: #333;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #0066cc;
}

.post-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 15px 0;
}

.post-date {
  color: #666;
  font-size: 14px;
}

.post-category {
  background: #0066cc;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* Single Post Styles */
.single-page,
.single-member,
.single-service {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 40px;
  margin-bottom: 40px;
}

.post-header,
.page-header,
.member-header,
.service-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.post-title,
.page-title,
.member-name,
.service-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.post-thumbnail,
.page-thumbnail {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
}

.post-thumbnail img,
.page-thumbnail img {
  width: 100%;
  height: auto;
}

.post-content,
.page-content,
.member-content,
.service-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.post-content h2,
.page-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: #333;
}

.post-content h3,
.page-content h3 {
  font-size: 20px;
  margin: 25px 0 12px;
  color: #333;
}

.post-content p,
.page-content p {
  margin-bottom: 15px;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
  margin: 15px 0 15px 20px;
}

.post-content li,
.page-content li {
  margin-bottom: 5px;
}

.post-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.prev-post,
.next-post {
  color: #0066cc;
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid #0066cc;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.prev-post:hover,
.next-post:hover {
  background: #0066cc;
  color: white;
  transform: translateY(-2px);
}

/* Member Specific Styles */
.member-header {
  display: flex;
  gap: 30px;
  align-items: center;
}

.member-photo-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.member-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-photo {
  width: 100%;
  height: 100%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #999;
}

.member-info .member-name {
  font-size: 28px;
  margin-bottom: 10px;
}

.member-info .member-position {
  font-size: 18px;
  color: #666;
}

.member-navigation,
.service-navigation {
  margin-top: 30px;
  text-align: center;
}

.back-to-members,
.back-to-services {
  color: #0066cc;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #0066cc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.back-to-members:hover,
.back-to-services:hover {
  background: #0066cc;
  color: white;
}

/* Service Specific Styles */
.service-header {
  text-align: center;
}

.service-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

/* No Posts */
.no-posts {
  text-align: center;
  padding: 80px 20px;
}

.no-posts h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.no-posts p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.no-posts .btn {
  display: inline-block;
  background: #0066cc;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.no-posts .btn:hover {
  background: #004499;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0066cc;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Member Swiper Styles */
.member-swiper {
  width: 100%;
  padding: 40px 0 60px 0;
}

.member-swiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-swiper .member-card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.member-swiper .member-card:hover {
  transform: translateY(-5px);
}

.member-swiper .member-photo {
  width: 100%;
  height: 300px;
  margin: 0 auto 15px;
  background-color: #f0f0f0;
}

.member-swiper .member-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.member-swiper .member-position {
  font-size: 14px;
  color: #666;
}

.member-swiper .swiper-pagination {
  position: absolute;
  bottom: 10px;
}

.member-swiper .swiper-button-next,
.member-swiper .swiper-button-prev {
  color: #333;
}

.member-swiper .swiper-button-next:after,
.member-swiper .swiper-button-prev:after {
  font-size: 20px;
}

/* WordPress Core Styles */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
}

.wp-caption img {
  margin-bottom: 5px;
}

.wp-caption-text {
  font-size: 12px;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* Form Styles */
.contact-form,
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group,
.wpcf7-form p {
  margin-bottom: 20px;
}

.contact-form label,
.wpcf7-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea,
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 5px rgba(0,102,204,0.3);
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #e74c3c;
}

.contact-form .submit-btn,
.wpcf7-form .wpcf7-submit {
  background: #0066cc;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .submit-btn:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: #004499;
  transform: translateY(-2px);
}

/* Contact Form 7 Additional Styles */
.contact-form-wrapper .wpcf7-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Group Structure */
.wpcf7-form .form-group {
  margin-bottom: 30px;
}

.wpcf7-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.wpcf7-form .form-group.half {
  flex: 1;
}

/* Labels */
.wpcf7-form label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  font-size: 16px;
}

.wpcf7-form .required {
  color: #e74c3c;
  font-weight: normal;
  margin-left: 5px;
}

/* Override default CF7 styles */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100% !important;
  padding: 15px !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none !important;
  border-color: #0066cc !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
}

/* Select Dropdown */
.wpcf7-form select {
  cursor: pointer;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 12px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Textarea */
.wpcf7-form textarea {
  resize: vertical !important;
  min-height: 120px !important;
  line-height: 1.6 !important;
}

/* Submit Button Override */
.wpcf7-form .wpcf7-submit {
  background: #1a4c72 !important;
  color: white !important;
  padding: 15px 40px !important;
  border: none !important;
  border-radius: 25px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 200px !important;
}

.wpcf7-form .wpcf7-submit:hover {
  background: #0f3854 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(26, 76, 114, 0.3) !important;
}

/* Error States */
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

/* Validation Messages */
.wpcf7-form .wpcf7-not-valid-tip {
  color: #e74c3c !important;
  font-size: 14px !important;
  margin-top: 5px !important;
  display: block !important;
}

/* Response Messages */
.wpcf7-form .wpcf7-response-output {
  margin: 20px 0 !important;
  padding: 15px !important;
  border-radius: 8px !important;
  font-weight: bold !important;
}

.wpcf7-form .wpcf7-mail-sent-ok {
  background: #d4edda !important;
  color: #155724 !important;
  border: 1px solid #c3e6cb !important;
}

.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-mail-sent-ng {
  background: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

/* Company Map Inline */
.company-map-inline {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.company-map-inline iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-content {
      flex-direction: row;
      justify-content: space-between;
      height: 70px;
      padding: 15px 20px;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .nav {
      display: none;
  }

  .hero {
      padding: 100px 0 60px;
  }

  .hero h1 {
      font-size: 32px;
  }

  .hero .subtitle {
      font-size: 48px;
  }

  .section-title {
      font-size: 36px;
  }

  .news-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 15px 20px;
  }

  .news-date {
      min-width: auto;
      margin-right: 0;
      margin-bottom: 5px;
  }

  .community-badges {
      flex-direction: column;
      align-items: center;
  }

  .business-grid,
  .member-grid,
  .services-grid,
  .posts-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .business-card,
  .service-card {
      padding: 20px;
  }

  .company-table th,
  .company-table td {
      padding: 15px;
      font-size: 14px;
  }

  .company-table th {
      width: 120px;
  }

  .footer-content {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .post-title,
  .page-title {
      font-size: 24px;
  }

  .post-navigation {
      flex-direction: column;
  }

  .post-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
  }

  .member-header {
      flex-direction: column;
      text-align: center;
  }

  .member-photo-large {
      width: 120px;
      height: 120px;
  }

  .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 45px;
      height: 45px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
      font-size: 24px;
  }

  .hero .subtitle {
      font-size: 36px;
  }

  .hero p {
      font-size: 14px;
  }

  .section-title {
      font-size: 28px;
  }

  .business-card h3,
  .member-name {
      font-size: 18px;
  }

  .business-card p,
  .member-position,
  .service-card p {
      font-size: 14px;
  }

  .news-item {
      padding: 12px 15px;
  }

  .news-title {
      font-size: 13px;
  }

  .company-table {
      font-size: 12px;
  }

  .company-table th,
  .company-table td {
      padding: 10px;
  }

  .container {
      padding: 90px 15px;
  }

  .main-content {
      padding: 0;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .pagination,
  .post-navigation,
  .back-to-top {
      display: none;
  }
  
  body {
      font-size: 12pt;
      line-height: 1.4;
      color: #000;
  }
  
  .hero {
      background: none !important;
      color: #000 !important;
      padding: 20px 0;
  }
  
  .section-title {
      font-size: 18pt;
      color: #000;
  }

  .business-card,
  .member-card,
  .service-card {
      box-shadow: none;
      border: 1px solid #ddd;
      break-inside: avoid;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.hidden { display: none; }
.visible { display: block; }

/* Smooth Scrolling */
html { scroll-behavior: smooth; }

/* Selection Color */
::selection { background: #0066cc; color: white; }
::-moz-selection { background: #0066cc; color: white; }


/* ===========================================
   Contact Page Styles
   =========================================== */

   .contact-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Contact Hero Section */
.contact-hero {
    text-align: center;
    position: relative;
}

.contact-title-wrapper {
  width: 100%;
    position: relative;
    display: inline-block;
}

.contact-title-bg {
  width: 100%;
    font-size: 120px;
    font-weight: 900;
    font-family: "Crimson Text", serif;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    letter-spacing: 2px;
    -webkit-text-stroke: 2px #222;
    text-stroke: 2px #222;
}

.contact-title-main {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

/* Contact Form Section */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Groups */
.form-group {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

/* Labels */
.form-group label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.required {
    color: #e74c3c;
    font-weight: normal;
    margin-left: 5px;
}

/* Form Controls */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

/* Select Dropdown */
.contact-form select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Textarea */
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Error States */
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transition: left 0.3s;
    z-index: -1;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Privacy Notice */
.privacy-notice {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.privacy-notice a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.privacy-notice a:hover {
    border-bottom-color: #0066cc;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.modal-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-modal {
    background: #0066cc;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: #004499;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form Validation Messages */
.validation-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group.error .validation-message {
    display: block;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 60px;
    }

    .contact-title-bg {
        font-size: 80px;
        top: -10%;
    }

    .contact-title-main {
        font-size: 32px;
    }

    .contact-form {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        margin-bottom: 30px;
    }

    .submit-btn {
        padding: 15px 40px;
        font-size: 16px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .contact-title-wrapper {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-title-bg {
        font-size: 60px;
    }

    .contact-title-main {
        font-size: 28px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px; /* iOS zoom prevention */
    }

    .submit-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .contact-page {
        background: white;
    }

    .submit-btn,
    .modal {
        display: none;
    }

    .contact-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===========================================
   Business Page Styles
   =========================================== */

   .business-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Message Section */
.message-section {
    margin-bottom: 80px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.message-content {
    padding: 60px;
}

.message-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.message-title-bg {
    width: 100%;
    font-size: 120px;
    font-weight: 900;
    font-family: "Crimson Text", serif;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    letter-spacing: 2px;
    -webkit-text-stroke: 2px #222;
}

.message-title-main {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.message-body {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.message-text {
    flex: 2;
}

.message-subtitle {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: bold;
}

.message-content-text {
    margin-bottom: 40px;
}

.message-content-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.ceo-signature {
    text-align: right;
    margin-top: 40px;
}

.ceo-signature p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.ceo-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.ceo-photo {
    flex: 1;
    text-align: center;
}

.ceo-photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Business Content Section */
.business-content-section {
    margin-bottom: 80px;
}

.business-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.business-title-bg {
    width: 100%;
    font-size: 120px;
    font-weight: 900;
    font-family: "Crimson Text", serif;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    letter-spacing: 2px;
    -webkit-text-stroke: 2px #222;
}

.business-title-main {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

/* Service Blocks */
.service-block {
    background: white;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0066cc;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    border-radius: 50%;
}

.service-icon img {
    width: 50px;
}

.service-title {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin: 0;
}

/* Service Needs */
.service-needs {
    margin-bottom: 30px;
}

.needs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.needs-list li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
}

.needs-list li::before {
    content: '✓';
    color: #0066cc;
    font-weight: bold;
    margin-right: 10px;
}

/* Service Description */
.service-description {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 10px;
    border-left: 5px solid #0066cc;
}

/* Service Detail */
.service-detail {
    margin-bottom: 40px;
}

.service-detail h4 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-detail p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* Process Diagram */
.process-diagram {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.diagram-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.diagram-flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 25px;
    min-height: 400px;
    border: 3px solid #e3e6ea;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

@media (max-width: 768px) {
  .process-diagram {
    padding: 0;
  }
    .diagram-flow {
        flex-direction: column;
        align-items: center;
        padding: 25px 15px;
        gap: 25px;
        min-height: auto;
    }
    
    .flow-side {
        width: 100%;
        max-width: 350px;
        flex-direction: column;
        gap: 20px;
        padding: 15px 10px;
    }
    
    .left-side, .right-side {
        align-items: center !important;
        order: 1;
    }
    
    .flow-center {
        order: 0;
        padding: 20px 15px;
        width: 100%;
        max-width: 280px;
    }
    
    .left-arrows, .right-arrows {
        align-items: center !important;
        order: 2;
    }
    
    .client-section, .customer-section {
        min-width: 140px;
        padding: 20px 18px;
        gap: 12px;
    }
    
    .building-icon, .customer-icon {
        font-size: 40px;
    }
    
    .client-label, .customer-label {
        font-size: 16px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .logo-subtext {
        font-size: 9px;
    }
    
    .person-icon {
        font-size: 28px;
    }
    
    .business-team {
        gap: 15px;
        margin-top: 10px;
    }
    
    .arrow-group {
        gap: 15px;
        flex-direction: row !important;
        padding: 10px 0;
    }
    
    .arrow-row {
        gap: 8px;
        padding: 8px 12px;
        border-radius: 15px;
    }
    
    .arrow-label {
        font-size: 12px;
        min-width: 70px;
        padding: 6px 10px;
        border-radius: 12px;
    }
    
    .arrow-line {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .diagram-flow {
        padding: 20px 10px;
        gap: 20px;
        border-radius: 20px;
    }
    
    .flow-side {
        max-width: 100%;
        padding: 10px 5px;
    }
    
    .flow-center {
        max-width: 100%;
        padding: 15px 10px;
    }
    
    .client-section, .customer-section {
        min-width: 120px;
        padding: 15px 12px;
    }
    
    .building-icon, .customer-icon {
        font-size: 35px;
    }
    
    .client-label, .customer-label {
        font-size: 14px;
    }
    
    .logo-circle {
        width: 90px;
        height: 90px;
    }
    
    .logo-text {
        font-size: 11px;
    }
    
    .logo-subtext {
        font-size: 8px;
    }
    
    .person-icon {
        font-size: 24px;
    }
    
    .business-team {
        gap: 12px;
    }
    
    .arrow-row {
        gap: 6px;
        display: block !important;
        padding: 6px 10px;
    }
    
    .arrow-label {
        font-size: 11px;
        min-width: 60px;
        padding: 5px 8px;
    }
    
    .arrow-line {
        font-size: 14px;
    }
}

.flow-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center !important;
    gap: 30px;
    min-width: 220px;
    padding: 20px 10px;
}

.left-side {
    align-items: flex-end;
}

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

.client-section, .customer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  min-width: 160px;
}

.building-icon {
    font-size: 50px;
    color: #4a90e2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.customer-icon {
    font-size: 50px;
    color: #f39c12;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite reverse;
}

.client-label, .customer-label {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.building-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.building-item {
    width: 60px;
    height: 25px;
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.building-item.customer {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
}

.flow-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.company-logo {
    position: relative;
}

.logo-circle {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
    border: 5px solid #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

.logo-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    z-index: 1;
}

.logo-subtext {
    font-size: 12px;
    opacity: 0.9;
    z-index: 1;
}

.business-team {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.person-icon {
    font-size: 35px;
    color: #5a6c7d;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.person-icon.active {
    color: #4a90e2;
    transform: scale(1.3);
    animation: bounce 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1.3) translateY(0); }
    50% { transform: scale(1.3) translateY(-5px); }
}

.arrow-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.left-arrows {
    align-items: flex-end;
}

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

.arrow-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f2f5;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
}

.arrow-label {
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50;
    min-width: 80px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 8px 12px;
    border-radius: 15px;
    border: 2px solid #e1e8ed;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.arrow-line {
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.arrow-line.right {
    color: #e74c3c;
}

.arrow-line.left {
    color: #27ae60;
}

.top-arrow .arrow-line {
    animation: flow-right 2s infinite;
}

.middle-arrow .arrow-line {
    animation: flow-left 2s infinite;
}

@keyframes flow-right {
    0%, 100% { transform: translateX(0) scale(1); opacity: 0.8; }
    50% { transform: translateX(8px) scale(1.1); opacity: 1; }
}

@keyframes flow-left {
    0%, 100% { transform: translateX(0) scale(1); opacity: 0.8; }
    50% { transform: translateX(-8px) scale(1.1); opacity: 1; }
}

/* PDCA Diagram */
.pdca-diagram {
    margin-top: 40px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.pdca-diagram h5 {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.pdca-circle {
    position: relative;
    width: 550px;
    height: 550px;
    margin: 0 auto;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.pdca-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 50%;
}

.pdca-center {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
}

.pdca-center:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.5);
}

.pdca-item {
    position: absolute;
    width: 180px;
    background: white;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.pdca-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pdca-item.plan {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    border-color: #95a5a6;
}

.pdca-item.plan:hover {
    transform: translateX(-50%) translateY(-5px);
}

.pdca-item.do {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #fdf2e9 0%, #f39c12 100%);
    border-color: #e67e22;
}

.pdca-item.do:hover {
    transform: translateY(-50%) translateX(-5px);
}

.pdca-item.check {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #eaf2f8 0%, #3498db 100%);
    border-color: #2980b9;
}

.pdca-item.check:hover {
    transform: translateX(-50%) translateY(5px);
}

.pdca-item.action {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #e8f8f5 0%, #1abc9c 100%);
    border-color: #16a085;
}

.pdca-item.action:hover {
    transform: translateY(-50%) translateX(5px);
}

.pdca-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 5px;
}

.pdca-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pdca-item li {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Call Center Flow */
.call-center-flow {
    overflow: hidden;
}

.call-center-flow img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flow-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.call-flow-diagram {
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flow-section {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    border: 4px solid;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.left-section {
    border-color: #8B0000;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.right-section {
    border-color: #4a90e2;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.flow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.top-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.main-flow-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hexagon-item {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 3px solid #999;
    padding: 18px 25px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    clip-path: polygon(15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%, 0% 50%);
    min-width: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hexagon-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.hexagon-item.start-target {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    border-color: #666;
    position: relative;
    left: -80px;
}

.hexagon-item.main-hex {
    background: linear-gradient(135deg, #d8d8d8 0%, #c0c0c0 100%);
    border-color: #777;
}

.curved-arrow {
    font-size: 28px;
    color: #8B0000;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: rotate(-30deg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.straight-arrow {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.arrow-down-to-red {
    font-size: 24px;
    color: #8B0000;
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 1.5s infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.hexagon-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bottom-services {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.service-box {
    background: linear-gradient(135deg, #8B0000 0%, #a00000 100%);
    color: white;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    min-width: 140px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #600000;
    position: relative;
}

.service-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.5);
}

.service-box.targeting {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-box.telemarketing {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.hexagon-flow {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.arrow-right {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.blue-circles-section {
    position: relative;
    margin-bottom: 20px;
}

.blue-circles {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.circle-arrows {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: -10px;
    position: relative;
}

.circle-arrow {
    font-size: 16px;
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
}

.blue-circle {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
    border: 3px solid #2c5aa0;
}

.blue-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.5);
}

.management-section {
    text-align: center;
    padding-top: 25px;
    border-top: 3px solid #4a90e2;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-radius: 8px;
    margin-top: 20px;
    padding: 20px;
}

.management-title {
    font-size: 22px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.management-subtitle {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.step-content {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .business-page {
        padding: 100px 0 60px;
    }

    .message-content {
        padding: 30px 20px;
    }

    .message-title-bg,
    .business-title-bg {
        font-size: 60px;
    }

    .message-title-main,
    .business-title-main {
        font-size: 28px;
    }

    .message-body {
        flex-direction: column;
        gap: 30px;
    }

    .message-subtitle {
        font-size: 22px;
    }

    .service-block {
        padding: 30px 20px;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .service-title {
        font-size: 24px;
    }

    .diagram-flow {
        display: block;
        gap: 15px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .pdca-circle {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }

    .pdca-item {
        width: 150px;
        padding: 12px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    .pdca-item.plan {
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .pdca-item.do {
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
    }

    .pdca-item.check {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .pdca-item.action {
        top: 50%;
        left: -10px;
        transform: translateY(-50%);
    }
    
    .pdca-center {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }
    
    .pdca-label {
        font-size: 14px;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }
    
    .pdca-item ul {
        margin-top: 8px;
    }
    
    .pdca-item li {
        font-size: 10px;
        margin-bottom: 3px;
        line-height: 1.3;
    }

    .pdca-center {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }

    .call-flow-diagram {
        flex-direction: column;
        gap: 20px;
    }

    .step-box {
        min-width: 120px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .message-content {
        padding: 20px 15px;
    }

    .service-block {
        padding: 20px 15px;
        margin-bottom: 40px;
    }

    .message-title-bg,
    .business-title-bg {
        font-size: 40px;
    }

    .message-title-main,
    .business-title-main {
        font-size: 24px;
    }

    .message-subtitle {
        font-size: 18px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon img {
        width: 35px;
        height: 35px;
    }

    .pdca-diagram {
        padding: 20px 10px;
        border-radius: 12px;
    }
    
    .pdca-diagram h5 {
        font-size: 16px;
        margin-bottom: 20px;
        padding: 0 5px;
        line-height: 1.4;
    }

    .pdca-circle {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .pdca-item {
        width: 110px;
        padding: 8px;
        font-size: 10px;
        border-radius: 8px;
    }
    
    .pdca-item.plan {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .pdca-item.do {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .pdca-item.check {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .pdca-item.action {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .pdca-center {
        width: 70px;
        height: 70px;
        font-size: 11px;
        line-height: 1.2;
    }
    
    .pdca-label {
        font-size: 11px;
        margin-bottom: 5px;
        padding-bottom: 2px;
    }
    
    .pdca-item ul {
        margin-top: 5px;
    }
    
    .pdca-item li {
        font-size: 8px;
        margin-bottom: 1px;
        line-height: 1.1;
    }
}

/* Extra small devices (very small smartphones) */
@media (max-width: 360px) {
    .pdca-diagram {
        padding: 15px 5px;
        margin-top: 30px;
    }
    
    .pdca-diagram h5 {
        font-size: 14px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .pdca-circle {
        width: 220px;
        height: 220px;
    }

    .pdca-item {
        width: 95px;
        padding: 6px;
        font-size: 9px;
        border-radius: 6px;
    }
    
    .pdca-item.plan {
        top: 5px;
    }

    .pdca-item.do {
        right: 5px;
    }

    .pdca-item.check {
        bottom: 5px;
    }

    .pdca-item.action {
        left: 5px;
    }

    .pdca-center {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }
    
    .pdca-label {
        font-size: 10px;
        margin-bottom: 4px;
        padding-bottom: 2px;
    }
    
    .pdca-item li {
        font-size: 7px;
        line-height: 1.0;
    }
}

/* Print Styles */
@media print {
    .business-page {
        background: white;
    }

    .service-block,
    .message-section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .pdca-circle {
        background: white;
        border: 2px solid #ddd;
    }
}