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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* ヘッダー */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  display:flex;
  align-items:center;
  gap:10px;
}

.logo span {
  font-size: 12px;
  display: block;
  color: #666;
  font-weight: normal;
}

.logo img{height:28px;width:auto;display:block}

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

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

.nav-menu a:hover {
  color: #4dd0e1;
}

/* ハンバーガーメニュー */
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; }
.hamburger span { position: relative; display: block; width: 22px; height: 2px; background: #333; transition: .3s; }
.hamburger span::before, .hamburger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: #333; transition: .3s; }
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }

@media (max-width: 768px) {
  nav { display: flex; align-items: center; justify-content: space-between; }
  .nav-menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; padding: 16px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-bottom: 1px solid #eee; }
  .nav-menu li { margin: 10px 0; }
  .hamburger { display: inline-flex; }
  /* チェック時に開く */
  .nav-toggle:checked + label + .nav-menu { display: block; }
  /* 変形アニメ */
  .nav-toggle:checked + label .bar { background: transparent; }
  .nav-toggle:checked + label .bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + label .bar::after { transform: translateY(-7px) rotate(-45deg); }
}

.contact-btn {
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(77, 208, 225, 0.3);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 208, 225, 0.4);
}

/* 固定フローティングお問い合わせボタン */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(77, 208, 225, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(77, 208, 225, 0.45);
}

.floating-contact svg {
  width: 18px;
  height: 18px;
}

/* ヒーローセクション */
.hero {
  margin-top: 70px;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border: 2px solid rgba(77, 208, 225, 0.3);
  border-radius: 50%;
  animation: pulse 3s infinite;
}

.hero-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary {
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  color: #fff;
  box-shadow: 0 10px 24px rgba(77, 208, 225, 0.35);
}

.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(77, 208, 225, 0.45);
}

.cta-primary:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.maintenance {
  padding: 48px 16px;
  background: rgba(255, 255, 255, 0.85);
}

.maintenance .card {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  background-color: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.maintenance h2 {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 32px);
  color: #0f172a;
  margin-bottom: 24px;
}

.maintenance .card h3 {
  font-size: clamp(20px, 3vw, 26px);
  color: #1e293b;
  margin-bottom: 12px;
}

.maintenance .card p {
  color: #334155;
  line-height: 1.7;
}

.maintenance .pricing {
  margin-top: 20px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  min-width: 480px;
}

.price-table th,
.price-table td {
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.95);
}

.price-table th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #0f172a;
}

.price-table tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}

.maintenance .includes {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.maintenance .includes p {
  font-size: 15px;
}

.maintenance .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.maintenance .cta {
  background: transparent;
  color: #0ea5e9;
  border: 1px solid #0ea5e9;
  box-shadow: none;
  padding: 10px 20px;
}

.maintenance .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.25);
}

.maintenance .cta:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}

.maintenance .cta-primary {
  background: #1e293b;
  color: #fff;
  border-color: #1e293b;
}

.maintenance .cta-primary:hover {
  box-shadow: 0 10px 24px rgba(30, 41, 59, 0.35);
}

.maintenance .cta-primary:focus-visible {
  outline-color: #1e293b;
}

@media (max-width: 768px) {
  .maintenance .card {
    padding: 24px;
  }

  .price-table {
    min-width: 100%;
  }

  .maintenance .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* 既存ページのヒーローバリエーション */
.hero-title {
  margin-top: 70px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), var(--hero-title-bg, linear-gradient(135deg, #1fb6cf 0%, #667eea 60%, #7f53ac 100%));
  background-size: cover, cover;
  background-position: center;
}

.hero-title::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%);
  filter: blur(2px);
  pointer-events: none;
}

.hero-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(640px, 90%);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(77, 208, 225, 0.9), transparent);
  opacity: 0.9;
}

.hero-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 20px;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease 0.2s both;
}

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

/* サービス導入部 */
.services-intro {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(77, 208, 225, 0.05), transparent);
  animation: shimmer 3s infinite;
}

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

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

.intro-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.intro-content p {
  font-size: 18px;
  color: #4a5568;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.tab-container { max-width: 600px; margin: 0 auto; }
.tabs { display: flex; border-bottom: 2px solid #e0e0e0; margin-bottom: 30px; }
.tab { flex: 1; padding: 12px 20px; background: none; border: none; font-size: 14px; cursor: pointer; color: #666; position: relative; transition: color 0.3s; }
.tab.active { color: #4dd0e1; }
.tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: #4dd0e1; }
.tab-content p { color: #666; line-height: 1.8; font-size: 14px; }

/* ホームのタブ用：複数パネル構造に対応 */
.tab-panels { margin-top: 16px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* サービスセクション */
.services { 
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); 
  padding: 100px 20px; 
  color: #fff; 
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(77, 208, 225, 0.1) 0%, transparent 50%), 
              radial-gradient(circle at 80% 80%, rgba(77, 208, 225, 0.1) 0%, transparent 50%);
}

.services-header { 
  text-align: center; 
  margin-bottom: 60px; 
  position: relative;
  z-index: 1;
}

.services-header h2 { 
  font-size: 36px; 
  margin-bottom: 16px; 
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.services-header p { 
  font-size: 18px; 
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 40px; 
  max-width: 1200px; 
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card { 
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  padding: 50px 35px; 
  text-align: center; 
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover { 
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(77, 208, 225, 0.2);
}

.service-card h3 { 
  font-size: 24px; 
  margin-bottom: 24px;
  color: #4dd0e1;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.service-meta {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.service-meta li {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  color: #e2e8f0;
  display: flex;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.service-meta span {
  color: #4dd0e1;
  font-weight: 600;
}

.service-btn {
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  color: #fff;
  padding: 12px 32px;
  border: none; 
  border-radius: 25px;
  text-decoration: none; 
  display: inline-block; 
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(77, 208, 225, 0.3);
  position: relative;
  z-index: 1;
}

.service-btn:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 208, 225, 0.4);
}

.service-btn:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
}

/* パートナーセクション（=サービス領域見出し） */
.partners { 
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  padding: 100px 20px; 
  position: relative;
}

.partners::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4dd0e1, transparent);
}

.partners h2 { 
  text-align: center; 
  font-size: 36px; 
  margin-bottom: 60px; 
  color: #2d3748;
  font-weight: 700;
  position: relative;
}

.partners h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  border-radius: 2px;
}

.partner-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 50px; 
  max-width: 1000px; 
  margin: 0 auto; 
}

.partner-item { 
  text-align: center;
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.partner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.partner-item:hover::before {
  transform: translateX(0);
}

.partner-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(77, 208, 225, 0.15);
}

.partner-icon {
  margin-bottom: 25px;
}

.partner-icon img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  padding: 15px;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  transition: all 0.3s ease;
}

.partner-item:hover .partner-icon img {
  transform: scale(1.1) rotate(5deg);
}

.partner-item h3 { 
  font-size: 18px; 
  margin-bottom: 20px; 
  color: #2d3748;
  font-weight: 600;
}

.partner-item p { 
  font-size: 14px; 
  color: #4a5568; 
  line-height: 1.7;
  margin-bottom: 25px;
}

.view-details { 
  margin-top: 20px; 
  color: #4dd0e1; 
  font-size: 14px; 
  text-decoration: none; 
  display: inline-block;
  font-weight: 600;
  padding: 8px 20px;
  border: 2px solid #4dd0e1;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.view-details:hover {
  background: #4dd0e1;
  color: #fff;
  transform: translateY(-2px);
}

/* 会社情報セクション */
.company-info { background: #f8f8f8; padding: 80px 20px; }
.company-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.company-details h3 { font-size: 20px; margin-bottom: 30px; color: #333; }
.info-row { display: flex; margin-bottom: 20px; font-size: 14px; }
.info-label { width: 100px; color: #666; }
.info-value { flex: 1; color: #333; }
.map-container { background: #e0e0e0; height: 300px; display: flex; align-items: center; justify-content: center; color: #666; }
.access-info { margin-top: 20px; padding: 20px; background: #fff; }
.access-info p { font-size: 13px; color: #666; line-height: 1.6; }

/* お問い合わせセクション */
.contact-section { background: #fff; padding: 80px 20px; text-align: center; }
.contact-section h2 { font-size: 24px; margin-bottom: 30px; color: #333; }
.contact-form { max-width: 500px; margin: 0 auto; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #666; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; font-size: 14px; font-family: inherit; }
.form-group textarea { height: 120px; resize: vertical; }
.privacy-note { font-size: 12px; color: #666; margin: 20px 0; line-height: 1.6; }
.submit-btn { background: #4dd0e1; color: #fff; padding: 12px 40px; border: none; font-size: 16px; cursor: pointer; transition: background 0.3s; }
.submit-btn:hover { background: #26c6da; }

/* CTA セクション */
.cta-section { background: linear-gradient(135deg, #4dd0e1, #26c6da); padding: 60px 20px; text-align: center; color: #fff; }
.cta-section h2 { font-size: 28px; margin-bottom: 20px; }
.phone-number { font-size: 36px; font-weight: bold; margin: 20px 0; }
.business-hours { font-size: 14px; opacity: 0.9; }
.email-signup { margin-top: 30px; background: #fff; padding: 30px; border-radius: 8px; color: #333; max-width: 400px; margin-left: auto; margin-right: auto; }
.email-signup h3 { font-size: 18px; margin-bottom: 15px; }
.email-form { display: flex; gap: 10px; margin-bottom: 10px; }
.email-form input { flex: 1; padding: 10px; border: 1px solid #ddd; font-size: 14px; }
.email-form button { background: #4dd0e1; color: #fff; padding: 10px 20px; border: none; cursor: pointer; }

/* フッター */
footer { background: #2c3e50; color: #fff; padding: 40px 20px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 30px; }
.footer-section h4 { font-size: 16px; margin-bottom: 15px; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 10px; }
.footer-section a { color: #bbb; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-section a:hover { color: #4dd0e1; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #34495e; font-size: 13px; color: #bbb; }

/* 私たちについてページの固有スタイル */

/* イントロセクション */
.intro-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.intro-section .section-content {
  max-width: 1000px;
  margin: 0 auto;
}

.intro-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  line-height: 1.4;
}

.intro-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.intro-text {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.intro-description strong, .intro-text strong {
  color: #4dd0e1;
  background: rgba(77, 208, 225, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

/* AWS取り組みセクション */
.aws-section {
  background: #2c3e50;
  padding: 80px 20px;
  color: #fff;
}

.aws-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.aws-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
  font-weight: 600;
}

.aws-section h2 span {
  font-size: 14px;
  color: #4dd0e1;
  margin-left: 10px;
  font-weight: normal;
}

.aws-intro {
  margin-bottom: 60px;
}

.aws-intro-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.aws-intro-image img {
  width: 100%;
  border-radius: 8px;
}

.aws-intro-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #4dd0e1;
}

.aws-intro-text p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.aws-intro-text strong {
  color: #4dd0e1;
}

/* ポイントカードグリッド */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.point-card {
  background: #34495e;
  padding: 30px 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

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

.point-label {
  background: #4dd0e1;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.point-card h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #4dd0e1;
  line-height: 1.3;
}

.point-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

/* AI活用セクション */
.ai-section {
  background: #fff;
  padding: 80px 20px;
}

.ai-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.ai-intro {
  margin-bottom: 60px;
}

.ai-intro-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ai-intro-image img {
  width: 100%;
  border-radius: 8px;
}

.ai-intro-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.ai-intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.ai-intro-text strong {
  color: #4dd0e1;
  background: rgba(77, 208, 225, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

/* AIツールカードグリッド */
.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.ai-tool-card {
  background: #f8f8f8;
  padding: 30px 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ai-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.ai-tool-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.ai-tool-card h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.ai-tool-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* AI要約セクション */
.ai-summary {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.ai-summary p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* 共通の section-content クラス */
.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* サービスページ固有のスタイル */
.ses-intro, .ai-intro {
  margin-bottom: 40px;
}

.ses-content, .ai-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ses-image img, .ai-image img {
  width: 100%;
  border-radius: 8px;
}

.ses-text h3, .ai-text h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.ses-text p, .ai-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.skills-header {
  max-width: 60vw;
  margin: 0 auto;
}
/* スキルセット用のスタイル */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
  max-width: 60vw;
  margin: 0 auto;
}

.skill-item {
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  padding: 25px 20px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(77, 208, 225, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.skill-item:hover::before {
  transform: scaleX(1);
}

.skill-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px rgba(77, 208, 225, 0.15);
  border-color: rgba(77, 208, 225, 0.3);
}

.skill-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  filter: grayscale(0.2);
  object-fit: cover;
}

.skill-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0);
}

.skill-item span {
  font-size: 15px;
  color: #2d3748;
  font-weight: 600;
  display: block;
}

/* 会社情報ページ固有のスタイル */
.company-details {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.company-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(77, 208, 225, 0.1);
  align-items: start;
  transition: all 0.3s ease;
  position: relative;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:hover {
  background: rgba(77, 208, 225, 0.02);
  padding-left: 10px;
  border-radius: 8px;
}

.info-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

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

.phone-link {
  color: #4dd0e1;
  text-decoration: none;
  font-weight: 600;
}

.phone-link:hover {
  text-decoration: underline;
}

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

.business-list li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.business-list li::before {
  content: '•';
  color: #4dd0e1;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 沿革セクション用のスタイル */
.history-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 200px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 40px 0;
  align-items: center;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 190px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  box-shadow: 0 0 20px rgba(77, 208, 225, 0.4);
  z-index: 1;
}

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

.timeline-date {
  font-size: 18px;
  font-weight: 700;
  color: #4dd0e1;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.timeline-content {
  font-size: 17px;
  color: #2d3748;
  opacity: 0.98;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background: #f8fafc;
  transform: translateX(10px);
}

/* マップコンテナのレスポンシブ対応 */
.map-container {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* =====================
   開発実績（works）ページ
   ===================== */
.works-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 24px;
}

/* =====================
   無料相談（contact-ssl）ページ
   ===================== */
#a-contactssl .content { max-width: 900px; margin: 40px auto; }
#a-contactssl .content form { 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 28px 24px; 
  border-radius: 16px; 
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(77, 208, 225, 0.15);
}

#a-contactssl .content .customform_error { margin: 10px 0 16px; }

#a-contactssl .content table.s_clear { width: 100%; border-collapse: collapse; }
#a-contactssl .content table.s_clear th {
  width: 180px; 
  text-align: left; 
  color: #334155; 
  background: #f1f5f9; 
  padding: 14px 16px; 
  border-radius: 10px; 
}
#a-contactssl .content table.s_clear td { padding: 12px 14px; }

#a-contactssl .content input[type="text"],
#a-contactssl .content input[type="email"],
#a-contactssl .content textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #334155;
  transition: border-color .2s, box-shadow .2s;
}

#a-contactssl .content textarea { min-height: 160px; resize: vertical; }

#a-contactssl .content input[type="text"]:focus,
#a-contactssl .content input[type="email"]:focus,
#a-contactssl .content textarea:focus {
  outline: none;
  border-color: #4dd0e1;
  box-shadow: 0 0 0 3px rgba(77,208,225,0.15);
}

#a-contactssl .content .t-c { text-align: center; }
#a-contactssl .content input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #4dd0e1, #26c6da);
  color: #fff;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(77, 208, 225, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
#a-contactssl .content input[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(77,208,225,0.45); }
#a-contactssl .content input[type="submit"][disabled] { opacity: .6; cursor: not-allowed; }

#a-contactssl .content .a-btn { display: inline-block; padding: 10px 16px; border-radius: 10px; background: #111827; color: #fff; }

/* contact-ssl レスポンシブ */
@media (max-width: 768px) {
  #a-contactssl .content { margin: 24px auto; }
  #a-contactssl .content table.s_clear, 
  #a-contactssl .content table.s_clear tbody, 
  #a-contactssl .content table.s_clear tr { display: block; width: 100%; }
  #a-contactssl .content table.s_clear th { width: auto; margin: 12px 0 6px; }
  #a-contactssl .content table.s_clear td { padding: 0 0 14px; }
}

.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e9eef5;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.card-media { width: 100%; height: 180px; overflow: hidden; }
.card-hero-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.work-card:hover .card-hero-img { transform: scale(1.05); }

.card-body { padding: 16px 18px; }
.card-title { font-size: 18px; margin: 0 0 8px; color: #1f2937; }
.card-desc { font-size: 14px; color: #64748b; line-height: 1.7; margin: 8px 0 12px; }

.chips { margin-bottom: 8px; }
.chip { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.chip.small { background: #e6f7ff; color: #2563eb; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; }

/* 初期は6件まで表示 */
.works-cards .work-card:nth-of-type(n+7) { display: none; }
#works-grid.expanded .work-card { display: flex; }

.works-more { text-align: center; margin: 12px 0 40px; }
#works-more-btn { display: inline-block; background: #e6f7ff; color: #0369a1; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 700; }
#works-more-btn:hover { background: #d5f0ff; }

/* スポット対応 */
.spot-support-block { max-width: 1000px; margin: 40px auto; text-align: center; }
.spot-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 20px 0 10px; }
.spot-icon-card { background: #fff; border: 1px solid #eef2f7; border-radius: 12px; padding: 18px 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); transition: transform .2s ease, box-shadow .2s ease; }
.spot-icon-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.08); }
.spot-icon-circle { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; color: #0ea5e9; background: #e6f7ff; }
.spot-icon { width: 24px; height: 24px; }
.spot-icon-title { font-size: 14px; margin: 8px 0 4px; color: #1f2937; }
.spot-icon-sub { font-size: 12px; color: #64748b; }

.spot-cases-toggle { text-align: center; margin: 18px 0 26px; }
.spot-toggle-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e5e7eb; border-radius: 999px; padding: 8px 14px; background: #fff; cursor: pointer; }
.spot-toggle-btn .chev { width: 18px; height: 18px; }
.spot-cases-panel { display: none; }
.spot-cases-panel.open { display: block; }
.cases-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.case-card { background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 14px 12px; text-align: left; }
.case-badge { display: inline-block; background: #e6f7ff; color: #0369a1; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.case-title { font-size: 15px; color: #111827; margin: 4px 0; }
.case-text, .case-metric { font-size: 13px; color: #64748b; }

/* works レスポンシブ */
@media (max-width: 1024px) {
  .works-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-icons { grid-template-columns: repeat(3, 1fr); }
  .cases-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .works-cards { grid-template-columns: 1fr; }
  .card-media { height: 170px; }
  .spot-icons { grid-template-columns: repeat(2, 1fr); }
  .cases-cards { grid-template-columns: 1fr; }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-content h1 { font-size: 28px; }
  /* ヒーロー帯のモバイル最適化 */
  .company-container { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .phone-number { font-size: 28px; }
  .skills-grid { grid-template-columns: 1fr; }
  /* サービス(SES) セクションのレスポンシブ */
  .ses-content { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .ses-image { max-width: 420px; margin: 0 auto; }
  .ses-text h3 { font-size: 18px; }
  
  /* 私たちについてページのレスポンシブ */
  .aws-intro-content,
  .ai-intro-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .points-grid {
    grid-template-columns: 1fr;
  }
  
  .ai-tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .intro-section h2,
  .aws-section h2,
  .ai-intro-text h2 {
    font-size: 24px;
  }
  
  /* 会社情報（company）ページのレスポンシブ */
  .hero-title { height: 120px; }
  .hero-title .hero-content h1 { font-size: 24px; }
  .hero-title .hero-content p { font-size: 14px; }
  
  .company-details { padding: 30px 22px; border-radius: 16px; }
  .info-row { grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; }
  .info-label { font-size: 13px; }
  .info-value { font-size: 13px; }
  
  .history-timeline { padding-left: 0; }
  .history-timeline::before { left: 16px; }
  .timeline-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 28px 36px; }
  .timeline-item::before { left: 8px; }
  .timeline-date { text-align: left; font-size: 16px; }
  .timeline-content { font-size: 15px; }
  
.map-container { padding: 12px; }
.map-container iframe { height: 300px; width: 100%; }
}

.cta-note {
  color: #4b5563;
  font-size: 0.9rem;
  margin-top: 8px;
}

.cta-stack {
  display: grid;
  gap: 8px;
  align-items: start;
}

.footer-cta {
  padding: 48px 16px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  text-align: center;
}

.footer-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.footer-cta .cta-primary {
  justify-self: center;
  min-width: 220px;
}

.footer-cta .cta-note {
  color: rgba(255, 255, 255, 0.85);
}

.contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 80px;
  display: grid;
  gap: 16px;
}

.contact > p {
  color: #4b5563;
}

.contact .field {
  display: grid;
  gap: 6px;
}

.contact .field + .field {
  margin-top: 12px;
}

.contact .field.checkbox {
  align-items: center;
  grid-template-columns: min-content 1fr;
  gap: 10px;
}

.contact .field.checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact .field input,
.contact .field textarea,
.contact .field select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
}

.contact .field input:focus,
.contact .field textarea:focus,
.contact .field select:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

.contact .field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact .error {
  color: #b91c1c;
  font-size: 0.85rem;
  min-height: 1em;
}

.privacy-note {
  font-size: 0.85rem;
  color: #4b5563;
  margin-top: 12px;
}

.privacy-note a {
  color: #2563eb;
}

.contact .actions {
  margin-top: 16px;
}

.contact .actions .cta {
  width: 100%;
  justify-content: center;
}

.contact .status {
  margin-top: 16px;
  min-height: 1.5em;
  color: #1f2937;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* タブレット向け 769px〜1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  /* サービス(SES) タブレット調整 */
  .ses-content { grid-template-columns: 220px 1fr; gap: 30px; }
}


