/* ===========================
   CSS変数
=========================== */
:root {
  --primary-color: #00d4ff;
  --primary-dark: #0099cc;
  --bg-color: #ffffff;
  --text-color: #000000;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===========================
   ヘッダー
=========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  transition: var(--transition);
}

.logo-text:hover {
  color: var(--primary-color);
}

.system-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-logo img {
  height: 50px;
  width: 50px;
  transition: var(--transition);
}

.system-logo img:hover {
  transform: translateY(-3px);
}

.system-logo span {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 3rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transition: var(--transition);
}

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

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--text-color);
  transition: var(--transition);
  border-radius: 3px;
}

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

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

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

/* ===========================
   Hero セクション (IZANAI風)
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 12rem 2rem 8rem;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../image/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.15));
  pointer-events: none;
}

#hero::after {
  content: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6rem;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1;
  max-width: 550px;
}

.hero-catchcopy {
  font-size: 3.6rem;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 4rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-features {
  margin-bottom: 3rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

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

.btn-primary, .btn-secondary {
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===========================
   セクション共通
=========================== */
section {
  padding: 8rem 2rem;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.8rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 6rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   お問い合わせCTA
=========================== */
.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(0, 153, 204, 0.03));
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline-block;
  padding: 2rem 5rem;
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.3);
  transition: var(--transition);
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 35px rgba(0, 212, 255, 0.5);
}

/* ===========================
   サービス紹介 (静的デザイン)
=========================== */
#services {
  background: #f8f9fa;
}

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

.service-card {
  background: white;
  padding: 4rem 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 12rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon i {
  filter: drop-shadow(0 4px 10px rgba(0, 212, 255, 0.3));
}

.service-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.service-card p {
  font-size: 1.6rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===========================
   導入事例 (角丸ボックス)
=========================== */
#case-studies {
  background: white;
}

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

.case-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.case-card:hover::before {
  opacity: 1;
}

.case-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-card h3::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

.case-card p {
  font-size: 1.6rem;
  color: var(--text-color);
  line-height: 1.8;
}

/* ===========================
   料金
=========================== */
#pricing {
  background: #f8f9fa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.price-card {
  background: white;
  padding: 4rem 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.price-card.featured {
  border: 3px solid var(--primary-color);
}

.price-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 1.2rem;
  font-weight: 600;
}

.price-card h3 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.price-features {
  margin: 3rem 0;
  text-align: left;
}

.price-features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.5rem;
  color: var(--text-color);
}

.price-features li:last-child {
  border-bottom: none;
}

/* ===========================
   FAQ
=========================== */
#faq {
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  padding: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(0, 212, 255, 0.05);
}

.faq-question::after {
  content: '+';
  font-size: 2.4rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 2rem 2rem;
  font-size: 1.6rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===========================
   お問い合わせ
=========================== */
#contact {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 4rem 0;
}

.btn-large {
  padding: 2rem 4rem;
  font-size: 1.8rem;
}

.contact-info {
  margin-top: 4rem;
  padding: 3rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2rem;
  color: var(--text-color);
}

.contact-email .material-symbols-outlined {
  font-size: 3rem;
  color: var(--primary-color);
}

.contact-email a {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.contact-email a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===========================
   フッター
=========================== */
footer {
  background: #000000;
  color: white;
  padding: 4rem 2rem 2rem;
}

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

.footer-section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.footer-section p,
.footer-section a {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #cccccc;
  display: block;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid #333333;
  font-size: 1.4rem;
  color: #999999;
}

/* ===========================
   スクロールトップボタン
=========================== */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  z-index: 999;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

/* ===========================
   アニメーション
=========================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    transition: var(--transition);
    padding: 3rem 2rem;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .hero-container {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .hero-catchcopy {
    font-size: 2.8rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    text-align: left;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-subtitle {
    font-size: 1.6rem;
  }

  .logo-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .services-grid,
  .cases-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-button {
    padding: 1.8rem 3rem;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-catchcopy {
    font-size: 2.2rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .cta-button {
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
  }
}
