:root {
  --primary: #0d7344;
  --secondary: #16a085;
  --accent: #27ae60;
  --accent-light: #7dcea0;
  --accent-dark: #0e6b3a;
  --green-primary: #0d7344;
  --green-light: #e8f8f5;
  --green-bright: #2ecc71;
  --green-modern: #1abc9c;
  --red-highlight: #e74c3c;
  --navy: #2c3e50;
  --navy-light: #34495e;
  --silver: #95a5a6;
  --silver-light: #ecf0f1;
  --silver-dark: #7f8c8d;
  --surface: #ffffff;
  --surface-alt: #f8fffe;
  --surface-gradient: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  --text: #2c3e50;
  --text-muted: #6c7b7f;
  --text-light: #95a5a6;
  --border: #bdc3c7;
  --gradient-primary: linear-gradient(135deg, #0d7344 0%, #16a085 50%, #27ae60 100%);
  --gradient-modern: linear-gradient(135deg, #1abc9c 0%, #27ae60 100%);
  --gradient-silver: linear-gradient(135deg, #95a5a6 0%, #ecf0f1 100%);
  --gradient-light: linear-gradient(135deg, #e8f8f5 0%, #ffffff 100%);
  --gradient-surface: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fffe 50%, #ffffff 100%);
  --shadow-sm: 0 2px 4px rgba(13, 115, 68, 0.08);
  --shadow: 0 6px 12px rgba(13, 115, 68, 0.12);
  --shadow-lg: 0 12px 24px rgba(13, 115, 68, 0.15);
  --shadow-xl: 0 20px 40px rgba(13, 115, 68, 0.18);
  --shadow-modern: 0 8px 32px rgba(26, 188, 156, 0.12);
  --maxw: 1200px;
  --border-radius: 20px;
  --border-radius-sm: 12px;
  --border-radius-xs: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease-out;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(1.4rem, 3vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 3vw + 1rem, 2.2rem);
  color: white;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  padding: 2rem 3rem 2rem 2rem;
  background: var(--gradient-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  line-height: 1.3;
  border-left: 8px solid var(--silver);
  border-bottom: 4px solid var(--accent-light);
}

h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--gradient-silver);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--silver));
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw + 0.5rem, 1.4rem);
  color: var(--green-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
  padding: 1.2rem 2rem 1.2rem 2.5rem;
  background: var(--gradient-light);
  border-radius: var(--border-radius-sm);
  border-left: 6px solid var(--accent);
  border-right: 2px solid var(--silver-light);
  box-shadow: var(--shadow-lg);
}

h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--silver-light));
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
}

h4 {
  font-size: clamp(1.1rem, 2vw + 0.3rem, 1.25rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Default text styling */

/* 基本的なpタグのフォントサイズを大きく */
p {
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  /* スマホでh2タグのフォントサイズと余白を調整 */
  h2 {
    font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* スマホでh3タグのフォントサイズと余白を調整 */
  h3 {
    font-size: clamp(1rem, 3vw, 1.2rem) !important;
    padding: 1rem 1.5rem !important;
    margin-bottom: 0.8rem !important;
  }
}

.flow li h4, .flow li p {
  text-align: left;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Layout */
section {
  padding: 4rem 1rem;
  position: relative;
  width: 100%;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Hero Section */
#hero {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Homepage specific hero styles */
.hero-home {
  background: transparent !important;
  padding: 0 !important;
  display: block;
  width: 100%;
}

.hero-home::before {
  display: none;
}

.hero-home .hero-image {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-home .hero-image img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

#hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Homepage specific hero content */
.hero-home .hero-content {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

#hero .hero-logo {
  flex-shrink: 0;
}

#hero .hero-logo img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

#hero .hero-image {
  flex: 1;
  text-align: center;
}

#hero .hero-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Homepage specific hero image */
.hero-home .hero-image {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-home .hero-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block !important;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
}

/* スマホでヒーロー画像を画面いっぱいに表示 */
@media (max-width: 768px) {
  .hero-home {
    padding: 0 !important;
  }
  
  .hero-home .container {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  .hero-home .hero-image {
    width: 100vw !important;
    margin: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }
  
  .hero-home .hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
  }
}

#hero .hero-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
  margin-left: -3rem;
}

#hero h1 {
  color: var(--green-primary) !important;
  background: none !important;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
  text-shadow: 
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    -3px 0 0 white,
    3px 0 0 white,
    0 -3px 0 white,
    0 3px 0 white !important;
  font-weight: bold;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: var(--green-primary) !important;
  line-height: 1.4;
}

#hero .title-line1 {
  margin-bottom: 0.5rem;
}

#hero .title-line1,
#hero .title-line2 {
  display: block;
  white-space: nowrap;
}

#hero .hero-subtitle {
  text-align: center !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .subtitle-desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center !important;
}

#hero .subtitle-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center !important;
}

#hero .subtitle-line {
  display: block;
  text-align: center !important;
  
  
  hyphens: none !important;
  white-space: normal !important;
  
  margin: 0.2rem 0;
  font-size: clamp(1rem, 2vw + 0.3rem, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.green-text {
  color: var(--green-primary);
  font-weight: bold;
  text-shadow: 
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 -2px 0 white,
    0 2px 0 white;
}

/* About section styles */
#about {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
  padding: 4rem 0;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(46, 125, 50, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.about-header h2 {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.about-header h2::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.tagline {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--green-primary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.highlight-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}

.about-content {
  position: relative;
  z-index: 1;
}

.mission-statement {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--green-primary);
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.mission-statement p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.mission-statement p:last-child {
  margin-bottom: 0;
}

.emphasis {
  background: linear-gradient(120deg, var(--green-primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.highlight {
  background: linear-gradient(120deg, #FF8C00, #FFA500);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.vision {
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(232, 245, 232, 0.3));
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin-top: 1.5rem;
}

.social-links {
  text-align: center;
  margin: 3rem 0 0 0;
  position: relative;
  z-index: 1;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-social::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-social:hover::before {
  left: 100%;
}

.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-icon {
  font-size: 1.3rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Operated Sites Section */
#operated-sites {
  background: var(--green-light);
  padding: 4rem 0;
}

.site-card {
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.site-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-primary);
}

.site-link {
  color: var(--green-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  transition: var(--transition);
  position: relative;
}

.site-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-link::after {
  content: '🔗';
  margin-left: 0.5rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition);
}

.site-link:hover::after {
  opacity: 1;
}

.site-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.75rem 0 1rem 0;
  line-height: 1.4;
  border-left: 3px solid var(--accent-light);
  padding-left: 0.75rem;
  background: rgba(76, 175, 80, 0.05);
  padding: 0.5rem 0.75rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.site-description {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

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

.promotion-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 253, 248, 0.9));
  border: 2px solid var(--green-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.promotion-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(76, 175, 80, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 4s infinite;
}

.promotion-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  position: relative;
  z-index: 1;
}

.promotion-text strong {
  color: var(--green-primary);
  font-size: 1.2rem;
}

.site-btn-wrap {
  margin-top: auto;
  padding-top: 1.5rem;
}

.btn-site {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--green-primary), var(--accent));
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
  border: none;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-site::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-site:hover::before {
  left: 100%;
}

.btn-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
  background: linear-gradient(135deg, var(--accent), var(--green-bright));
}

/* Social links styles */
.btn-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4) !important;
}

.orange-text {
  color: #FF8C00;
  font-weight: bold;
  text-shadow: 
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 -2px 0 white,
    0 2px 0 white;
}

/* モバイル対応 */
@media (max-width: 768px) {
  #hero {
    padding: 2rem 1rem;
    min-height: auto;
    text-align: center !important;
  }
  
  #hero .hero-content {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem;
    justify-content: center !important;
    width: 100%;
  }
  
  .cta-wrap {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  
  #hero .hero-logo {
    order: 1;
    align-self: center;
    width: 90%;
    text-align: center !important;
  }
  
  #hero .hero-logo img {
    max-width: none;
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin: 0 auto;
  }
  
  #hero .hero-text {
    order: 2;
    min-width: auto;
    width: 100%;
    text-align: center !important;
    margin-left: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
  }

  #hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    line-height: 1.2;
    text-align: center !important;
    width: 100%;
    margin: 0 auto 1.5rem auto;
  }

  #hero .title-line1,
  #hero .title-line2 {
    white-space: normal;
    text-align: center !important;
    display: block;
    width: 100%;
  }

  #hero .hero-subtitle {
    text-align: center !important;
    justify-content: center !important;
    width: 100%;
    display: flex !important;
    align-items: center !important;
  }

  #hero .subtitle-desktop {
    display: none !important;
  }

  #hero .subtitle-mobile {
    display: flex !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    flex-direction: column;
  }

  #hero .subtitle-line {
    font-size: clamp(0.9rem, 4vw, 1rem);
    white-space: normal;
    text-align: center !important;
    width: 100%;
    display: block;
    margin: 0.2rem auto;
  }
}

@media (max-width: 480px) {
  #hero {
    text-align: center !important;
  }
  
  #hero .hero-content {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  #hero .hero-logo {
    width: 90%;
    text-align: center !important;
  }
  
  #hero .hero-logo img {
    width: 100%;
    max-height: 200px;
    margin: 0 auto;
  }
  
  #hero .hero-text {
    text-align: center !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #hero h1 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
    text-align: center !important;
    width: 100%;
    margin: 0 auto 1rem auto;
  }
  
  #hero .title-line1,
  #hero .title-line2 {
    text-align: center !important;
    width: 100%;
    display: block;
  }
  
  #hero .hero-subtitle {
    text-align: center !important;
    width: 100%;
    justify-content: center !important;
    align-items: center !important;
  }
  
  #hero .subtitle-mobile {
    text-align: center !important;
    width: 100%;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #hero .subtitle-line {
    text-align: center !important;
    width: 100%;
    margin: 0.2rem auto;
    font-size: clamp(0.85rem, 4vw, 0.95rem);
  }
}

/* CTA Buttons */
.cta-wrap {
  position: static;
  text-align: center;
  margin-top: 2rem;
  z-index: 10;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: clamp(0.9rem, 1.5vw + 0.3rem, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: white;
  color: var(--green-primary);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--surface-alt);
}

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

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

@media (max-width: 480px) {
  .btn {
    padding: 0.8rem 1.5rem;
    min-width: 140px;
    font-size: 0.9rem;
  }
  
  .cta-wrap {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.card {
  background: var(--gradient-card);
  border: 1px solid rgba(189, 195, 199, 0.2);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  transform: translateY(0);
}

.card.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

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

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--silver) 50%, var(--accent-light) 100%);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.card:hover::before {
  height: 6px;
}

.card h3 {
  color: var(--green-primary);
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1.3;
  
  
}

.card p {
  margin-bottom: 0;
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    box-sizing: border-box;
  }
  
  .grid .card {
    
    
    box-sizing: border-box;
  }
  
  .card p {
    font-size: clamp(1.15rem, 3vw + 0.1rem, 1.25rem);
    line-height: 1.7;
  }
}

/* Service Cards with Icons */
.service-card {
  text-align: center;
  padding: 3rem 2rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 50%, var(--silver) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  transition: var(--transition);
  opacity: 0;
}

.service-icon:hover::before {
  opacity: 1;
  animation: shine 0.6s ease-in-out;
}

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

@media (max-width: 768px) {
  .service-icon {
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #consulting .service-icon,
  #local-ai-company .service-icon {
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Strength Section */
.strength-item {
  display: block;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.strength-num {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--silver) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.strength-item p {
  margin: 0 0 1rem 0;
  font-size: clamp(1.1rem, 1.5vw + 0.3rem, 1.2rem);
  line-height: 1.7;
}

.strength-item ul {
  margin: 1rem 0 0 0;
  padding: 0 0 0 1.2rem;
  width: 100%;
}

.strength-item li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .strength-item {
    display: block;
    text-align: left;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .strength-item p {
    text-align: left;
    padding: 0;
    
    
    font-size: clamp(1.05rem, 3vw, 1.2rem);
    line-height: 1.7;
    margin: 0 0 1rem 0;
  }

  .strength-item ul {
    margin: 1rem 0 0 0;
    padding: 0 0 0 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .strength-item li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    
    
  }
  
  .strength-num {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* フローセクション - 完全に修正 */
.flow {
  background: var(--surface);
  padding: 4rem 0.5rem;
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-content: center;
  margin: 0 0 4rem 0;
  padding: 0;
  list-style: none;
}

.flow li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 0;
  padding: 1.5rem;
  list-style: none;
  overflow: visible;
  transition: var(--transition);
  position: relative;
  display: block !important;
  visibility: visible !important;
  text-align: center;
}

.flow li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,139,87,0.15);
}

.flow li h4 {
  margin: 0 0 1rem 0;
  color: var(--green-primary);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: bold;
  display: block !important;
  visibility: visible !important;
  padding-left: 0;
  text-align: left;
}

.flow li p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  display: block !important;
  visibility: visible !important;
  padding-left: 0;
  text-align: left;
  
  
}

/* info-boxの文字はみ出し完全解決 */
.info-box {
  background: var(--surface);
  border: 2px solid var(--accent-light);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
  position: relative;
  
  
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.info-box strong {
  font-size: 0.95rem;
  line-height: 1.3;
  display: inline;
  margin-bottom: 0;
  max-width: 100%;
}

.info-box p {
  
  
  line-height: 1.7;
  margin: 0.5rem 0;
  max-width: 100%;
  font-size: 1.1rem;
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  max-width: 100%;
}

.info-box ul li {
  display: block;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* インターンセクションの余白を確実に修正 */
#intern {
  padding: 2rem 1rem 0.2rem;
}

#intern .container {
  padding-bottom: 0;
}

#intern .grid {
  margin-bottom: 0;
  gap: 1rem;
}

#intern .card {
  margin-bottom: 0;
  padding: 1.5rem;
}

#intern h2 {
  margin-bottom: 1rem;
}

/* Additional button styles for links - 青文字と下線のボタン型 */
.btn-link {
  background: white;
  color: #007bff !important;
  padding: 0.75rem 1.5rem;
  border: 2px solid #007bff;
  border-radius: var(--border-radius-sm);
  display: inline-block;
  text-decoration: underline !important;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.btn-link:hover {
  background: #007bff;
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

#intern .btn-link {
  margin: 0.5rem 0;
}

/* Natural text wrapping */
.no-break {
  white-space: nowrap !important;
}

.no-break-space {
  white-space: nowrap !important;
}

/* 完全な改行防止クラス */
.no-break-full {
  white-space: nowrap !important;
  
  overflow-wrap: normal !important;
  hyphens: none !important;
  line-break: auto !important;
}

/* Clean text styling */

.subtitle-line .green-text,
.subtitle-line .orange-text {
  white-space: nowrap !important;
  display: inline !important;
}

/* スマホでの調整 */
@media (max-width: 900px) {
  .flow ol {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .flow li {
    padding: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .flow ol {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .flow li {
    padding: 1.2rem;
    text-align: center;
  }
  .flow li h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
}

/* PCでの調整 */
@media (min-width: 769px) {
  #intern {
    padding-bottom: 0.2rem;
  }
  
  #intern .container {
    padding-bottom: 0;
  }
}

/* Founder Section */
.founder {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.founder div {
  flex: 1;
}

.founder h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.founder p, .founder li {
  font-size: 1.1rem;
  line-height: 1.7;
}

.profile-list {
  list-style-position: outside;
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 16px;
  }

  .grid,
  .grid-cols-2,
  .grid-cols-3,
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }

  .flow ol {
    display: block;
  }

  .flow li {
    margin-bottom: 1.5rem;
  }

  .founder {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .founder h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .profile-list {
    padding-left: 1rem;
  }
  
  .service-icon {
    margin: 0 auto 1.5rem 0;
  }
}

.founder img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .founder img {
    width: 150px;
    height: 150px;
  }
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 2rem auto 0;
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  form {
    padding: 2rem;
    margin: 1rem auto 0;
  }
}

input, textarea {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--surface-alt);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

button.submit {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

button.submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 4rem;
}

footer p {
  color: rgba(255, 255, 255, 0.9);
}

footer a {
  color: var(--silver-light);
}

/* Section Backgrounds */
section:nth-child(even) {
  background: var(--gradient-light);
}

section:nth-child(odd) {
  background: var(--surface);
}

/* Utility Classes */
.center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

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

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

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

/* Web制作ページ用のスタイル */

/* Web制作ページ用 CSS変数 */
:root {
  --web-primary-green: #28a745;
  --web-secondary-green: #20c997;
  --web-dark-green: #155724;
  --web-light-green: #d4edda;
  --web-accent-green: #40e0d0;
  --web-text-dark: #2c3e50;
  --web-text-light: #6c757d;
  --web-bg-light: #f8f9fa;
  --web-white: #ffffff;
  --web-shadow: 0 10px 30px rgba(40, 167, 69, 0.1);
  --web-gradient-primary: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  --web-gradient-secondary: linear-gradient(135deg, #40e0d0 0%, #28a745 100%);
}

/* Web制作ページ専用スタイル */
.web-page * {
  box-sizing: border-box;
}

.web-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--web-text-dark);
  overflow-x: hidden;
}

/* Web Header */
.web-page header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.web-page nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.web-page .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--web-primary-green);
}

.web-page .nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.web-page .nav-links a {
  text-decoration: none;
  color: var(--web-text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.web-page .nav-links a:hover {
  color: var(--web-primary-green);
}

/* Web Hero Section */
.web-page #hero {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.web-page .hero-content {
  max-width: 800px;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.web-page .hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.web-page .hero-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.web-page .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.web-page .cta-button {
  display: inline-block;
  background: var(--web-white);
  color: var(--web-primary-green);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--web-shadow);
}

.web-page .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.web-page .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.web-page .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

/* Web Section Styles */
.web-page section {
  padding: 5rem 0;
}

.web-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.web-page .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--web-text-dark);
}

.web-page .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--web-text-light);
  margin-bottom: 4rem;
}

/* Web Trust Section */
.web-page #trust {
  background: var(--web-bg-light);
}

.web-page .trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.web-page .trust-item {
  background: var(--web-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--web-shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.web-page .trust-item:hover {
  transform: translateY(-10px);
}

.web-page .trust-icon {
  width: 80px;
  height: 80px;
  background: var(--web-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--web-white);
}

/* Web Works Section */
.web-page .works-carousel {
  overflow-x: auto;
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
}

.web-page .work-item {
  min-width: 350px;
  background: var(--web-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--web-shadow);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.web-page .work-item:hover {
  transform: scale(1.05);
}

.web-page .work-image {
  height: 120px;
  background: var(--web-gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--web-white);
  font-size: 1.1rem;
  font-weight: 600;
}

.web-page .work-content {
  padding: 1.5rem;
}

/* Web Services Section */
.web-page #services {
  padding: 3rem 0;
}

.web-page #services h2 {
  margin-bottom: 1rem;
}

.web-page .section-intro {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.web-page .section-intro p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.web-page .service-card {
  background: var(--web-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--web-shadow);
  border-left: 5px solid var(--web-primary-green);
  transition: all 0.3s ease;
}

.web-page .service-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--web-secondary-green);
}

/* Web Process Section */
.web-page #process {
  background: var(--web-bg-light);
}

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

.web-page .process-step {
  background: var(--web-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--web-shadow);
  position: relative;
  transition: transform 0.3s ease;
}

.web-page .process-step:hover {
  transform: translateY(-5px);
}

.web-page .step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: var(--web-primary-green);
  color: var(--web-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Web Testimonials */
.web-page .testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.web-page .testimonial {
  background: var(--web-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--web-shadow);
  border-top: 5px solid var(--web-primary-green);
}

/* Web Pricing Section */
.web-page #pricing {
  background: var(--web-bg-light);
}

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

.web-page .pricing-card {
  background: var(--web-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--web-shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.web-page .pricing-card:hover {
  transform: translateY(-10px);
}

.web-page .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--web-primary-green);
  margin: 1rem 0;
}

/* Web CTA Section */
.web-page #cta {
  background: var(--web-gradient-primary);
  color: var(--web-white);
  text-align: center;
}

/* Web Footer */
.web-page footer {
  background: var(--web-dark-green);
  color: var(--web-white);
  text-align: center;
  padding: 3rem 0;
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Web Responsive Design */
@media (max-width: 768px) {
  .web-page .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .web-page .hero-content h2 {
    font-size: 1.2rem;
  }

  .web-page .nav-links {
    display: none;
  }

  .web-page .trust-grid,
  .web-page .services-grid,
  .web-page .process-steps,
  .web-page .testimonials,
  .web-page .pricing-grid {
    grid-template-columns: 1fr;
  }

  .web-page .works-carousel {
    padding: 1rem 0;
  }

  .web-page .work-item {
    min-width: 280px;
  }
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

/* 特別なスタイリング */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--silver-dark) 100%);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

/* 特に重要な要素の改行防止 */

/* Comparison Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.comparison-card h3 {
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  background: none;
  border: none;
  box-shadow: none;
}

.comparison-card h3::before,
.comparison-card h3::after {
  display: none;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.comparison-card li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  line-height: 1.5;
}

.comparison-spacer {
  flex-grow: 1;
}

.comparison-footer {
  background: rgba(255,255,255,0.2);
  padding: 1rem;
  border-radius: 8px;
  margin-top: auto;
  text-align: center;
}

.comparison-negative {
  border-color: #dc2626;
  border-left: 6px solid #dc2626;
}

.comparison-negative h3 {
  color: #dc2626;
}

.comparison-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-color: var(--silver);
  transform: scale(1.05);
}

.comparison-highlight h3 {
  color: white;
}

.comparison-highlight ul {
  color: rgba(255, 255, 255, 0.9);
}

.comparison-positive {
  background: white;
  border-left: 4px solid var(--green-primary);
}

.comparison-positive h3 {
  color: var(--green-primary);
}

.comparison-positive .comparison-footer {
  background: var(--gradient-light);
  color: var(--text);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-top: 1rem;
}

/* Award Grid Styles */
.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.award-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 120px;
  transition: var(--transition);
}

.award-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.award-title {
  font-weight: bold;
  color: var(--green-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.award-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.award-icon {
  font-size: 1.5rem;
}

.award-count {
  font-size: 1rem;
  color: var(--accent-dark);
  font-weight: bold;
}

@media (max-width: 768px) {
  .award-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }
  
  .award-box {
    padding: 1rem 0.8rem;
    min-height: 100px;
  }
  
  .award-title {
    font-size: 0.9rem;
  }
  
  .award-icon {
    font-size: 1.3rem;
  }
  
  .award-count {
    font-size: 0.9rem;
  }
}

/* 赤文字ハイライト用クラス */
.red-highlight {
  color: var(--red-highlight);
  font-weight: bold;
}

/* スクロールアニメーション用クラス - シンプルな上下動きに統一 */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-scale,
.scroll-animate-bounce,
.scroll-animate-flip,
.scroll-animate-slide-up,
.scroll-animate-rotate,
.scroll-animate-zoom,
#services .card,
#training .card,
#services h2,
#training h2,
[class*="scroll-animate"] {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.scroll-animate.animate-in,
.scroll-animate-left.animate-in,
.scroll-animate-right.animate-in,
.scroll-animate-scale.animate-in,
.scroll-animate-bounce.animate-in,
.scroll-animate-flip.animate-in,
.scroll-animate-slide-up.animate-in,
.scroll-animate-rotate.animate-in,
.scroll-animate-zoom.animate-in,
#services .card.animate-in,
#training .card.animate-in,
#services h2.animate-in,
#training h2.animate-in,
[class*="scroll-animate"].animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Staggered animation delays for different animation types */
[class*="scroll-animate"]:nth-child(1) { transition-delay: 0.1s; }
[class*="scroll-animate"]:nth-child(2) { transition-delay: 0.2s; }
[class*="scroll-animate"]:nth-child(3) { transition-delay: 0.3s; }
[class*="scroll-animate"]:nth-child(4) { transition-delay: 0.4s; }
[class*="scroll-animate"]:nth-child(5) { transition-delay: 0.5s; }
[class*="scroll-animate"]:nth-child(6) { transition-delay: 0.6s; }

/* Card-specific scroll animations - 統一された上下動き */
.card.scroll-animate:nth-child(odd),
.card.scroll-animate:nth-child(even),
.card[class*="scroll-animate"] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.scroll-animate.animate-in:nth-child(odd),
.card.scroll-animate.animate-in:nth-child(even),
.card[class*="scroll-animate"].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Service icon animations - シンプルに */
.service-icon {
  opacity: 0.8;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

.card.animate-in .service-icon {
  opacity: 1;
  transform: scale(1);
}

/* Enhanced button animations */
.btn-link, .btn-site {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-link:hover, .btn-site:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(13, 115, 68, 0.3);
}

/* Text reveal animation */
.scroll-text-reveal {
  overflow: hidden;
}

.scroll-text-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--green-primary);
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-text-reveal.animate-in::before {
  transform: translateX(100%);
}








