/* Base Styles */
@keyframes menuHover {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(30px, 900px, 36px, 0);
  }
  20% {
    clip: rect(15px, 900px, 50px, 0);
  }
  40% {
    clip: rect(45px, 900px, 16px, 0);
  }
  60% {
    clip: rect(8px, 900px, 42px, 0);
  }
  80% {
    clip: rect(25px, 900px, 31px, 0);
  }
  100% {
    clip: rect(38px, 900px, 19px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(12px, 900px, 42px, 0);
  }
  20% {
    clip: rect(48px, 900px, 18px, 0);
  }
  40% {
    clip: rect(22px, 900px, 35px, 0);
  }
  60% {
    clip: rect(40px, 900px, 15px, 0);
  }
  80% {
    clip: rect(32px, 900px, 45px, 0);
  }
  100% {
    clip: rect(20px, 900px, 28px, 0);
  }
}

@keyframes zoomPan {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-2%, -1%);
  }
  100% {
    transform: scale(1.05) translate(1%, 2%);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

body {
  background: #f8f9fa;
  color: #212529;
  overflow-x: hidden;
}

/* Navigation Styles */
/* Navigation Styles */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: transparent; /* 透明背景を維持 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  transition: background-color 1.2s ease; /* 背景色変化をゆっくりに */
  z-index: 1000;
}

/* ボーダーラインのスタイル */
.nav-border-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #409cff, #64b5f6);
  transition: width 0.6s ease-out; /* ボーダーライン拡大を遅く */
}

.nav-bar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* スクロール時にボーダーラインを表示 */
.nav-bar.scrolled .nav-border-line {
  width: 100%;
}

.nav-logo {
  z-index: 1001;
}

.logo-image {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu-item {
  position: relative;
}

.nav-menu-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 1s ease; /* テキスト色の変化も緩やかに */
  padding: 0.5rem 0;
}

.nav-bar.scrolled .nav-menu-link {
  color: #001838;
}

.nav-menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #409cff;
  transition: width 0.3s ease;
}

.nav-menu-item:hover .nav-menu-link::after {
  animation: menuHover 0.3s forwards;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 1s ease; /* ハンバーガーメニューの色変化も緩やかに */
}

.nav-bar.scrolled .nav-toggle span {
  background: #001838;
}
/* Advanced Visual Effects */
@keyframes lightLine {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50%) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0);
  }
}

@keyframes clipMove {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
}

@keyframes textGlitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
      -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
      0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

/* Header Styles */
.header {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

#headerCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Slide Styles */
.header-slides {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slide.current {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

/* 背景画像設定 */
.slide[data-id="A"]::before {
  background-image: url("topearth.jpg");
}

.slide[data-id="B"]::before {
  background-image: url("topai.jpg");
}

.slide[data-id="C"]::before {
  background-image: url("topmeeting.jpg");
}

.slide[data-id="D"]::before {
  background-image: url("toppc.jpg");
}

/* 斜めの形状とオーバーレイ */
.diagonal-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1; /* diagonal-shapes全体のz-indexを低く設定 */
}

/* 全体の薄い色調整用 */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 86, 0.1);
}
/* スライドコンテンツ */
.slide-content {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.text-container {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 1rem; /* パディングを縮小 */
}

.text-background {
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 32, 0.75); /* グレー系に変更 */
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.slide.current .text-background {
  transform: translateX(0);
}

.slide-title {
  position: relative;
  z-index: 1;
}

.slide-title .en {
  display: block;
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}

.slide-title .jp {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.5s;
}

.slide.current .slide-title .en,
.slide.current .slide-title .jp {
  opacity: 1;
  transform: translateY(0);
}
/* News Section Styles */
.news-section {
  padding: 6rem 2rem;
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  padding-bottom: 1.5rem;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: rgba(64, 156, 255, 0.3);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #409cff, #64b5f6);
}
/* 白文字バージョン */
.section-title.light {
  color: #ffffff;
}
/* スマートフォン向けのレスポンシブ調整 */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }
}
.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: #409cff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Service Section Styles */
.service-section {
  padding: 8rem 2rem;
  background: #fff;
}

.service-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

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

.service-card-inner {
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon {
  margin-bottom: 2rem;
  height: 60px; /* ロゴの高さを固定 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-logo {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
  position: relative;
}

.service-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #409cff;
  transition: width 0.3s ease;
}

.service-card:hover .service-title::after {
  width: 60px;
}

.service-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-top: auto;
  width: 100%;
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.service-features li {
  background: #f5f7fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #409cff;
  transition: all 0.3s ease;
}

.service-features li:hover {
  background: #409cff;
  color: #fff;
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card-inner {
    padding: 2rem 1.5rem;
  }
}
.service-subtitle {
  text-align: center;
  margin: -2rem 0 4rem; /* タイトルとの距離を詰める */
  position: relative;
}

.service-subtitle p {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #666;
  display: inline-block;
  padding: 0 3rem;
  position: relative;
}

/* 左右の装飾線 */
.service-subtitle p::before,
.service-subtitle p::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: #409cff;
  opacity: 0.6;
}

.service-subtitle p::before {
  left: 0;
}

.service-subtitle p::after {
  right: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .service-subtitle {
    margin: -1.5rem 0 3rem;
  }

  .service-subtitle p {
    font-size: 1rem;
    padding: 0 2rem;
  }

  .service-subtitle p::before,
  .service-subtitle p::after {
    width: 1.5rem;
  }
}

/* Footer Styles */
.footer {
  background: #2a2a2a;
  color: #fff;
  padding: 4rem 2rem 2rem;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: #409cff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #409cff;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .slide-title .en {
    font-size: 3.5rem;
  }

  .slide-title .jp {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu-link {
    color: #212529;
    font-size: 1.5rem;
  }

  .nav-menu-link::after {
    display: none;
  }

  .slide-title .en {
    font-size: 3rem;
  }

  .slide-title .jp {
    font-size: 1.4rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .nav-bar {
    padding: 0 1rem;
  }

  .slide-content {
    left: 5%;
    right: 5%;
  }

  .slide-title .en {
    font-size: 2.5rem;
  }

  .slide-title .jp {
    font-size: 1.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    /* 高さを自動調整するように変更 */
    height: auto;
    /* 必要に応じて最小高さを設定 */
    min-height: 200px;
    /* 内部の余白を調整 */
    padding: 1rem;
  }

  .service-card-inner {
    padding: 1.5rem 1rem; /* 内部の余白を調整 */
  }

  .service-desc p {
    /* テキストサイズを少し小さくして見やすく */
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .service-overlay {
    padding: 1rem;
  }
  .service-overlay {
    padding: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* Utility Classes */
.text-gradient {
  background: linear-gradient(45deg, #fff, #64b5f6);
  -webkit-background-clip: text;
  color: transparent;
}

.bg-gradient {
  background: linear-gradient(
    45deg,
    rgba(0, 24, 56, 0.9),
    rgba(0, 24, 56, 0.6)
  );
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: #001838;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Additional Interactive Elements */
.hover-lift {
  transition: transform 0.3s ease;
}

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

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #409cff;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #357abd;
}

/* Print Styles */
@media print {
  .nav-bar,
  .footer {
    display: none;
  }

  .header {
    height: auto;
  }

  .slide-content {
    position: static;
    transform: none;
    color: #000;
    padding: 2rem;
  }

  .slide-title .en,
  .slide-title .jp {
    color: #000;
  }
}
/* Mission Section Styles */ /* Mission Section Styles */
/* Mission Section Styles */
.mission-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.mission-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("todo.jpg");
  background-size: contain; /* coverからcontainに変更 */
  background-position: top center; /* 上部中央に配置 */
  background-repeat: no-repeat; /* 繰り返しを防止 */
  z-index: 1;
}

/* 背景色を追加して空白部分を埋める */
.mission-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: #f5f5f5; /* 明るめのグレー */
}

.mission-content-wrapper {
  position: relative;
  margin: 150px auto; /* 上下の余白を大きく */
  max-width: 1600px; /* 最大幅を広げる */
  padding: 0 40px;
  z-index: 2;
}

.mission-content {
  position: relative;
  background: rgba(
    70,
    70,
    70,
    0.85
  ); /* グレーオーバーレイをコンテンツ部分のみに */
  border-radius: 20px; /* 角丸にして背景との区別を明確に */
  padding: 60px 40px;
  overflow: hidden;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.mission-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.mission-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.mission-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #333;
  transition: transform 0.3s ease;
}

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

.mission-subtitle {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.mission-subtitle span {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.4;
}

.mission-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #409cff, #64b5f6);
  transition: width 0.3s ease;
}

.mission-card:hover .mission-subtitle::after {
  width: 100px;
}

.mission-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  color: #333;
}

/* Responsive Styles */
@media (max-width: 1400px) {
  .mission-content-wrapper {
    margin: 100px auto;
    padding: 0 30px;
  }
}

@media (max-width: 1200px) {
  .mission-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .mission-content-wrapper {
    margin: 80px auto;
    padding: 0 20px;
  }

  .mission-content {
    padding: 40px 20px;
  }

  .mission-subtitle span {
    font-size: 1.6rem;
  }

  .mission-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .mission-content-wrapper {
    margin: 60px auto;
    padding: 0 15px;
  }

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

  .mission-subtitle span {
    font-size: 1.4rem;
  }
}
/* Philosophy Page Styles */
.philosophy-hero {
  height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 24, 56, 0.7), rgba(0, 24, 56, 0.7)),
    url("philosophy-hero.jpg") center/cover;
}

.philosophy-hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
}

.philosophy-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.philosophy-hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.8;
}

.philosophy-section {
  padding: 8rem 2rem;
  background: #fff;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.philosophy-item {
  position: relative;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-10px);
}

.philosophy-item h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #409cff;
}

.philosophy-item p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.value-section {
  padding: 8rem 2rem;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.value-item {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: #409cff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.value-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  .philosophy-hero-title {
    font-size: 2.5rem;
  }

  .philosophy-hero-subtitle {
    font-size: 1.2rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}
/* Philosophy Page Navigation Fixes */
.philosophy-hero .nav-bar {
  background: transparent;
}

.philosophy-hero .nav-menu-link {
  color: #fff;
}

.nav-bar.scrolled .nav-menu-link {
  color: #001838;
}

/* Philosophy Page Animation Fixes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  transition-delay: 0.2s;
}

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

/* Mobile Navigation Fixes */
@media (max-width: 768px) {
  .nav-menu {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu-link {
    color: #001838;
  }

  .nav-toggle span {
    background: #fff;
  }

  .nav-bar.scrolled .nav-toggle span {
    background: #001838;
  }
}
/* Declaration Page Styles */
.declaration-hero,
.sdgs-hero {
  height: 40vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 24, 56, 0.7), rgba(0, 24, 56, 0.7)),
    url("declaration-hero.jpg") center/cover;
}

.sdgs-hero {
  background-image: linear-gradient(rgba(0, 24, 56, 0.7), rgba(0, 24, 56, 0.7)),
    url("sdgstop.jpg");
}

.declaration-hero-content,
.sdgs-hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
}

.declaration-hero-title,
.sdgs-hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.declaration-hero-subtitle,
.sdgs-hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
}

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

.message-section {
  padding: 6rem 2rem;
  background: #fff;
}

.message-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.declaration-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.declaration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.declaration-item {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.declaration-item:hover {
  transform: translateY(-10px);
}

.declaration-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.declaration-icon img {
  width: 100%;
  height: auto;
}

.declaration-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a1a1a;
}

.declaration-item ul {
  list-style: none;
  padding: 0;
}

.declaration-item ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #666;
}

.declaration-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #409cff;
  border-radius: 50%;
}

.implementation-section {
  padding: 6rem 2rem;
  background: #fff;
}

.implementation-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.implementation-item {
  text-align: center;
  padding: 2rem;
}

.implementation-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.implementation-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .declaration-grid,
  .implementation-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .declaration-hero-title,
  .sdgs-hero-title {
    font-size: 2.5rem;
  }

  .declaration-grid,
  .implementation-content {
    grid-template-columns: 1fr;
  }

  .declaration-item {
    padding: 1.5rem;
  }
}
/* SDGs Goals Section Styles */
.sdgs-goals-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.sdgs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.sdgs-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.sdgs-item:hover {
  transform: translateY(-10px);
}

.sdgs-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sdgs-icon img {
  width: 100%;
  height: auto;
}

.sdgs-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a1a1a;
}

.sdgs-item h4 {
  font-size: 1.2rem;
  color: #409cff;
  margin-bottom: 1rem;
  text-align: center;
}

.sdgs-content ul {
  list-style: none;
  padding: 0;
}

.sdgs-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #666;
}

.sdgs-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #409cff;
  border-radius: 50%;
}
/* SDGsメイン画像のコンテナ */
.sdgs-image {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

/* SDGsメイン画像自体 */
.sdgs-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .sdgs-image {
    margin: 2rem auto;
    padding: 0 1rem;
  }
}
/* Action Plan Section Styles */
.action-section {
  padding: 6rem 2rem;
  background: #fff;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.action-item {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.action-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: center;
}

.action-item ul {
  list-style: none;
  padding: 0;
}

.action-item ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #666;
}

.action-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #409cff;
  border-radius: 50%;
}

/* Progress Section Styles */
.progress-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.progress-content {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sdgs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sdgs-grid {
    grid-template-columns: 1fr;
  }

  .sdgs-item,
  .action-item {
    padding: 1.5rem;
  }
}
/* Service Page Styles */
.service-hero {
  height: 40vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 24, 56, 0.7), rgba(0, 24, 56, 0.7)),
    url("web-service-hero.jpg") center/cover;
}

.service-hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
}

.service-hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.service-hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
}

.service-detail-section {
  padding: 6rem 2rem;
  background: #fff;
}

.service-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 100%;
  height: auto;
}

.service-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 1rem;
}

.service-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #409cff;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: #666;
}

.service-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #409cff;
  border-radius: 50%;
}

.service-content p {
  color: #666;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 2rem;
  }

  .service-hero-subtitle {
    font-size: 1.1rem;
  }

  .service-item {
    padding: 1.5rem;
  }
}
/* Strength Section Styles */
.strength-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.strength-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.strength-item:hover {
  transform: translateY(-10px);
}

.strength-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #409cff;
  margin-bottom: 1.5rem;
  font-family: "Arial", sans-serif;
}

.strength-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.strength-item p {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}

@media (max-width: 1024px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }
  .strength-item {
    padding: 2rem;
  }
}
.service-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #409cff, #64b5f6);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-icon-text {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-item:hover .service-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(64, 156, 255, 0.3);
}

/* サービスごとの色変更 */
.service-item:nth-child(2) .service-icon-wrapper {
  background: linear-gradient(135deg, #64b5f6, #2196f3);
}

.service-item:nth-child(3) .service-icon-wrapper {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}
.banner-section {
  position: relative;
  height: 400px;
  width: 100%;
  overflow: hidden;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("webnew.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* 必要に応じて */
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  background: linear-gradient(rgba(0, 24, 56, 0.7), rgba(0, 24, 56, 0.7));
  display: flex;
  align-items: center;
  justify-content: center; /* センター寄せのために追加 */
}

.banner-text {
  text-align: center; /* テキストをセンター寄せ */
  color: #fff;
  padding: 0 2rem;
}

.banner-text h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.banner-text p {
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: 300;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .banner-section {
    height: 300px;
  }

  .banner-text h2 {
    font-size: 2.5rem;
  }

  .banner-text p {
    font-size: 1.2rem;
  }
}
.consulting-banner .banner-image {
  background-image: url("consul.jpg"); /* コンサルティング用の画像 */
}
/* About Hero Section - service-heroを基に調整 */
.about-hero {
  height: 40vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 24, 56, 0.4), rgba(0, 24, 56, 0.4)),
    url("about-hero.jpg") center/cover;
}

.about-hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
}

.about-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.about-hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Profile Section */
.profile-section {
  padding: 6rem 2rem;
  background: #fff;
}

.profile-content {
  max-width: 1000px;
  margin: 3rem auto 0;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

.profile-table th {
  width: 25%;
  color: #1a1a1a;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

.profile-table td {
  color: #666;
  line-height: 1.8;
}

/* Office Section */
/* About Hero Section */

/* About Banner Section */
.about-banner .banner-image {
  background-image: url("about-banner.jpg");
}

/* Profile Section */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

.profile-table th {
  width: 25%;
  color: #1a1a1a;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

/* Office Section */
.office-section {
  padding: 6rem 2rem; /* 6remから8remに増やして上下の余白を広げる */
  background: #f8f9fa;
}
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.office-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.office-item:hover {
  transform: translateY(-10px);
}

.office-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 1rem;
}

.office-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #409cff;
}

.office-address {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.office-access {
  color: #409cff;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }

  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 1rem;
  }

  .profile-table th {
    background: #f8f9fa;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .office-item {
    padding: 1.5rem;
  }
}
/* Vision Section Styles */
.vision-section {
  padding: 8rem 2rem;
  background: linear-gradient(45deg, #001838, #003366);
  color: #fff;
}

.vision-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 4rem;
  color: #fff;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vision-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.vision-item:hover {
  transform: translateY(-10px);
}

.vision-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #409cff;
}

.vision-item p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vision-section {
    padding: 6rem 2rem;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vision-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }
}
/* Brand Section Styles */
.brand-section {
  padding: 8rem 2rem;
  background: #fff;
}

.brand-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin: -2rem 0 4rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-item {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-10px);
}

.brand-logo {
  margin-bottom: 2rem;
  text-align: center;
}

.brand-image {
  max-width: 240px;
  height: auto;
}

.brand-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.brand-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.brand-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.brand-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #409cff;
  font-weight: 500;
}

.brand-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #409cff;
  border-radius: 50%;
}

.location-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.location-tag {
  background: #f5f7fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #409cff;
}

@media (max-width: 1024px) {
  .brand-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-item {
    padding: 2rem;
  }
}
.brand-point {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.point-tag {
  background: linear-gradient(135deg, #409cff, #64b5f6);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}
/* Happiness Section Base Styles */
.happiness-section {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0;
  overflow: hidden;
  background-color: #f5f5f5;
}

.happiness-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("happiness-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.happiness-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 24, 56, 0.5),
    rgba(64, 156, 255, 0.4)
  );
}

.happiness-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.happiness-content {
  position: relative;
  padding: 60px 40px;
  overflow: hidden;
}

/* Title Styles */
.happiness-section .section-title {
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}

.happiness-lead {
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* Grid Layout */
.happiness-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Card Styles */
.happiness-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.happiness-card:hover {
  transform: translateY(-10px);
}

/* Symbol Styles */
.happiness-symbol {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-design {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transform: rotate(45deg);
  position: absolute;
  transition: all 0.3s ease;
}

.symbol-text {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  z-index: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Individual Symbol Colors */
.symbol-design.customer {
  background: linear-gradient(135deg, #409cff, #64b5f6);
}

.symbol-design.partner {
  background: linear-gradient(135deg, #64b5f6, #2196f3);
}

.symbol-design.social {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.symbol-design.employee {
  background: linear-gradient(135deg, #1976d2, #0d47a1);
}

/* Animation */
.happiness-card:hover .symbol-design {
  transform: rotate(225deg);
}

/* Text Styles */
.happiness-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: center;
}

.happiness-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* Fade In Animation */
.happiness-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.happiness-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .happiness-content-wrapper {
    margin: 100px auto;
    padding: 0 30px;
  }
}

@media (max-width: 1200px) {
  .happiness-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
}

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

  .happiness-content-wrapper {
    margin: 80px auto;
    padding: 0 20px;
  }

  .happiness-content {
    padding: 40px 20px;
  }

  .happiness-lead {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  .happiness-card {
    padding: 2rem;
  }

  .happiness-card h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .happiness-content-wrapper {
    margin: 60px auto;
    padding: 0 15px;
  }

  .happiness-lead {
    font-size: 1.2rem;
  }

  .happiness-card h3 {
    font-size: 1.4rem;
  }
}
