:root {
  --primary: #1B5E20;
  --secondary: #2E7D32;
  --accent: #4CAF50;
  --accent-light: #81C784;
  --accent-dark: #388E3C;
  --green-primary: #2E7D32;
  --green-light: #E8F5E8;
  --green-bright: #4CAF50;
  --silver: #B0BEC5;
  --silver-light: #ECEFF1;
  --silver-dark: #90A4AE;
  --surface: #FFFFFF;
  --surface-alt: #F8FDF8;
  --text: #1B5E20;
  --text-muted: #546E7A;
  --border: #C8E6C9;
  --gradient-primary: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #4CAF50 100%);
  --gradient-silver: linear-gradient(135deg, #B0BEC5 0%, #ECEFF1 100%);
  --gradient-light: linear-gradient(135deg, #E8F5E8 0%, #FFFFFF 100%);
  --gradient-surface: linear-gradient(135deg, #F8FDF8 0%, #FFFFFF 100%);
  --shadow-sm: 0 1px 2px 0 rgba(27, 94, 32, 0.08);
  --shadow: 0 4px 6px -1px rgba(27, 94, 32, 0.12), 0 2px 4px -1px rgba(27, 94, 32, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(27, 94, 32, 0.15), 0 4px 6px -2px rgba(27, 94, 32, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(27, 94, 32, 0.18), 0 10px 10px -5px rgba(27, 94, 32, 0.12);
  --maxw: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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(2.2rem, 5vw + 1rem, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

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);
  word-break: keep-all;
  overflow-wrap: break-word;
  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;
  word-break: keep-all;
  overflow-wrap: break-word;
  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;
}

p, h1, h2, h3, h4, h5, h6, li, span, strong, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

@media (max-width: 768px) {
  p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

.flow li h4, .flow li p {
  word-break: keep-all;
  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;
}

#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;
}

#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-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;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  white-space: normal !important;
  line-break: strict !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;
}

.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: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  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(3, 1fr);
}

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

/* Cards */
.card {
  background: var(--gradient-surface);
  border: 1px solid var(--silver-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.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(-6px);
  box-shadow: var(--shadow-xl);
}

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

.card h3 {
  color: var(--green-primary);
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.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 {
    word-break: keep-all;
    overflow-wrap: break-word;
    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;
    word-break: keep-all;
    overflow-wrap: break-word;
    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;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  
  .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;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 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;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.info-box strong {
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
  display: block;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

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

/* インターンセクションの余白を確実に修正 */
#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;
}

/* 改行問題の根本的解決 - &nbsp;を使わない方法 */
p, .card p, .strength-item p, .flow li p, h1, h2, h3, h4, .subtitle-line {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  white-space: normal !important;
  line-break: strict !important;
}


/* 特定の文字での改行を防ぐ - 改良版 */
.no-break {
  word-break: keep-all !important;
  line-break: strict !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
  display: inline !important;
}

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

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

/* 日本語の改行制御を強化 */
.card p, .strength-item p, .flow li p {
  word-break: keep-all !important;
  line-break: strict !important;
  overflow-wrap: anywhere !important;
  hyphens: none !important;
}

/* 絵文字と記号の改行制御 */
.card p::before,
.card p::after {
  content: "";
  white-space: nowrap;
}

/* サブテキストの改行制御を強化 */
.subtitle-line {
  display: block;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  white-space: normal !important;
  line-break: strict !important;
}

.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: 200px;
  background: var(--web-gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--web-white);
  font-size: 1.2rem;
}

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

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

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



