/* ヒーローセクション */
.hero-content {
  position: relative;
  height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/img/dist/main_img.webp') no-repeat center center;
  background-size: cover;
  z-index: -2;
}

.hero-content::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  mix-blend-mode: overlay;
  z-index: -1;
}

.hero-content h1 {
  color: var(--color-text-light);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  color: var(--color-text-light);
  font-size: var(--font-size-h3);
  max-width: var(--max-line-width);
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.hero-content .btn--home {
  margin-top: 40px;
  border: solid 0.2em var(--color-text-light);
  padding: var(--button-padding-medium);
  color: var(--color-text-light);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0;
  background-color: rgba(44, 139, 128, 0.15);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
}

.hero-content .btn--home:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-button);
}

.hero-content svg {
  position: absolute;
  bottom: 0;
}

/* 環境IoTテーマ用ヒーロー */
.hero-futuristic {
  position: relative;
  height: auto;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-bottom: 100px; /* 波形に合わせて余白を調整 */
  padding-top: 80px;
  margin-top: 60px;
  box-sizing: border-box;
}

.hero-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(34, 197, 94, 0.7), rgba(59, 130, 246, 0.8)),
    url('/static/img/dist/earth_overview_photo.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.hero-futuristic:hover::before {
  transform: scale(1);
}

.hero-futuristic__content {
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-futuristic__title {
  font-family: var(--font-family-base);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
}

.hero-futuristic__subtitle {
  font-family: var(--font-family-japanese);
  font-size: var(--font-size-h3);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-base);
}

/* フェードアウトアニメーション */
@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* アニメーション用の基本クラス */
.animate-in-down,
.animate-in-up,
.animate-in-left,
.animate-in-right {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
    visibility 0.6s ease-out;
  will-change: opacity, transform, visibility;
}

.animate-in-down {
  transform: translate3d(0, -50px, 0);
}

.animate-in-up {
  transform: translate3d(0, 50px, 0);
}

.animate-in-left {
  transform: translate3d(-50px, 0, 0);
}

.animate-in-right {
  transform: translate3d(50px, 0, 0);
}

.animate-in-down.is-visible,
.animate-in-up.is-visible,
.animate-in-left.is-visible,
.animate-in-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

/* アニメーション実行時のクラス */
.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* 遅延アニメーション用のクラス */
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}

/* グラスモーフィズム用のスタイル */
.glass-navbar {
  background-color: rgba(15, 61, 62, 0.75); /* 透明度を少し上げて背景を明るく */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 境界線を明るく */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1030; /* z-indexを明示的に設定 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: calc(100% - 8px); /* スクロールバーの幅(8px)を引いた幅に設定 */
  max-width: calc(100% - 8px);
  right: 8px; /* 右側にスクロールバーの幅分の余白を確保 */
  left: 0;
  box-sizing: border-box;
}

/* スクロール時のナビゲーションバーのスタイル */
.glass-navbar.scrolled {
  background-color: rgba(15, 61, 62, 0.85); /* スクロール時の透明度も調整 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: calc(100% - 8px); /* スクロールバーの幅(8px)を引いた幅に設定 */
  max-width: calc(100% - 8px);
}

.glass-navbar .navbar-brand {
  color: #0f3d3e;
  text-shadow: none;
}

.glass-navbar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* テキストに影を追加 */
}

/* ハンバーガーボタンのスタイル修正 */
.glass-navbar .navbar-toggler {
  border: 2px solid rgba(15, 61, 62, 0.8) !important;
  background-color: rgba(255, 255, 255, 0.8) !important;
  padding: 8px 10px !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.glass-navbar .navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 1) !important;
  border-color: #0f3d3e !important;
}

.glass-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(15, 61, 62, 0.9)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* .glass-navbar .nav-link のホバー・アクティブ状態を統合 */
.glass-navbar .nav-link:hover,
.glass-navbar .nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(86, 209, 167, 0.8); /* ホバー時に光るような影を追加 */
}

/* .glass-navbar .nav-link::after のみでOK（重複削除） */
.glass-navbar .nav-link::after,
nav#main-navbar .nav-link::after {
  content: '' !important;
  position: absolute !important;
  width: 100% !important;
  height: 3px !important;
  bottom: 0 !important;
  left: 0 !important;
  background: #56d1a7 !important;
  transform: scaleX(0) !important;
  transform-origin: bottom right !important;
  transition: transform 0.3s ease-out !important;
  opacity: 0.8 !important;
  z-index: 1 !important;
}

.glass-navbar .nav-link:hover::after,
.glass-navbar .nav-link.active::after,
nav#main-navbar .nav-link:hover::after,
nav#main-navbar .nav-link.active::after {
  transform: scaleX(1) !important;
  transform-origin: bottom left !important;
  opacity: 1 !important;
}

/* グラデーション効果付きボタン（復元版） */
.btn--glow {
  position: relative;
  background: linear-gradient(90deg, #0f3d3e, #2c8b80);
  color: var(--color-text-light) !important;
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  transition: all 0.3s ease !important;
  display: inline-block;
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.btn--glow:hover,
.btn--glow:focus {
  background: linear-gradient(90deg, #2c8b80, #56d1a7) !important;
  color: var(--color-text-light) !important;
  text-decoration: none !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn--glow::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: all 0.3s ease !important;
  z-index: -1;
}

.btn--glow:hover::before {
  left: 100% !important;
}

.btn--glow.btn--accent {
  background: linear-gradient(90deg, #2c8b80, #56d1a7);
}

.btn--glow.btn--accent:hover {
  background: linear-gradient(90deg, #56d1a7, #7ae7ff) !important;
}

.btn--glow.btn--large {
  font-size: 1.2rem;
  padding: 15px 35px;
  min-width: 220px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.btn--glow.btn--secondary {
  background-color: #333333;
  border: 1px solid #ffffff;
  color: #ffffff !important;
}

.btn--glow.btn--secondary:hover {
  background-color: #555555 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* フローティングバナー関連 - 以下は元のコード */
/*
.floating-banner {
  position: fixed !important;
  right: 0 !important;
  bottom: 180px !important;
  z-index: var(--z-index-banner) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 160px !important;
  overflow: visible !important;
  transition: all 0.5s ease !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  max-width: calc(100vw - 20px) !important; ビューポート幅を超えないように
}
*/

/* 新しいフローティングバナースタイル（統合済み） */
.floating-banner,
.Bnr {
  position: fixed !important;
  right: 0 !important;
  bottom: 180px !important;
  z-index: var(--z-index-banner) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 160px !important;
  overflow: visible !important;
  transition: all 0.5s ease !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  max-width: calc(100vw - 20px) !important;
}

.Bnr__img,
.Bnr__img__inner {
  position: relative !important;
  display: block !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 160px !important;
  right: 0 !important;
  padding: 0 !important;
}

.close {
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 1090;
}

.close:hover {
  opacity: 0.8;
}

.company-table th {
  background-color: rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}

label {
  font-size: 1rem;
  margin-bottom: 0.1rem;
  color: white;
}

/* form-group → .form-group に統一（HTML側も要修正） */
.form-group {
  margin-bottom: 0.2rem !important;
  text-align: left;
}

/* バイオフィリックカード - 環境とテクノロジーを表現 */
.card--biophilic {
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  z-index: 1;
  border-top: var(--border-gradient);
  border-image: var(--gradient-eco-tech) 1;
  padding-top: 3px;
}

.card--biophilic::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 15px;
  width: 50px;
  height: 3px;
  background: #0f3d3e;
  border-radius: var(--border-radius-pill);
  z-index: 2;
}

.card--biophilic:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(44, 139, 128, 0.15),
    0 10px 10px rgba(44, 139, 128, 0.1);
}

.card--biophilic .card__image {
  height: 200px;
  overflow: hidden;
}

.card--biophilic .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card--biophilic:hover .card__image img {
  transform: scale(1.05);
}

.card--biophilic .card__title {
  position: relative;
  color: #0f3d3e;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-xs);
  padding-left: 15px;
  border-left: 3px solid #2c8b80;
  display: inline-block;
  padding-bottom: 8px;
  transition: all 0.3s ease;
}

.card--biophilic:hover .card__title {
  transform: translateX(3px);
}

.card--biophilic .card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #56d1a7;
  transition: width 0.3s;
}

.card--biophilic:hover .card__title::after {
  width: 80px;
}

.card--biophilic .card__description {
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-base);
}

/* データ表示コンポーネント */
.data-counter {
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding: 20px;
  position: relative;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.data-counter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #0f3d3e, #56d1a7);
}

.data-counter__value {
  font-family: var(--font-family-data);
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: #32c5ff;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
  background: transparent !important;
}

.data-counter__value::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #56d1a7;
}

.data-counter__label {
  font-size: var(--font-size-small);
  color: var(--color-text-dark);
  font-weight: var(--font-weight-semibold);
}

.data-chart {
  padding: var(--spacing-sm);
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.data-chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #0f3d3e, #56d1a7);
}

.data-chart__title {
  position: relative;
}

.data-chart__title h4 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  padding-left: 15px;
  border-left: 3px solid #2c8b80;
}

.data-chart__title h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #56d1a7;
}

/* フォームデザイン - バイオフィリックデザイン要素を取り入れた形状 */
.form-group {
  margin-bottom: var(--spacing-sm);
}

label {
  display: block;
  margin-bottom: var(--spacing-xxs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: var(--border-width-thin) solid var(--border-color-light);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-family-japanese);
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
  background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}

.form-control::placeholder {
  color: rgba(21, 82, 99, 0.5);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* カスタムチェックボックス - 葉のデザイン */
.custom-checkbox {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
  margin-bottom: var(--spacing-xs);
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid var(--border-color-medium);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--color-primary);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* サブミットボタン */
.btn-submit {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  border: none;
  padding: var(--button-padding-medium);
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-normal);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-submit::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: var(--transition-normal);
}

.btn-submit:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-button);
}

.btn-submit:hover::before {
  left: 100%;
}

/* フッター */
.footer {
  background-color: var(--color-background-dark);
  color: var(--color-text-light);
  padding: var(--spacing-lg) 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--gradient-eco-tech);
}

.footer__logo {
  margin-bottom: var(--spacing-md);
}

.footer__title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
}

.footer__nav-item {
  margin-bottom: var(--spacing-xxs);
}

.footer__nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  display: inline-block;
}

.footer__nav-link:hover {
  color: var(--color-secondary);
}

.footer__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer__contact {
  margin-bottom: var(--spacing-md);
}

.footer__contact-item {
  margin-bottom: var(--spacing-xxs);
  display: flex;
  align-items: flex-start;
}

.footer__contact-icon {
  margin-right: 10px;
  color: var(--color-secondary);
}

.footer__social {
  display: flex;
  gap: 15px;
  margin-bottom: var(--spacing-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-text-light);
  transition: var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.footer__copyright {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-small);
}

/* 会社情報テーブル */
.company-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  table-layout: fixed !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  border-collapse: collapse !important;
  display: table !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  perspective: 1000px !important;
  border-spacing: 0 !important;
}

.company-table th,
.company-table td {
  padding: var(--spacing-xs);
  line-height: var(--line-height-base);
  box-sizing: border-box !important;
  position: relative !important;
}

.company-table th {
  text-align: left;
  font-weight: var(--font-weight-semibold);
  width: 25% !important;
  min-width: 100px !important;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: var(--color-text-light) !important;
  padding: 8px !important;
}

.company-table td {
  width: 75% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: var(--color-text-light) !important;
  padding: 8px !important;
  text-align: left !important;
}

.company-table th.first-column {
  width: 25% !important;
  min-width: 100px !important;
}

/* 会社概要テーブルコンテナのスタイル */
.company .col-md-8 {
  width: 100% !important;
  min-width: 300px !important;
  box-sizing: border-box !important;
}

/* ヒーロー統計表示 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: var(--spacing-md);
}

.hero-stat-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat-value {
  font-family: var(--font-family-data);
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: #ff6f61;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
}

.hero-wave {
  position: relative;
  margin-top: -120px !important; /* -100pxから-120pxに変更して上に引き上げる */
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
  display: block;
  vertical-align: bottom;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .hero-wave {
    margin-top: -80px !important; /* -60pxから-80pxに変更 */
    margin-bottom: -3px !important;
  }

  .hero-wave svg {
    min-height: 40px;
  }
}

/* メディアクエリ - モバイル対応 */
/* ナビゲーションバーのレスポンシブ対応 */
@media (max-width: 768px) {
  .glass-navbar,
  .glass-navbar.scrolled {
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
    right: 8px;
  }
}

@media (max-width: 767px) {
  .hero-futuristic__title {
    font-size: 2.2rem !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
  }

  .hero-futuristic__subtitle {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
  }

  .hero-futuristic .btn--glow {
    margin: 8px !important;
    min-width: 160px !important;
    padding: 8px 15px !important;
    font-size: 1rem !important;
  }

  .hero-futuristic {
    min-height: calc(100vh - 56px) !important; /* ナビバーの高さを考慮 */
    padding-top: 60px !important;
    padding-bottom: 80px !important; /* モバイル表示ではさらに調整 */
    height: auto !important;
  }
}

/* ボタンサイズ */
.btn-sm {
  padding: var(--button-padding-small);
  font-size: var(--font-size-small);
  display: inline-block;
  text-decoration: none !important;
}

.btn-sm:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
}

.btn-lg {
  padding: var(--button-padding-large);
  font-size: 1.1rem;
}

/* 統一ボタン効果システム - 修正版 */
.btn,
button.btn,
a.btn,
input.btn {
  position: relative;
  display: inline-block;
  padding: var(--button-padding-medium);
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
}

/* ホバー効果のバリエーション - 修正版 */
.btn.btn--hover-lift:hover,
button.btn.btn--hover-lift:hover,
a.btn.btn--hover-lift:hover,
input.btn.btn--hover-lift:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-button) !important;
}

.btn.btn--hover-glow::before,
button.btn.btn--hover-glow::before,
a.btn.btn--hover-glow::before,
input.btn.btn--hover-glow::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: var(--transition-normal);
  z-index: -1;
}

.btn.btn--hover-glow:hover::before,
button.btn.btn--hover-glow:hover::before,
a.btn.btn--hover-glow:hover::before,
input.btn.btn--hover-glow:hover::before {
  left: 100% !important;
}

.btn.btn--hover-scale:hover,
button.btn.btn--hover-scale:hover,
a.btn.btn--hover-scale:hover,
input.btn.btn--hover-scale:hover {
  transform: scale(1.05) !important;
}

.btn.btn--hover-border:hover,
button.btn.btn--hover-border:hover,
a.btn.btn--hover-border:hover,
input.btn.btn--hover-border:hover {
  border-width: 2px !important;
}

/* ボタンのアニメーションクラス - 修正版 */
.btn--anim-pulse {
  animation: btn-pulse 2s infinite;
}
.btn--anim-shake:hover {
  animation: btn-shake 0.8s ease;
}
.btn--anim-bounce:hover {
  animation: btn-bounce 0.8s ease;
}
.btn--anim-rotate:hover {
  animation: btn-rotate 0.8s ease;
}
.btn--anim-ripple:hover {
  animation: btn-ripple 1s linear;
}

/* 既存のボタンクラスを新システムに互換させる */
.btn--home,
.btn--glow,
.btn-submit,
.btn--accent,
.btn--secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 既存ボタン共通ホバー効果 */
.btn--home:hover,
.btn--glow:hover,
.btn-submit:hover,
.btn--accent:hover,
.btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-button);
}

/* セクションタイトル */
.section-title {
  position: relative;
  color: var(--color-text-dark);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width 0.6s ease, left 0.6s ease;
}

.section-title.is-visible::after {
  width: 60px;
  left: calc(50% - 30px);
}

.section-subtitle {
  color: var(--color-text-dark);
  font-size: var(--font-size-h3);
  text-align: center;
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 親要素に追加するスタイル - サブタイトルを中央に配置 */
.section-title-wrap {
  position: relative;
  margin-bottom: 20px;
}

/* Aboutセクションのブロブ */
.section-title-wrap::before {
  content: '';
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(44, 139, 128, 0.15);
  border-radius: 50% 60% 40% 50%;
  z-index: 1;
  animation: blob-morph 8s ease-in-out infinite;
  display: none; /* ブロブを非表示にする */
}

/* Aboutセクションの項目タイトル装飾 */
.align-self-center h4.text-dark.font-weight-bold.nowrap {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 12px;
  padding-left: 15px;
  border-left: 3px solid #2c8b80;
  transition: all 0.3s ease;
}

.align-self-center h4.text-dark.font-weight-bold.nowrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #56d1a7;
}

/* 親要素にホバー時に効果を追加 */
.row:hover .align-self-center h4.text-dark.font-weight-bold.nowrap {
  transform: translateX(3px);
}

.row:hover .align-self-center h4.text-dark.font-weight-bold.nowrap::after {
  width: 80px;
  transition: width 0.3s ease;
}

/* サイト全体の基本テキストスタイル */
html {
  margin: 0;
  padding: 0;
}

/* サイト全体の基本テキストスタイル */
body {
  font-family: var(--font-family-japanese), var(--font-family-base), sans-serif;
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
  padding-top: 0; /* 固定ナビバー用のパディング不要（ヒーローセクションで調整済み） */
}

/* テキスト可読性向上 */
.text-muted {
  color: #333333 !important; /* より濃い色で読みやすく */
}

p {
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em; /* 文字間隔をやや広げる */
}

/* カード内のテキスト強化 */
.card__description {
  color: #333333 !important;
  font-weight: var(--font-weight-normal);
}

.hero-buttons {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* 地球テイストのアイコン */
.earth-feature-icon {
  width: 110px;
  height: 110px;
  background: #0f3d3e;
  border-radius: 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: blob-morph 8s ease-in-out infinite,
    icon-float 3s ease-in-out infinite;
}

.earth-feature-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(44, 139, 128, 0.4);
  border-radius: 40% 60% 60% 40%;
  z-index: -1;
  animation: blob-morph-shadow 8s ease-in-out infinite alternate;
  animation-delay: -4s;
}

.earth-feature-icon i {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
  animation: icon-pulse 3s ease-in-out infinite alternate;
}

/* ホバー効果を削除（常時アニメーションに統合） */
.earth-feature-icon:hover {
  transform: none;
}

.earth-feature-icon:hover i {
  transform: none;
}

/* ブロブ形状アニメーション */
@keyframes blob-morph {
  0% {
    border-radius: 50% 60% 40% 50%;
  }
  25% {
    border-radius: 60% 40% 50% 40%;
  }
  50% {
    border-radius: 40% 55% 45% 60%;
  }
  75% {
    border-radius: 55% 45% 60% 45%;
  }
  100% {
    border-radius: 50% 60% 40% 50%;
  }
}

/* ブロブ影アニメーション */
@keyframes blob-morph-shadow {
  0% {
    border-radius: 45% 55% 55% 45%;
  }
  50% {
    border-radius: 55% 45% 45% 55%;
  }
  100% {
    border-radius: 45% 55% 55% 45%;
  }
}

/* 浮遊アニメーション */
@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

/* アイコン脈動アニメーション */
@keyframes icon-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.1);
  }
}

/* 環境技術とIoTの融合セクション */
.eco-tech-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* 地球画像の周りを回る粒子アニメーション */
.eco-tech-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 62, 0.7),
    rgba(44, 139, 128, 0.6)
  );
  border-radius: 50% 60% 40% 50%;
  z-index: -1;
  animation: blob-morph 15s ease-in-out infinite;
  box-shadow: none;
}

.eco-tech-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  width: 360px;
  height: 360px;
  background: linear-gradient(
    135deg,
    rgba(44, 139, 128, 0.4),
    rgba(86, 209, 167, 0.3)
  );
  border-radius: 40% 60% 60% 40%;
  z-index: -2;
  animation: blob-morph-shadow 15s ease-in-out infinite alternate;
  animation-delay: -7s;
  box-shadow: none;
}

/* 粒子要素を追加 */
.eco-tech-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  z-index: -1;
}

/* 複数の粒子を作成 */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(86, 209, 167, 0.8);
  border-radius: 50%;
  z-index: 2;
  box-shadow: none;
}

/* 粒子1 */
.particle:nth-child(1) {
  top: 10%;
  left: 50%;
  animation: particle-rotate 15s linear infinite;
}

/* 粒子2 */
.particle:nth-child(2) {
  top: 50%;
  left: 10%;
  width: 8px;
  height: 8px;
  background-color: rgba(44, 139, 128, 0.8);
  animation: particle-rotate 20s linear infinite reverse;
}

/* 粒子3 */
.particle:nth-child(3) {
  top: 85%;
  left: 50%;
  width: 5px;
  height: 5px;
  background-color: rgba(15, 61, 62, 0.8);
  animation: particle-rotate 18s linear infinite;
}

/* 粒子4 */
.particle:nth-child(4) {
  top: 50%;
  left: 90%;
  width: 7px;
  height: 7px;
  background-color: rgba(56, 171, 142, 0.8);
  animation: particle-rotate 25s linear infinite reverse;
}

/* 粒子5 */
.particle:nth-child(5) {
  top: 25%;
  left: 85%;
  width: 4px;
  height: 4px;
  animation: particle-rotate 22s linear infinite;
}

/* 粒子6 */
.particle:nth-child(6) {
  top: 75%;
  left: 15%;
  width: 6px;
  height: 6px;
  background-color: rgba(44, 139, 128, 0.7);
  animation: particle-rotate 17s linear infinite reverse;
}

/* 粒子の回転アニメーション */
@keyframes particle-rotate {
  0% {
    transform: rotate(0deg) translateX(180px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(180px) rotate(-360deg);
  }
}

/* 地球画像にも効果を追加 */
.eco-tech-image img {
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  filter: drop-shadow(0 0 0 transparent) !important;
}

.eco-tech-image:hover img {
  transform: translateY(-5px) scale(1.02);
}

.eco-tech-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: -1;
  box-shadow: none;
}

.orbit-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border: 3px dashed rgba(255, 140, 0, 0.9);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  box-shadow: none;
}

.orbit-circle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: #56d1a7;
  border-radius: 50%;
  box-shadow: none;
  animation: pulse 2s ease-in-out infinite;
}

.orbit-circle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 30%;
  width: 14px;
  height: 14px;
  background-color: #2c8b80;
  border-radius: 50%;
  box-shadow: none;
  animation: pulse 3s ease-in-out infinite;
}

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

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

.eco-tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(44, 139, 128, 0.1);
  border-radius: 50%;
  margin-right: 10px;
}

.data-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(86, 209, 167, 0.9);
  border-radius: 50%;
  z-index: 2;
  box-shadow: none;
  animation: blink 3s infinite alternate;
}

.data-point:nth-child(odd) {
  animation-delay: 0.5s;
}

.data-point:nth-child(even) {
  animation-delay: 1.5s;
}

@keyframes blink {
  0% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* 全体のアニメーション調整 */
@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* アニメーション共通化 */
.card--biophilic,
.data-counter,
.data-chart {
  animation: subtle-float 5s ease-in-out infinite;
}
.card--biophilic:nth-child(odd),
.data-counter:nth-child(odd) {
  animation-delay: 0.5s;
}
.card--biophilic:nth-child(even),
.data-counter:nth-child(even) {
  animation-delay: 1.5s;
}

/* .data-point のアニメーション遅延をまとめて記述 */
.data-point:nth-child(odd) {
  animation-delay: 0.5s;
}
.data-point:nth-child(even) {
  animation-delay: 1.5s;
}

/* 不要なコメントや説明を削除 */

/* コンタクトセクションのスタイル統一 */
.contact-form .form-control {
  border-left: 3px solid #2c8b80;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-left: 3px solid #56d1a7;
  transform: translateX(3px);
}

/* フッタースタイルの調整 */
.bg-footer {
  position: relative;
  overflow: hidden;
  background-color: #114445;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 10px;
}

.bg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #0f3d3e, #2c8b80, #56d1a7);
}

.bg-footer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  margin-bottom: 0 !important;
}

.bg-footer .text-light {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 500;
}

.bg-footer .text-warning {
  color: rgba(255, 220, 130, 1) !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.bg-footer .text-warning:hover {
  color: rgba(255, 220, 130, 1) !important;
  text-decoration: underline;
}

footer {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* back-to-topボタン */
#back-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  background-color: #2c8b80;
  color: white;
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  visibility: visible !important;
}

#back-to-top:hover {
  background-color: #0f3d3e;
  transform: translateY(-3px);
}

/* ツールチップスタイル修正 */
.tooltip {
  position: absolute;
  z-index: 1110 !important;
  display: block !important;
  visibility: visible !important;
  font-family: var(--font-family-japanese);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
}

.tooltip.show {
  opacity: 0.9;
}

.tooltip .tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #0f3d3e;
  border-radius: 0.25rem;
}

.tooltip .tooltip-arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}

.bs-tooltip-top .tooltip-arrow,
.bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow {
  bottom: 0;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow::before {
  top: 0;
  border-width: 0.4rem 0.4rem 0;
  border-top-color: #0f3d3e;
}

/* バックトゥトップボタン修正 */
.back-to-top {
  position: fixed !important;
  bottom: 120px !important;
  right: 40px !important; /* バナーに隠れないよう右側の余白を増やす */
  z-index: var(--z-index-backtotop) !important;
  width: 40px !important;
  height: 40px !important;
  background-color: #2c8b80 !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.5s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important; /* 常に表示 */
  transform: translateY(0) !important; /* 初期位置を調整 */
}

.back-to-top:hover {
  background-color: #0f3d3e !important;
  transform: translateY(-3px) !important;
}

.back-to-top i {
  color: white !important;
  font-size: 1.5rem !important;
}

/* 地球画像セクションの背景も微調整 */
.bg-light.py-5 {
  position: relative;
  overflow: hidden;
}

/* ブロブアニメーションの速度を少し遅くする */
@keyframes blob-morph {
  0% {
    border-radius: 50% 60% 40% 50%;
  }
  25% {
    border-radius: 60% 40% 50% 40%;
  }
  50% {
    border-radius: 40% 55% 45% 60%;
  }
  75% {
    border-radius: 55% 45% 60% 45%;
  }
  100% {
    border-radius: 50% 60% 40% 50%;
  }
}

/* ボタン用アニメーション */
@keyframes btn-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes btn-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-3px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(3px);
  }
}

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

@keyframes btn-rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes btn-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 139, 128, 0.3);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(44, 139, 128, 0);
  }
}

/* ボタンのアニメーションクラス */
.btn--anim-pulse {
  animation: btn-pulse 2s infinite;
}
.btn--anim-shake:hover {
  animation: btn-shake 0.8s ease;
}
.btn--anim-bounce:hover {
  animation: btn-bounce 0.8s ease;
}
.btn--anim-rotate:hover {
  animation: btn-rotate 0.8s ease;
}
.btn--anim-ripple:hover {
  animation: btn-ripple 1s linear;
}

/* 既存のボタンクラスを新システムに互換させる */
.btn--home,
.btn--glow,
.btn-submit,
.btn--accent,
.btn--secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 既存ボタン共通ホバー効果 */
.btn--home:hover,
.btn--glow:hover,
.btn-submit:hover,
.btn--accent:hover,
.btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-button);
}

/* セクションタイトル */
.section-title {
  position: relative;
  color: var(--color-text-dark);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-normal);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width 0.6s ease, left 0.6s ease;
}

.section-title.is-visible::after {
  width: 60px;
  left: calc(50% - 30px);
}

.section-subtitle {
  color: var(--color-text-dark);
  font-size: var(--font-size-h3);
  text-align: center;
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 親要素に追加するスタイル - サブタイトルを中央に配置 */
.section-title-wrap {
  position: relative;
  margin-bottom: 20px;
}

/* Aboutセクションのブロブ */
.section-title-wrap::before {
  content: '';
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(44, 139, 128, 0.15);
  border-radius: 50% 60% 40% 50%;
  z-index: 1;
  animation: blob-morph 8s ease-in-out infinite;
  display: none; /* ブロブを非表示にする */
}

/* Aboutセクションの項目タイトル装飾 */
.align-self-center h4.text-dark.font-weight-bold.nowrap {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 12px;
  padding-left: 15px;
  border-left: 3px solid #2c8b80;
  transition: all 0.3s ease;
}

.align-self-center h4.text-dark.font-weight-bold.nowrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #56d1a7;
}

/* 親要素にホバー時に効果を追加 */
.row:hover .align-self-center h4.text-dark.font-weight-bold.nowrap {
  transform: translateX(3px);
}

.row:hover .align-self-center h4.text-dark.font-weight-bold.nowrap::after {
  width: 80px;
  transition: width 0.3s ease;
}

/* サイト全体の基本テキストスタイル */
html {
  margin: 0;
  padding: 0;
}

/* サイト全体の基本テキストスタイル */
body {
  font-family: var(--font-family-japanese), var(--font-family-base), sans-serif;
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
  padding-top: 0; /* 固定ナビバー用のパディング不要（ヒーローセクションで調整済み） */
}

/* テキスト可読性向上 */
.text-muted {
  color: #333333 !important; /* より濃い色で読みやすく */
}

p {
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em; /* 文字間隔をやや広げる */
}

/* カード内のテキスト強化 */
.card__description {
  color: #333333 !important;
  font-weight: var(--font-weight-normal);
}

.hero-buttons {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* 地球テイストのアイコン */
.earth-feature-icon {
  width: 110px;
  height: 110px;
  background: #0f3d3e;
  border-radius: 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: blob-morph 8s ease-in-out infinite,
    icon-float 3s ease-in-out infinite;
}

.earth-feature-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(44, 139, 128, 0.4);
  border-radius: 40% 60% 60% 40%;
  z-index: -1;
  animation: blob-morph-shadow 8s ease-in-out infinite alternate;
  animation-delay: -4s;
}

.earth-feature-icon i {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
  animation: icon-pulse 3s ease-in-out infinite alternate;
}

/* ホバー効果を削除（常時アニメーションに統合） */
.earth-feature-icon:hover {
  transform: none;
}

.earth-feature-icon:hover i {
  transform: none;
}

/* ブロブ形状アニメーション */
@keyframes blob-morph {
  0% {
    border-radius: 50% 60% 40% 50%;
  }
  25% {
    border-radius: 60% 40% 50% 40%;
  }
  50% {
    border-radius: 40% 55% 45% 60%;
  }
  75% {
    border-radius: 55% 45% 60% 45%;
  }
  100% {
    border-radius: 50% 60% 40% 50%;
  }
}

/* ブロブ影アニメーション */
@keyframes blob-morph-shadow {
  0% {
    border-radius: 45% 55% 55% 45%;
  }
  50% {
    border-radius: 55% 45% 45% 55%;
  }
  100% {
    border-radius: 45% 55% 55% 45%;
  }
}

/* 浮遊アニメーション */
@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

/* アイコン脈動アニメーション */
@keyframes icon-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.1);
  }
}

/* 環境技術とIoTの融合セクション */
.eco-tech-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* 地球画像の周りを回る粒子アニメーション */
.eco-tech-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 62, 0.7),
    rgba(44, 139, 128, 0.6)
  );
  border-radius: 50% 60% 40% 50%;
  z-index: -1;
  animation: blob-morph 15s ease-in-out infinite;
  box-shadow: none;
}

.eco-tech-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  width: 360px;
  height: 360px;
  background: linear-gradient(
    135deg,
    rgba(44, 139, 128, 0.4),
    rgba(86, 209, 167, 0.3)
  );
  border-radius: 40% 60% 60% 40%;
  z-index: -2;
  animation: blob-morph-shadow 15s ease-in-out infinite alternate;
  animation-delay: -7s;
  box-shadow: none;
}

/* 粒子要素を追加 */
.eco-tech-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  z-index: -1;
}

/* 複数の粒子を作成 */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(86, 209, 167, 0.8);
  border-radius: 50%;
  z-index: 2;
  box-shadow: none;
}

/* 粒子1 */
.particle:nth-child(1) {
  top: 10%;
  left: 50%;
  animation: particle-rotate 15s linear infinite;
}

/* 粒子2 */
.particle:nth-child(2) {
  top: 50%;
  left: 10%;
  width: 8px;
  height: 8px;
  background-color: rgba(44, 139, 128, 0.8);
  animation: particle-rotate 20s linear infinite reverse;
}

/* 粒子3 */
.particle:nth-child(3) {
  top: 85%;
  left: 50%;
  width: 5px;
  height: 5px;
  background-color: rgba(15, 61, 62, 0.8);
  animation: particle-rotate 18s linear infinite;
}

/* 粒子4 */
.particle:nth-child(4) {
  top: 50%;
  left: 90%;
  width: 7px;
  height: 7px;
  background-color: rgba(56, 171, 142, 0.8);
  animation: particle-rotate 25s linear infinite reverse;
}

/* 粒子5 */
.particle:nth-child(5) {
  top: 25%;
  left: 85%;
  width: 4px;
  height: 4px;
  animation: particle-rotate 22s linear infinite;
}

/* 粒子6 */
.particle:nth-child(6) {
  top: 75%;
  left: 15%;
  width: 6px;
  height: 6px;
  background-color: rgba(44, 139, 128, 0.7);
  animation: particle-rotate 17s linear infinite reverse;
}

/* 粒子の回転アニメーション */
@keyframes particle-rotate {
  0% {
    transform: rotate(0deg) translateX(180px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(180px) rotate(-360deg);
  }
}

/* 地球画像にも効果を追加 */
.eco-tech-image img {
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  filter: drop-shadow(0 0 0 transparent) !important;
}

.eco-tech-image:hover img {
  transform: translateY(-5px) scale(1.02);
}

.eco-tech-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: -1;
  box-shadow: none;
}

.orbit-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border: 3px dashed rgba(255, 140, 0, 0.9);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  box-shadow: none;
}

.orbit-circle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: #56d1a7;
  border-radius: 50%;
  box-shadow: none;
  animation: pulse 2s ease-in-out infinite;
}

.orbit-circle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 30%;
  width: 14px;
  height: 14px;
  background-color: #2c8b80;
  border-radius: 50%;
  box-shadow: none;
  animation: pulse 3s ease-in-out infinite;
}

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

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

.eco-tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(44, 139, 128, 0.1);
  border-radius: 50%;
  margin-right: 10px;
}

.data-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(86, 209, 167, 0.9);
  border-radius: 50%;
  z-index: 2;
  box-shadow: none;
  animation: blink 3s infinite alternate;
}

.data-point:nth-child(odd) {
  animation-delay: 0.5s;
}

.data-point:nth-child(even) {
  animation-delay: 1.5s;
}

@keyframes blink {
  0% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* 全体のアニメーション調整 */
@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* アニメーション共通化 */
.card--biophilic,
.data-counter,
.data-chart {
  animation: subtle-float 5s ease-in-out infinite;
}
.card--biophilic:nth-child(odd),
.data-counter:nth-child(odd) {
  animation-delay: 0.5s;
}
.card--biophilic:nth-child(even),
.data-counter:nth-child(even) {
  animation-delay: 1.5s;
}

/* .data-point のアニメーション遅延をまとめて記述 */
.data-point:nth-child(odd) {
  animation-delay: 0.5s;
}
.data-point:nth-child(even) {
  animation-delay: 1.5s;
}

/* 不要なコメントや説明を削除 */

/* コンタクトセクションのスタイル統一 */
.contact-form .form-control {
  border-left: 3px solid #2c8b80;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-left: 3px solid #56d1a7;
  transform: translateX(3px);
}

/* フッタースタイルの調整 */
.bg-footer {
  position: relative;
  overflow: hidden;
  background-color: #114445;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 10px;
}

.bg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #0f3d3e, #2c8b80, #56d1a7);
}

.bg-footer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  margin-bottom: 0 !important;
}

.bg-footer .text-light {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 500;
}

.bg-footer .text-warning {
  color: rgba(255, 220, 130, 1) !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.bg-footer .text-warning:hover {
  color: rgba(255, 220, 130, 1) !important;
  text-decoration: underline;
}

footer {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* back-to-topボタン */
#back-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  background-color: #2c8b80;
  color: white;
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  visibility: visible !important;
}

#back-to-top:hover {
  background-color: #0f3d3e;
  transform: translateY(-3px);
}

/* ツールチップスタイル修正 */
.tooltip {
  position: absolute;
  z-index: 1110 !important;
  display: block !important;
  visibility: visible !important;
  font-family: var(--font-family-japanese);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
}

.tooltip.show {
  opacity: 0.9;
}

.tooltip .tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #0f3d3e;
  border-radius: 0.25rem;
}

.tooltip .tooltip-arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}

.bs-tooltip-top .tooltip-arrow,
.bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow {
  bottom: 0;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow::before {
  top: 0;
  border-width: 0.4rem 0.4rem 0;
  border-top-color: #0f3d3e;
}

/* バックトゥトップボタン修正 */
.back-to-top {
  position: fixed !important;
  bottom: 120px !important;
  right: 40px !important; /* バナーに隠れないよう右側の余白を増やす */
  z-index: var(--z-index-backtotop) !important;
  width: 40px !important;
  height: 40px !important;
  background-color: #2c8b80 !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.5s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important; /* 常に表示 */
  transform: translateY(0) !important; /* 初期位置を調整 */
}

.back-to-top:hover {
  background-color: #0f3d3e !important;
  transform: translateY(-3px) !important;
}

.back-to-top i {
  color: white !important;
  font-size: 1.5rem !important;
}

/* 地球画像セクションの背景も微調整 */
.bg-light.py-5 {
  position: relative;
  overflow: hidden;
}

/* ブロブアニメーションの速度を少し遅くする */
@keyframes blob-morph {
  0% {
    border-radius: 50% 60% 40% 50%;
  }
  25% {
    border-radius: 60% 40% 50% 40%;
  }
  50% {
    border-radius: 40% 55% 45% 60%;
  }
  75% {
    border-radius: 55% 45% 60% 45%;
  }
  100% {
    border-radius: 50% 60% 40% 50%;
  }
}

/* ボタン用アニメーション */
@keyframes btn-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes btn-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-3px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(3px);
  }
}

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

@keyframes btn-rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes btn-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 139, 128, 0.3);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(44, 139, 128, 0);
  }
}

/* ボタンのアニメーションクラス */
.btn--anim-pulse {
  animation: btn-pulse 2s infinite;
}
.btn--anim-shake:hover {
  animation: btn-shake 0.8s ease;
}
.btn--anim-bounce:hover {
  animation: btn-bounce 0.8s ease;
}
.btn--anim-rotate:hover {
  animation: btn-rotate 0.8s ease;
}
.btn--anim-ripple:hover {
  animation: btn-ripple 1s linear;
}

/* アニメーション遅延クラス */
.anim-delay-1 {
  animation-delay: 0.2s;
}
.anim-delay-2 {
  animation-delay: 0.4s;
}
.anim-delay-3 {
  animation-delay: 0.6s;
}

/* アニメーション速度クラス */
.anim-slow {
  animation-duration: 3s;
}
.anim-fast {
  animation-duration: 0.5s;
}

/* ボタングループ用アニメーション連鎖効果をまとめて記述 */
.btn-group .btn:nth-child(1) {
  animation-delay: 0s;
}
.btn-group .btn:nth-child(2) {
  animation-delay: 0.2s;
}
.btn-group .btn:nth-child(3) {
  animation-delay: 0.4s;
}
.btn-group .btn:nth-child(4) {
  animation-delay: 0.6s;
}

/* 回転アイコン付きボタン用 */
.btn--icon-spin i {
  transition: transform 0.3s ease;
}

.btn--icon-spin:hover i {
  transform: rotate(180deg);
}

/* 拡大アイコン付きボタン用 */
.btn--icon-zoom i {
  transition: transform 0.3s ease;
}

.btn--icon-zoom:hover i {
  transform: scale(1.3);
}

/* 統一ボタンホバー効果 - グローバルセレクタ */
button,
.btn,
.btn--home,
.btn--glow,
.btn-submit,
.btn--accent,
.btn--secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease !important;
  cursor: pointer;
  text-decoration: none;
  z-index: 1;
}

/* グローバルホバー効果 */
button:hover,
.btn:hover,
.btn--home:hover,
.btn--glow:hover,
.btn-submit:hover,
.btn--accent:hover,
.btn--secondary:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-button) !important;
}

/* グローバル発光効果 */
button::before,
.btn::before,
.btn--home::before,
.btn--glow::before,
.btn-submit::before,
.btn--accent::before,
.btn--secondary::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: var(--transition-normal);
  z-index: -1;
}

button:hover::before,
.btn:hover::before,
.btn--home:hover::before,
.btn--glow:hover::before,
.btn-submit:hover::before,
.btn--accent:hover::before,
.btn--secondary:hover::before {
  left: 100% !important;
}

/* リンクのスタイル修正 - ホバー時にデフォルトのテキスト装飾を防止 */
a[class*='btn']:hover {
  text-decoration: none !important;
}

/* ボタン特定クラスの競合解決 */
.hero-content .btn--home {
  background-color: rgba(44, 139, 128, 0.15);
  border-radius: var(--border-radius-sm);
}

.hero-content .btn--home:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* ボタンアイコン用効果 */
button i,
.btn i,
a[class*='btn'] i,
.button i {
  transition: transform 0.3s ease;
}

button:hover i,
.btn:hover i,
a[class*='btn']:hover i,
.button:hover i {
  transform: translateY(-2px);
}

/* aタグボタン用自動アニメーション適用 */
/* メインアクションボタン - バウンス効果 */
a.btn--glow:hover,
a.btn--accent:hover,
a.btn--primary:hover,
a.btn-submit:hover,
.hero-content a.btn--home:hover {
  animation: btn-bounce 0.8s ease !important;
  text-decoration: none !important;
}

/* 二次的なボタン - リップル効果 */
a.btn--secondary:hover,
a.btn--outline:hover,
a.btn-sm:hover,
.footer__nav-link:hover {
  animation: btn-ripple 1s linear !important;
  text-decoration: none !important;
}

/* ナビゲーションボタン - 回転効果 */
.navbar a.btn:hover,
a.btn--ghost:hover,
a.back-to-top:hover {
  animation: btn-rotate 0.8s ease;
}

/* その他のリンクボタン - シェイク効果 */
a[class*='btn']:not(.btn--glow):not(.btn--accent):not(.btn--primary):not(
    .btn--secondary
  ):not(.btn--outline):not(.btn-sm):not(.btn--ghost):hover {
  animation: btn-shake 0.8s ease;
}

/* アイコン付きボタン強化 */
a[class*='btn'] i,
button i,
.btn i {
  display: inline-block;
  margin-right: 5px;
  transition: all 0.3s ease;
}

a[class*='btn']:hover i,
button:hover i,
.btn:hover i {
  transform: translateY(-2px) rotate(10deg);
}

/* 右矢印アイコン特殊効果 */
a[class*='btn'] i.fa-chevron-right,
a[class*='btn'] i.fa-arrow-right {
  transition: all 0.3s ease;
}

a[class*='btn']:hover i.fa-chevron-right,
a[class*='btn']:hover i.fa-arrow-right {
  transform: translateX(4px);
}

/* スクロールアニメーション効果強化 */
.animate-in-down,
.animate-in-up,
.animate-in-left,
.animate-in-right {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
    visibility 0.6s ease-out;
  will-change: opacity, transform, visibility;
}

.animate-in-down {
  transform: translate3d(0, -50px, 0);
}

.animate-in-up {
  transform: translate3d(0, 50px, 0);
}

.animate-in-left {
  transform: translate3d(-50px, 0, 0);
}

.animate-in-right {
  transform: translate3d(50px, 0, 0);
}

.animate-in-down.is-visible,
.animate-in-up.is-visible,
.animate-in-left.is-visible,
.animate-in-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

/* 浮き出る効果を強化したアニメーションクラス */
.float-on-scroll {
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.float-on-scroll.is-visible {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.05);
}

/* フォーム要素のシャドウを無効化 */
form.float-on-scroll.is-visible,
.contact-form.float-on-scroll.is-visible,
.form-control.float-on-scroll.is-visible,
.form-group.float-on-scroll.is-visible {
  box-shadow: none !important;
}

/* ABOUTセクションとその画像背景のシャドウを無効化 */
#about .float-on-scroll.is-visible,
#about img.float-on-scroll.is-visible,
.section-title-wrap .float-on-scroll.is-visible,
.eco-tech-image.float-on-scroll.is-visible,
.eco-tech-orbit.float-on-scroll.is-visible,
.orbit-circle.float-on-scroll.is-visible,
.data-point.float-on-scroll.is-visible {
  box-shadow: none !important;
}

.service-bg-box.service-bg-green {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 120%;
  height: 120%;
  background: #2c8b80;
  opacity: 1;
  border-radius: 32px;
  z-index: 1;
  box-shadow: 0 12px 48px rgba(44, 139, 128, 0.18);
  pointer-events: none;
  transition: all 0.3s;
}

.hero-title-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 120px;
  background: linear-gradient(135deg, #56d1a7 40%, #2c8b80 100%);
  opacity: 0.35;
  border-radius: 50% 60% 40% 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 1;
  pointer-events: none;
  filter: blur(1px);
}

.hero-title-underline {
  display: block;
  width: 80px;
  height: 4px;
  background-color: #8fdfd3; /* 単色に変更 */
  border-radius: 2px;
  margin: 12px auto 0 auto;
  opacity: 1;
  animation: underline-grow 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes underline-grow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

/* 黄系アクセントを赤系に統一 */
:root {
  --color-accent-yellow: #ff6f61;
  --color-accent-yellow-light: #ffb3ab;
}

/* 既存の黄系カラーを赤系に置換 */
.card__title,
.card--biophilic .card__title,
.data-chart__title h4::after {
  color: #ff6f61 !important;
  background: #ffb3ab !important;
  border-left: 3px solid #ff6f61 !important;
}

/* data-counter__valueの特別スタイル */
.data-counter__value {
  color: #32c5ff !important;
  background: transparent !important;
  border-left: none !important;
}

/* z-indexの調整 - z-index-fix.css から移動 */
:root {
  --z-index-navbar: 1030;
  --z-index-banner: 9500;
  --z-index-cookie-banner: 2147483647;
  --z-index-backtotop: 9300;
  --z-index-recaptcha: 9100;
  --z-index-tooltip: 9200;
  --z-index-modal: 9000;
  --z-index-loading: 9999;
}

/* ページ全体のラッパー - インラインスタイルを優先 */
#page-wrapper {
  position: relative;
  width: 100%;
}

/* フローティングバナー関連 */
.floating-banner {
  position: fixed !important;
  right: 0 !important;
  bottom: 180px !important;
  z-index: var(--z-index-banner) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 160px !important;
  overflow: visible !important;
  transition: all 0.5s ease !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  max-width: calc(100vw - 20px) !important; /* ビューポート幅を超えないように */
}

.Bnr {
  position: relative !important;
  z-index: var(--z-index-banner) !important;
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
  width: auto !important;
  overflow: visible !important;
}

.Bnr__img {
  position: relative !important;
  display: block !important;
  overflow: visible !important;
  width: 100% !important; /* 幅を親要素に合わせる */
  max-width: 160px !important; /* 最大幅を制限 */
  right: 0 !important; /* 右端に配置 */
}

.Bnr__img__inner {
  padding: 0 !important;
  overflow: visible !important;
  width: 100% !important;
}

/* バックトゥトップボタン修正 */
.back-to-top {
  position: fixed !important;
  bottom: 120px !important;
  right: 40px !important; /* バナーに隠れないよう右側の余白を増やす */
  z-index: var(--z-index-backtotop) !important;
  width: 40px !important;
  height: 40px !important;
  background-color: #2c8b80 !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.5s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important; /* 常に表示 */
  transform: translateY(0) !important; /* 初期位置を調整 */
}

.back-to-top:hover {
  background-color: #0f3d3e !important;
  transform: translateY(-3px) !important;
}

.back-to-top i {
  color: white !important;
  font-size: 1.5rem !important;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 20px !important; /* モバイル表示では少し左に寄せる */
    bottom: 100px !important; /* バナーが上に移動したので、こちらも少し調整 */
  }

  /* 新しいモバイル用フローティングバナー設定 */
  .floating-banner {
    bottom: 200px !important; /* モバイル表示ではさらに上に配置 */
    max-width: 140px !important; /* モバイル表示では少し小さく */
    right: 0 !important; /* 右端に寄せる */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important; /* モバイル用シャドウ */
  }
}

/* ツールチップスタイル修正 */
.tooltip {
  position: absolute !important;
  z-index: var(--z-index-tooltip) !important;
  display: block !important;
  visibility: visible !important;
  font-family: var(--font-family-japanese) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  word-break: normal !important;
  word-spacing: normal !important;
  white-space: normal !important;
  line-break: auto !important;
  font-size: 0.875rem !important;
  pointer-events: none !important;
}

.tooltip.show {
  opacity: 0.9 !important;
}

.tooltip .tooltip-inner {
  max-width: 200px !important;
  padding: 0.25rem 0.5rem !important;
  color: #fff !important;
  text-align: center !important;
  background-color: #0f3d3e !important;
  border-radius: 0.25rem !important;
}

.tooltip .tooltip-arrow {
  position: absolute !important;
  display: block !important;
  width: 0.8rem !important;
  height: 0.4rem !important;
}

.bs-tooltip-top .tooltip-arrow,
.bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow {
  bottom: 0 !important;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow::before {
  top: 0 !important;
  border-width: 0.4rem 0.4rem 0 !important;
  border-top-color: #0f3d3e !important;
}

/* クッキーバナーのz-index */
#cookie-banner {
  z-index: var(--z-index-cookie-banner) !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important; /* モバイル対応 */
  position: fixed !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background-color: rgba(15, 61, 62, 0.95) !important;
  color: #ffffff !important;
  padding: 15px 20px !important;
  text-align: center !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px 8px 0 0 !important;
  /* 初期状態は非表示 */
  display: none !important;
  opacity: 0 !important;
  transform: translateY(100%) !important;
  transition: all 0.3s ease !important;
  /* スクロール時の固定確保 */
  pointer-events: auto !important;
  visibility: visible !important;
}

/* クッキーバナー表示状態 */
#cookie-banner.show {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#cookie-banner > div {
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  box-sizing: border-box !important;
}

#cookie-banner p {
  margin-bottom: 15px !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

#cookie-banner br {
  display: inline-block !important;
}

#cookie-banner button {
  margin: 5px !important;
  padding: 10px 20px !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border: 1px solid #ddd !important;
}

#cookie-banner #accept-cookies {
  background-color: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #ddd !important;
}

#cookie-banner #accept-cookies:hover {
  background-color: #f8f9fa !important;
  border-color: #aaa !important;
}

#cookie-banner #decline-cookies {
  background-color: #333333 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

#cookie-banner #decline-cookies:hover {
  background-color: #555555 !important;
  border-color: #ffffff !important;
}

@media (max-width: 768px) {
  #cookie-banner {
    padding: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #cookie-banner > div {
    width: 100% !important;
    padding: 0 5px !important;
  }

  #cookie-banner p {
    font-size: 0.8rem !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
  }

  #cookie-banner button {
    padding: 8px 15px !important;
    font-size: 0.85rem !important;
    margin: 2px !important;
  }
}

/* ローディング画面のz-index */
#loading-screen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  z-index: var(--z-index-loading) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transition: opacity 0.3s, visibility 0.3s !important;
}

/* モーダルのz-index */
.modal {
  z-index: var(--z-index-modal) !important;
}

.modal-backdrop {
  z-index: calc(var(--z-index-modal) - 1) !important;
}

/* リンクの重なり順調整 */
a,
.navbar a,
button,
.btn,
a[role='button'],
a.nav-link,
.dropdown-item,
a.link {
  position: relative !important;
  z-index: 4 !important;
}

a:not(.btn):not(.btn--glow):not(.nav-link):hover {
  z-index: 5 !important;
}

/* セクションの重なり順 */
.section1 {
  position: relative !important;
  z-index: 3 !important;
}

.section1::after {
  z-index: 2 !important;
}

/* お問い合わせセクションの重なり順 */
.section-contact {
  position: relative !important;
  z-index: 3 !important;
}

.section-contact form {
  position: relative !important;
  z-index: 4 !important;
}

/* reCAPTCHAバッジの設定 - 元のコードはコメントアウト
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  position: fixed !important;
  bottom: -9999px !important;
  right: -9999px !important;
}
*/

/* 新しいreCAPTCHAバッジスタイル */
.grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  width: 256px !important;
  height: 60px !important;
  position: fixed !important;
  bottom: 10px !important;
  right: -196px !important; /* 右に移動してdivからはみ出させる（60px分だけ表示） */
  transform: none !important; /* 変形なし */
  z-index: 9999 !important; /* 高いz-indexを設定 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  pointer-events: auto !important; /* クリックイベントを有効化 */
  transition: right 0.3s ease !important; /* スムーズな移動 */
}

/* ナビゲーションバー調整用スニペット */
.navbar.fixed-top,
#main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1030;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* スクロール時のナビゲーションバーの透明度制御 */
.navbar.fixed-top.navbar-transparent {
  background-color: transparent !important;
  border-bottom: none;
  box-shadow: none;
}

.navbar.fixed-top.navbar-scrolled {
  background-color: rgba(15, 61, 62, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .navbar.fixed-top .navbar-collapse {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .hero-futuristic {
    margin-top: 56px; /* モバイル用ナビゲーションバーの高さ */
  }
}

/* ナビゲーションバーのスクロールバー対応改善 */
.navbar,
.navbar.fixed-top,
.navbar.glass-navbar,
#main-navbar {
  width: 100% !important;
  max-width: 100% !important;
  right: 0 !important;
  left: 0 !important;
  box-sizing: border-box !important;
  position: fixed !important;
  z-index: var(--z-index-navbar, 1030) !important;
}

/* コンテナ内の最大幅調整 */
.navbar .container,
.navbar .container-fluid {
  max-width: 100% !important;
  padding-right: 0 !important;
}

/* スクロール時のナビバー透明度調整 */
.navbar.glass-navbar.scrolled {
  background-color: rgba(15, 61, 62, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .navbar,
  .navbar.fixed-top,
  .navbar.glass-navbar,
  #main-navbar {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
  }
}

/* ヒーローセクションの余白調整（ナビバーとの重複を防止） */
.hero-futuristic {
  margin-top: 60px !important;
  padding-top: 80px !important;
}

@media (max-width: 768px) {
  .hero-futuristic {
    margin-top: 56px !important;
    padding-top: 60px !important;
  }
}

/* 新しい会社概要テーブル */
.org-info-wrapper {
  background: linear-gradient(rgba(44, 139, 128, 0.75), rgba(15, 61, 62, 0.85)),
    url('../img/dist/pic_earth.webp') !important; /* 緑のグラデーション背景 */
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  padding: 40px 0;
}

.org-info-container {
  width: 100%;
  min-width: 300px;
}

.org-info-table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background-color: transparent !important; /* 背景を透過 */
  backdrop-filter: blur(5px); /* 背景をぼかして見やすく */
  border-top: 2px solid rgba(255, 255, 255, 0.4); /* 上部ボーダーのみ残す */
  border-bottom: 2px solid rgba(255, 255, 255, 0.4); /* 下部ボーダーのみ残す */
  border-left: none; /* 左ボーダーを削除 */
  border-right: none; /* 右ボーダーを削除 */
}

.org-info-table th {
  background-color: rgba(44, 139, 128, 0.8) !important; /* 半透明の緑 */
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 15px;
  text-align: left;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* 下部ボーダーのみ残す */
  border-left: none; /* 左ボーダーを削除 */
  border-right: none; /* 右ボーダーを削除 */
  width: 25%;
  min-width: 120px;
}

.org-info-table td {
  background-color: rgba(
    255,
    255,
    255,
    0.1
  ) !important; /* 背景をほぼ透明に変更 */
  color: #ffffff !important; /* 白色のテキスト */
  padding: 12px 15px;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* 下部ボーダーのみ残す */
  border-left: none; /* 左ボーダーを削除 */
  border-right: none; /* 右ボーダーを削除 */
  line-height: 1.6;
  font-weight: 500;
}
.org-info-table tr {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.org-info-table tr:hover {
  background: rgba(44, 139, 128, 0.05) !important;
}

.org-info-table .first-column {
  width: 25%;
}
/* 重複した.btn--glowの定義を削除 - メイン定義を使用 */

/* bodyとhtmlの下部余白を削除 */
html,
body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ヒーローセクション下のセクションとの隙間調整 */
#hero-stats-section {
  margin-top: -1px !important;
  padding-top: 20px !important;
}
/* ページ全体の下部余白を削除 */
#page-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* フッター関連の修正 */
.bg-footer {
  position: relative;
  overflow: hidden;
  background-color: #114445;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 10px;
}

.bg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #0f3d3e, #2c8b80, #56d1a7);
}

.bg-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  margin-bottom: 0 !important;
}

.bg-footer .text-light {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
}

.bg-footer .text-warning {
  color: rgba(255, 220, 130, 1) !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.bg-footer .text-warning:hover {
  color: rgba(255, 220, 130, 1) !important;
  text-shadow: 0 0 8px rgba(255, 220, 130, 0.6);
  transform: translateY(-1px);
}
/* ヒーローセクション下のSVGの位置調整 */
.hero-wave {
  position: relative;
  margin-top: -120px !important; /* -100pxから-120pxに変更して上に引き上げる */
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
  display: block;
  vertical-align: bottom;
  margin: 0;
  padding: 0;
}

/* --- 2251行目以降 最適化: セレクタ統合・プロパティ順序整理・コメント簡素化 --- */

/* .org-info-table th, .org-info-table td の共通プロパティをまとめる */
.org-info-table th,
.org-info-table td {
  border-top: none;
  border-left: none;
  border-right: none;
}

/* 重複した.btn--glow疑似要素の定義を削除 - メイン定義を使用 */

/* html, body の下部余白削除を1つにまとめる */
html,
body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 不要な説明コメントを削除 */

/* Linterエラー対応: 会社概要テーブル内のtr要素のスタイル */
.org-info-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-right: none;
}

/* Linterエラー対応: 会社概要テーブル内のth, td要素の背景とボーダー (HTMLのインラインスタイルを継承) */
.org-info-table th,
.org-info-table td {
  background-color: transparent !important;
  border-left: none !important;
  border-right: none !important;
}
.org-info-table th.first-column {
  background-color: rgba(15, 61, 62, 0.3) !important;
}

/* Linterエラー対応: サービス紹介セクションの説明ボックス */
#service .row.align-items-center > .col-lg-7 > .p-4.rounded {
  background-color: rgba(255, 255, 255, 0.7);
  position: relative;
}
/* サービスごとの異なるborder-topを個別に指定 */
#service .row.align-items-center:nth-child(1) > .col-lg-7 > .p-4.rounded {
  /* 電子帳簿保存協会 */
  border-top: 4px solid #2c8b80;
}
#service .row.align-items-center:nth-child(2) > .col-lg-7 > .p-4.rounded {
  /* グリーンテック推進協会 */
  border-top: 4px solid #56d1a7;
}
#service .row.align-items-center:nth-child(3) > .col-lg-7 > .p-4.rounded {
  /* 筆跡診断士協会 */
  border-top: 4px solid #0f3d3e;
}

/* Linterエラー対応: サービス紹介セクションの番号バッジ */
#service .row.align-items-center > .col-lg-7 > .p-4.rounded > div:first-child {
  position: absolute;
  top: 10px;
  right: 15px;
  background-color: #0f3d3e;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

/* Linterエラー対応: サービス紹介セクションのタイトルh4 */
#service .row.align-items-center > .col-lg-7 > .p-4.rounded > h4 {
  color: #0f3d3e;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  padding-left: 15px;
}
/* サービスごとの異なるborder-leftを個別に指定 */
#service .row.align-items-center:nth-child(1) > .col-lg-7 > .p-4.rounded > h4 {
  /* 電子帳簿保存協会 */
  border-left: 3px solid #2c8b80;
}
#service .row.align-items-center:nth-child(2) > .col-lg-7 > .p-4.rounded > h4 {
  /* グリーンテック推進協会 */
  border-left: 3px solid #56d1a7;
}
#service .row.align-items-center:nth-child(3) > .col-lg-7 > .p-4.rounded > h4 {
  /* 筆跡診断士協会 */
  border-left: 3px solid #0f3d3e;
}

/* Linterエラー対応: お問い合わせセクションのサブタイトルh3 */
#contact h3.section-subtitle.contact-text-shadow {
  color: #e9f5f3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Linterエラー対応: サービスセクション内のお問い合わせを促す部分のh3 */
#service
  .row.justify-content-center.mt-5
  .col-md-8.text-center
  .p-4.rounded
  h3 {
  color: #0f3d3e;
  border-bottom: 2px solid #56d1a7;
  display: inline-block;
  padding-bottom: 4px;
  font-weight: bold;
}

/* その他のインラインスタイル要素のCSS化 (HTMLの構造から推測) */
/* 例: ヒーローセクションの一般社団法人ラベル */
.hero-futuristic__content .mb-3.animate-in-left > span {
  background-color: #ffffff;
  color: #0f3d3e;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 例: ヒーローセクションのタイトルラッパー */
.hero-futuristic__content > div:nth-of-type(2) {
  /* h1の親divを想定 */
  position: relative;
  display: inline-block;
}

/* 例: ヒーローセクションのタイトル h1 */
.hero-futuristic__title.animate-in-right {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
  color: #e8f5f2;
  text-shadow: 0 0 15px rgba(156, 222, 213, 0.5);
}
.hero-futuristic__title.animate-in-right > span:nth-of-type(1),
.hero-futuristic__title.animate-in-right > span:nth-of-type(2) {
  /* トータルとサービスの部分 */
  color: #b5dbd4;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(181, 219, 212, 0.7);
}

/* 例: ヒーローセクションのサブタイトル p */
.hero-futuristic__subtitle.delay-1.animate-in-up {
  color: #e0f0ec;
  text-shadow: 0 0 10px rgba(156, 222, 213, 0.4);
}
.hero-futuristic__subtitle.delay-1.animate-in-up > span:nth-of-type(1) {
  /* 環境問題解決 */
  color: #a0efe5;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(160, 239, 229, 0.6);
}
.hero-futuristic__subtitle.delay-1.animate-in-up > span:nth-of-type(2) {
  /* 再生可能エネルギーソリューション */
  color: #8fdfd3;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(143, 223, 211, 0.6);
}

/* 例: ヒーローセクションのアイコン画像 img */
.hero-futuristic__content .text-center.mt-2.mb-2.animate-in-up.delay-1 > img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(122, 231, 255, 0.7));
  margin: 15px 0;
}

/* 例: ヒーローセクションのボタンラッパー div */
.hero-futuristic__content .delay-2.text-center {
  margin: 20px 0;
}

/* 例: ヒーローセクションのボタン a */
.hero-futuristic__content .delay-2.text-center > a.btn--glow {
  margin: 10px;
  min-width: 180px;
  padding: 10px 20px;
  display: inline-block;
  font-size: 1.1rem;
  position: relative;
  z-index: 10;
  visibility: visible !important; /* HTMLのインラインスタイルを継承 */
  opacity: 1 !important; /* HTMLのインラインスタイルを継承 */
}

/* 例: ヒーローセクション下の波SVGの親div */
.hero-wave {
  font-size: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
  margin-top: -120px;
}
.hero-wave > svg {
  width: 100%;
  height: 100px;
  display: block;
  vertical-align: bottom;
  margin-bottom: 0;
}

/* 例: ヒーロースタッツセクション */
#hero-stats-section {
  background-color: #f3f3f3;
  margin-top: 0;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}
#hero-stats-section .hero-stats {
  margin-top: 10px;
  background: rgba(249, 252, 251, 0.4);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(44, 139, 128, 0.05);
}
#hero-stats-section .hero-stat-item {
  width: 160px;
  text-align: center;
}
#hero-stats-section .hero-stat-item .hero-stat-value {
  color: #7ae7ff;
  font-weight: 700;
}
#hero-stats-section .hero-stat-item .hero-stat-label {
  color: #0f3d3e;
  font-weight: 500;
}

/* 例: エコテックセクション */
.bg-light.py-5[style*='linear-gradient(to right, #f3f3f3, #e9f5f3, #f3f3f3)'] {
  /* 詳細なセレクタで特定 */
  background: linear-gradient(to right, #f3f3f3, #e9f5f3, #f3f3f3);
}
.eco-tech-image img {
  max-height: 220px;
  filter: drop-shadow(0 5px 15px rgba(44, 139, 128, 0.3));
}
.eco-tech-orbit .data-point:nth-child(1) {
  top: 30%;
  left: 10%;
}
.eco-tech-orbit .data-point:nth-child(2) {
  top: 60%;
  left: 20%;
}
.eco-tech-orbit .data-point:nth-child(3) {
  top: 20%;
  left: 75%;
}
.eco-tech-orbit .data-point:nth-child(4) {
  top: 70%;
  left: 85%;
}
.eco-tech-orbit .data-point:nth-child(5) {
  top: 40%;
  left: 90%;
}

/* Aboutセクションのアイコン背景 */
#about .earth-feature-icon > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  opacity: 0.18;
  border-radius: 18px;
  z-index: 0;
}
#about .row:nth-of-type(1) .earth-feature-icon > div {
  /* 最初のアイコン */
  background: linear-gradient(135deg, #2c8b80 60%, #56d1a7 100%);
}
#about .row:nth-of-type(2) .earth-feature-icon > div {
  /* 2番目のアイコン */
  background: linear-gradient(135deg, #0f3d3e 60%, #2c8b80 100%);
}
#about .row:nth-of-type(3) .earth-feature-icon > div {
  /* 3番目のアイコン */
  background: linear-gradient(135deg, #56d1a7 60%, #2c8b80 100%);
}
#about .earth-feature-icon > i {
  color: white;
  position: relative;
  z-index: 1;
}

/* Aboutセクションのpタグ内のspan */
#about .text-breakword-wrap.nowrap {
  word-break: auto-phrase;
}

/* データ可視化セクション 画像コンテナ */
#data-visualization .chart-image-container {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#data-visualization .chart-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#data-visualization .mt-3.p-3 {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
}
#data-visualization .mt-3.p-3 p {
  color: #0f3d3e;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* サービスセクションの背景 */
#service.py-5 {
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(249, 252, 251, 0.9)
    ),
    url('../img/dist/earth_overview_photo.webp'); /* CSSファイルからの相対パス */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* サービスセクションの画像 */
#service .service-image-container img[alt='TLCS電子帳簿保存協会'],
#service .service-image-container img[alt='TLCSグリーンテック推進協会'],
#service .service-image-container img[alt='TLCS筆跡診断士協会'] {
  width: 100%;
  max-width: 350px;
  height: auto;
  position: relative;
  z-index: 2;
}

/* お問い合わせフォーム */
#contact .mb-3.contact-text-shadow.animate-in-up {
  color: #e9f5f3;
  font-size: 1.05rem;
  max-width: 1100px;
  width: 100%;
  min-width: 320px;
  margin: 0 auto 15px auto;
}
#contact .contact-form.center-block.mb-2.small {
  width: 100%;
  max-width: 1100px;
  min-width: 320px;
  margin: 0 auto;
}
#contact form#contactForm {
  background-color: rgba(15, 61, 62, 0.4);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#contact form#contactForm label {
  color: #e9f5f3;
  font-weight: 500;
}
#contact form#contactForm input.form-control,
#contact form#contactForm textarea.form-control {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
}
#contact form#contactForm textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
#contact form#contactForm .form-check.d-inline-block.text-left {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
}
#contact form#contactForm input#cookieConsent {
  cursor: pointer;
  margin-top: 0;
  margin-right: 8px;
  position: relative;
  min-width: 16px;
  min-height: 16px;
  flex-shrink: 0;
}
#contact form#contactForm label[for='cookieConsent'] {
  color: #e9f5f3;
  cursor: pointer;
  margin-bottom: 0;
  line-height: 1.2;
  display: inline-block;
  position: relative;
  top: 0;
}
#contact form#contactForm button#submitBtn {
  background-color: #56d1a7;
  border-color: #56d1a7;
  font-weight: 600;
  padding: 10px 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  opacity: 0.6;
  cursor: not-allowed;
  border-radius: 6px;
  transition: all 0.3s ease;
}
#contact p.text-center.text-breakword-wrap {
  word-break: auto-phrase;
  color: #e9f5f3;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

/* フッターのリンク */
footer .mb-3.mt-2 > a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* フローティングバナー */
.floating-banner {
  display: block; /* 初期表示はJSで制御される前提 */
  position: fixed;
  right: 0;
  bottom: 180px;
  z-index: 9000;
}
.floating-banner button[title='閉じる'] {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px; /* 微調整 */
  font-weight: bold;
  font-size: 18px;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none; /* JSで表示制御の可能性 */
  cursor: pointer;
  padding: 0;
  outline: none;
}
.floating-banner a img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.floating-banner > div:last-of-type {
  /* 説明テキストのdiv */
  text-align: center;
  font-size: 0.8rem;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 2px 5px;
  color: #2c8b80;
  font-weight: 500;
  width: 100%;
  max-width: 160px;
}

/* バックトゥトップボタン */
a#back-to-top {
  /* IDで特定 */
  right: 40px;
  bottom: 120px;
  z-index: var(--z-index-backtotop); /* CSS変数参照 */
  display: none; /* JSで表示制御 */
  position: fixed;
  width: 40px;
  height: 40px;
  background-color: #2c8b80;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0; /* JSで表示制御 */
  cursor: pointer;
}
a#back-to-top > div {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
a#back-to-top > div > i {
  font-size: 1.2em;
}

/* Cookieバナー */
#cookie-banner {
  display: none; /* JSで表示制御 */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background-color: rgba(15, 61, 62, 0.95);
  color: #ffffff;
  padding: 15px 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 0;
}

/* bodyとpage-wrapperのインラインスタイル対策 */
body[style*='overflow-x: hidden'] {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
#page-wrapper[style*='overflow-x: hidden'] {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}
/* ナビゲーションバーのコンテナ */
nav#main-navbar > .container {
  max-width: 100%;
}
/* ナビゲーションリンク */
nav#main-navbar .nav-link {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* ヒーローセクションのコンテナ */
.hero-futuristic > .container {
  padding-top: 0;
  padding-bottom: 50px;
  max-width: 1200px;
}

/* ヒーローセクションのボタンに対する限定的なスタイル調整 */
.hero-futuristic .btn--glow.btn--accent {
  color: #ffffff !important; /* フォントカラーを白に */
  border: 2px solid rgba(255, 255, 255, 0.8) !important; /* 白いボーダーを追加 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) !important; /* 影と外側のボーダーグロー */
}

.hero-futuristic .btn--glow.btn--accent:hover {
  border-color: rgba(
    255,
    255,
    255,
    1
  ) !important; /* ホバー時にボーダーを完全に不透明に */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.3) !important; /* ホバー時の影とグロー強化 */
}

/* ヒーローセクション内の通常の.btn--glowボタンにも白いボーダーを追加 */
.hero-futuristic .btn--glow {
  border: 2px solid rgba(255, 255, 255, 0.7) !important; /* 白いボーダーを追加 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) !important; /* 影と外側のボーダーグロー */
  color: #ffffff !important; /* フォントカラーを白に */
}

.hero-futuristic .btn--glow:hover {
  border-color: rgba(
    255,
    255,
    255,
    0.9
  ) !important; /* ホバー時にボーダーを強化 */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2) !important; /* ホバー時の影とグロー強化 */
}

/* ヒーローセクションのタイトル下のサブタイトル */
.hero-title-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ヒーローセクションのオレンジアクセントボックス */
.hero-accent-box {
  position: absolute;
  top: 80px;
  left: 20px;
  width: 84px;
  height: 84px;
  background: #e67e22;
  z-index: 3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-accent-box {
    width: 56px;
    height: 56px;
    top: 70px;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .hero-accent-box {
    width: 42px;
    height: 42px;
    top: 60px;
    left: 10px;
  }
}

/* -------------------------------------------------------------------------- */
/*                                Unified Forms                               */
/* -------------------------------------------------------------------------- */

.btn-unified-submit {
  background-color: #56d1a7;
  border-color: #56d1a7;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  min-width: 260px;
}

.btn-unified-submit:hover:not(:disabled) {
  background-color: #45b896;
  border-color: #45b896;
  transform: translateY(-2px);
}

.btn-unified-submit:not(:disabled) {
  color: #ffffff !important;
}

.btn-unified-submit:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  opacity: 0.6;
}

/* -------------------------------------------------------------------------- */
/*                                 Animations                                 */
/* -------------------------------------------------------------------------- */
.animate-in-up {
  animation: slideInUp 0.8s ease-out;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

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