/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue',Arial,'Hiragino Sans','Meiryo','Noto Sans JP','Poppins', serif, 'メイリオ', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 16px; /* 20pxから16pxに変更 */
    overflow-x: hidden; /* 横スクロールを防止 */
    /* PCでカスタムカーソルを使用（スマホでは除外） */
    cursor: none;
}

body.no-scroll{
  overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* prefers-reduced-motionへの対応 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* ヒーロータイトルのアクセシビリティ対応 */
    .hero-title {
        animation: none !important;
        transform: none !important;
        background: #4F86F7 !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    .hero-title:hover {
        transform: none !important;
        animation: none !important;
    }
    
    .hero-title .char {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* 浮遊テキストは静止表示（iOS/Android対応） */
    .text-element {
        animation: none !important;
        -webkit-animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        -webkit-transform: none !important;
        position: static !important;
    }
}

/* Cohaco風グローバルナビゲーション */
.header-cohaco {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px; /* パディングを調整 */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-cohaco .logo {
  display: block;
}

.header-cohaco .logo img {
  height: 32px;
  width: auto;
  transition: all 0.4s ease;
}

.nav-cohaco {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 30px; /* 40pxから30pxに調整 */
  position: relative;
}

.nav-item a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; /* 15pxから14pxに調整 */
  font-weight: 500;
  color: #333;
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  position: relative;
  padding: 8px 0; /* タップ領域を拡大 */
  transition: color 0.3s ease;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px; /* 1pxから2pxに変更 */
  background-color: #4F86F7;
  transition: width 0.3s ease;
}

.nav-item a:hover:not(.active) {
  color: #4F86F7;
}

.nav-item a:hover:not(.active)::after {
  width: 100%;
}

.nav-item a.active {
  color: #4F86F7;
  border-bottom: 2px solid #4F86F7;
}

.nav-contact {
  color: #4F86F7 !important;
}

.hamburger {
  display: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
  left: 0;
}

/* 3本線の位置を調整 */
.hamburger span:nth-child(1) {
  top: 4px;
}

.hamburger span:nth-child(2) {
  top: 14px;
}

.hamburger span:nth-child(3) {
  top: 24px;
}

/* アクティブ時の3本線の変形 */
.hamburger.active span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-inner {
  max-width: 800px;
  margin: 100px auto 0;
  padding: 0 20px; /* 30pxから20pxに調整 */
}

.nav-mobile-list {
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
}

.nav-mobile-list li {
  margin-bottom: 20px; /* 30pxから20pxに調整 */
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-mobile-list li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* モバイルでのタップ時の色変更 */
@media (hover: none) {
  .nav-mobile-list a:active {
    color: #4F86F7;
  }
  .nav-mobile-list a:active::after {
    width: 100%;
  }
}

.nav-mobile-list a {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; /* スマホで読みやすいサイズに調整 */
  font-weight: 500;
  color: #333;
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  position: relative;
  padding: 15px 0; /* タップ領域を拡大 */
  transition: color 0.3s ease;
}

.nav-mobile-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #4F86F7;
  transition: width 0.3s ease;
}

.nav-mobile-list a:hover {
  color: #4F86F7;
}

.nav-mobile-list a:hover::after {
  width: 50%;
}

.nav-mobile-info {
  text-align: center;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* スクロール時のヘッダー変更 */
.header-scrolled .header-cohaco {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section - GSAP SVG Animation */
#hero-gsap-svg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px 0; /* ヘッダー分のパディングを追加 */
}

.svg-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.trust-circle-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3; /* 背景として控えめに */
    /* SVGの全画面表示を確保 */
    object-fit: cover;
    object-position: center;
    /* スマホでの追従を防ぐ */
    transform: translateZ(0);
    will-change: transform;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    min-height: 100vh;
}

.hero-content {
    text-align: center;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* スマホでの中央配置を確実にする */
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #4F86F7;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
    
    /* 2024年最新のグラデーション効果 */
    background: linear-gradient(135deg, #4F86F7 0%, #48CAE4 25%, #0077B6 50%, #90E0EF 75%, #4F86F7 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* アニメーション */
    animation: gradientShift 8s ease-in-out infinite, titleFloat 6s ease-in-out infinite;
    
    /* インタラクティブ効果 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
    
    /* 完全な中央配置 */
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    
    /* 1列表示 */
    white-space: nowrap !important;
    overflow: visible !important;
    
    /* 横書き強制 */
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
}

/* ホバー時のインタラクティブ効果 */
.hero-title:hover {
    transform: translateY(-5px) scale(1.02);
    animation-duration: 3s;
    text-shadow: 0 10px 30px rgba(79, 134, 247, 0.3);
}

/* グラデーションアニメーション */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 200% 50%;
    }
    75% {
        background-position: 300% 50%;
    }
}

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

/* 文字が順番に現れるアニメーション用 */
.hero-title.char-animation {
    overflow: visible !important;
}

.hero-title .char {
    display: inline-block !important;
    opacity: 0;
    transform: translateY(50px);
    animation: charReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
    margin: 0 !important;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* グラデーション未対応ブラウザ用フォールバック */
@supports not (-webkit-background-clip: text) {
    .hero-title {
        background: none !important;
        color: #4F86F7 !important;
        -webkit-text-fill-color: initial !important;
        text-shadow: 0 2px 10px rgba(79, 134, 247, 0.4) !important;
    }
}

/* Firefox専用対応 */
@-moz-document url-prefix() {
    .hero-title {
        background: none;
        color: #4F86F7;
        -webkit-text-fill-color: initial;
        text-shadow: 0 2px 10px rgba(79, 134, 247, 0.4);
    }
}

/* Internet Explorer対応 */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    .hero-title {
        background: none;
        color: #4F86F7;
        text-shadow: 0 2px 10px rgba(79, 134, 247, 0.4);
    }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    .hero-title {
        background: none !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        text-shadow: none !important;
        font-weight: 900;
    }
}

/* 緊急フォールバック: 他の設定が効かない場合 */
.hero-title:not([style*="color"]) {
    color: #639E88 !important;
    background: none !important;
    -webkit-text-fill-color: #639E88 !important;
}

/* 縦書きを完全に無効化 - 全デバイス対応 */
.hero-title,
.hero-title *,
.hero-title.vertical-text,
.hero-title.vertical-text *,
.hero-title.char-animation,
.hero-title.char-animation *,
.title-line,
.char,
h1.hero-title,
h1.hero-title * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
    text-combine-upright: none !important;
    transform: none !important;
}

/* 緊急時の横書き強制 */
* {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* ただし、必要な要素は除外 */
.nav-mobile-list,
.footer-nav-list,
.marui-news-list,
.aur-service-grid,
.feature-cards-premium,
.message-container,
#typing-message {
    writing-mode: initial !important;
    text-orientation: initial !important;
}

/* PC表示での完全な横書き・中央配置強制 */
@media (min-width: 769px) {
    #hero-gsap-svg {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* メッセージコンテナのPC表示調整 */
    .message-container {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        direction: ltr !important;
        display: block !important;
        text-align: center !important;
        max-width: 900px !important;
        width: 85% !important;
        padding: 40px !important;
        font-size: 18px !important;
        line-height: 1.8 !important;
    }
    
    /* タイピングメッセージのPC表示調整 */
    #typing-message {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        direction: ltr !important;
        display: block !important;
        text-align: center !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 !important;
        font-weight: 400 !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }
    
    .content-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100 !important;
        padding: 0 !important;
        min-height: 100vh !important;
    }
    
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        color: white !important;
        position: relative !important;
    }
    
    .hero-title,
    .hero-title *,
    .hero-title.vertical-text,
    .hero-title.vertical-text *,
    .hero-title.char-animation,
    .hero-title.char-animation *,
    .title-line,
    .char,
    h1.hero-title,
    h1.hero-title * {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        direction: ltr !important;
        text-combine-upright: none !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
        font-size: clamp(3rem, 8vw, 5rem) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .vertical-text .char,
    .char-animation .char,
    span.char {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        direction: ltr !important;
        display: inline-block !important;
        transform: translateY(0) !important;
        margin: 0 !important;
        height: auto !important;
        width: auto !important;
        flex-direction: row !important;
        align-items: normal !important;
        justify-content: normal !important;
    }
    
    .title-line,
    .hero-title .title-line {
        display: block !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        height: auto !important;
        width: 100% !important;
        flex-direction: row !important;
        align-items: normal !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
}

/* 文字が見えない場合の最終手段 */
.hero-title.fallback-text {
    background: none !important;
    color: #4F86F7 !important;
    -webkit-text-fill-color: #4F86F7 !important;
    text-shadow: 0 2px 8px rgba(79, 134, 247, 0.3) !important;
    animation: none !important;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #5a6c7d;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 200px;
    min-height: 50px; /* 最小タップ領域を確保 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #4F86F7 0%, #48CAE4 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 134, 247, 0.3);
}

.btn-secondary {
    background: white;
    color: #4F86F7;
    border: 2px solid #4F86F7;
}

.btn-secondary:hover {
    background: #4F86F7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 134, 247, 0.3);
}

.magnetic-btn {
    transition: transform 0.3s ease;
}

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

/* 浮遊テキスト要素 */
.floating-text-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
}

.text-element {
    position: absolute;
    font-size: 14px;
    color: rgba(79, 134, 247, 0.6);
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    
    /* スムーズな位置変更のためのトランジション */
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, top, left, right, bottom;
    
    /* 確実にアニメーションを表示 */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* 浮遊テキストの初期位置（JavaScriptで動的に変更される） */
.text-element:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.text-element:nth-child(2) { top: 30%; right: 20%; animation-delay: 1s; }
.text-element:nth-child(3) { bottom: 35%; left: 25%; animation-delay: 2s; }
.text-element:nth-child(4) { top: 60%; right: 15%; animation-delay: 3s; }
.text-element:nth-child(5) { bottom: 20%; right: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* スマホ表示での浮遊テキストの最適化 */
@media (max-width: 768px) {
    .floating-text-elements {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .text-element {
        font-size: 12px;
        padding: 6px 12px;
        /* 確実にアニメーションを動作させる */
        animation: floatMobile 4s ease-in-out infinite !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        /* iOS Safari対応 */
        -webkit-animation: floatMobile 4s ease-in-out infinite !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        /* Android対応 */
        transform: translateZ(0);
        will-change: transform;
        /* 位置を強制的に適用 */
        position: absolute !important;
    }
    
    /* 各浮遊テキストの位置を強制的に設定 */
    .text-element:nth-child(1) { 
        top: 30% !important; 
        left: 10% !important; 
        right: auto !important; 
        bottom: auto !important; 
        animation-delay: 0s !important;
    }
    .text-element:nth-child(2) { 
        top: 40% !important; 
        right: 10% !important; 
        left: auto !important; 
        bottom: auto !important; 
        animation-delay: 1s !important;
    }
    .text-element:nth-child(3) { 
        bottom: 40% !important; 
        left: 15% !important; 
        right: auto !important; 
        top: auto !important; 
        animation-delay: 2s !important;
    }
    .text-element:nth-child(4) { 
        top: 70% !important; 
        right: 10% !important; 
        left: auto !important; 
        bottom: auto !important; 
        animation-delay: 3s !important;
    }
    .text-element:nth-child(5) { 
        bottom: 25% !important; 
        right: 20% !important; 
        left: auto !important; 
        top: auto !important; 
        animation-delay: 4s !important;
    }
    
    /* SVGアニメーション要素もスマホで確実に表示 */
    .trust-circle-svg {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    #center-icon,
    #surrounding-icons,
    #connection-lines {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* スマホ専用の浮遊アニメーション（バウンド感を軽減） */
    @keyframes floatMobile {
        0% { transform: translateY(0px) translateZ(0); }
        25% { transform: translateY(-8px) translateZ(0); }
        50% { transform: translateY(-15px) translateZ(0); }
        75% { transform: translateY(-8px) translateZ(0); }
        100% { transform: translateY(0px) translateZ(0); }
    }
    
    /* iOS Safari用のWebKitアニメーション */
    @-webkit-keyframes floatMobile {
        0% { -webkit-transform: translateY(0px) translateZ(0); }
        25% { -webkit-transform: translateY(-8px) translateZ(0); }
        50% { -webkit-transform: translateY(-15px) translateZ(0); }
        75% { -webkit-transform: translateY(-8px) translateZ(0); }
        100% { -webkit-transform: translateY(0px) translateZ(0); }
    }
    
    /* hero-titleの中央配置修正 */
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
        line-height: 1.3 !important;
        background-size: 200% 200% !important;
        animation-duration: 6s, 4s !important;
        white-space: normal !important; /* nowrap を解除して改行を許可 */
        overflow: hidden; /* はみ出しを隠す */
        text-overflow: ellipsis; /* 必要に応じて三点リーダー */
        display: block !important;
        text-align: center !important;
        width: 100% !important; /* fit-content から 100% に変更 */
        /* 中央配置を確実に実現 */
        margin: 0 auto 0.8rem auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        max-width: none !important; /* 100% から none に変更 */
    }
    
    /* hero-titleの文字要素も横書きを強制 */
    .hero-title .char {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        direction: ltr !important;
        display: inline-block !important;
        vertical-align: baseline !important;
    }
    
    /* AOSアニメーション問題の修正 */
    [data-aos] {
        transition-property: transform, opacity !important;
        transition-duration: 0.6s !important;
        transition-timing-function: ease-out !important;
        /* iOS対応 */
        -webkit-transition-property: -webkit-transform, opacity !important;
        -webkit-transition-duration: 0.6s !important;
        -webkit-transition-timing-function: ease-out !important;
    }
    
    [data-aos].aos-animate {
        transform: none !important;
        opacity: 1 !important;
        /* iOS対応 */
        -webkit-transform: none !important;
    }
    
    /* iOS Safari特有の問題修正 */
    .hero-content {
        /* iOS Safari用の中央配置強化 */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        /* iOS Safari用のハードウェアアクセラレーション */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* content-overlayの中央配置強化 */
    .content-overlay {
        padding: 0 15px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100vh !important;
        /* iOS Safari用の中央配置強化 */
        -webkit-box-align: center;
        -webkit-box-pack: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
    }
}

/* 小さなスマホ表示での調整 */
@media (max-width: 480px) {
    .text-element {
        font-size: 11px;
        padding: 5px 10px;
        /* より軽いアニメーション */
        animation: floatSmall 3s ease-in-out infinite !important;
        -webkit-animation: floatSmall 3s ease-in-out infinite !important;
    }
    
    /* 各浮遊テキストの位置を小さなスマホ用に調整 */
    .text-element:nth-child(1) { 
        top: 25% !important; 
        left: 8% !important; 
        right: auto !important; 
        bottom: auto !important; 
    }
    .text-element:nth-child(2) { 
        top: 35% !important; 
        right: 8% !important; 
        left: auto !important; 
        bottom: auto !important; 
    }
    .text-element:nth-child(3) { 
        bottom: 35% !important; 
        left: 12% !important; 
        right: auto !important; 
        top: auto !important; 
    }
    .text-element:nth-child(4) { 
        top: 70% !important; 
        right: 8% !important; 
        left: auto !important; 
        bottom: auto !important; 
    }
    .text-element:nth-child(5) { 
        bottom: 20% !important; 
        right: 15% !important; 
        left: auto !important; 
        top: auto !important; 
    }
    
    /* 小さなスマホ専用アニメーション */
    @keyframes floatSmall {
        0% { transform: translateY(0px) translateZ(0); }
        25% { transform: translateY(-5px) translateZ(0); }
        50% { transform: translateY(-10px) translateZ(0); }
        75% { transform: translateY(-5px) translateZ(0); }
        100% { transform: translateY(0px) translateZ(0); }
    }
    
    @-webkit-keyframes floatSmall {
        0% { -webkit-transform: translateY(0px) translateZ(0); }
        25% { -webkit-transform: translateY(-5px) translateZ(0); }
        50% { -webkit-transform: translateY(-10px) translateZ(0); }
        75% { -webkit-transform: translateY(-5px) translateZ(0); }
        100% { -webkit-transform: translateY(0px) translateZ(0); }
    }
    
    .hero-title {
        font-size: clamp(1.2rem, 8vw, 1.8rem) !important;
        /* 小さなスマホでもアニメーション効果を軽量化 */
        background-size: 150% 150% !important;
        animation-duration: 8s, 5s !important;
        /* 小画面でも1列表示 */
        white-space: nowrap !important;
        overflow: visible !important;
        max-width: 95% !important;
    }
}

/* カスタムカーソル */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

/* インタラクティブ要素でもカスタムカーソルを適用 */
a, button, .btn, .magnetic-btn, [role="button"], input[type="button"], input[type="submit"] {
    cursor: none;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: #4F86F7;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 20px;
    height: 20px;
    border: 2px solid #4F86F7;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.cursor-outline.active {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: #48CAE4;
}

/* モヘイム風お知らせスタイル */
.moheim-style {
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.moheim-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.moheim-news-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.news-count {
  font-size: 1.5rem;
  margin-left: 5px;
  color: #1aa1d6;
  font-weight: 400;
}

.moheim-news-more {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-transform: lowercase;
  color: #333;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
}

.moheim-news-more:hover {
  color: #1aa1d6;
}

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

.moheim-news-item {
  margin-bottom: 25px;
  border-bottom: 1px solid #f5f5f5;
}

.moheim-news-link {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  transition: transform 0.3s;
}

.moheim-news-link:hover {
  transform: translateX(10px);
}

.moheim-news-date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
}

.moheim-news-text {
  font-size: 1rem;
  margin: 0;
  color: #333;
}

/* モヘイム風ニュースアーカイブページスタイル */
.page-title-area.moheim-style {
  padding: 150px 0 50px;
  background-color: #f9f9f9;
}

.moheim-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.moheim-breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.moheim-breadcrumb .breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #999;
}

.moheim-breadcrumb a {
  color: #333;
  transition: color 0.3s;
}

.moheim-breadcrumb a:hover {
  color: #1aa1d6;
}

.moheim-news-main {
  padding: 50px 0 100px;
}

.moheim-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 50px;
}

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

.moheim-archive-item {
  border-bottom: 1px solid #eee;
}

.moheim-archive-link {
  display: block;
  padding: 30px 0;
  transition: transform 0.3s;
}

.moheim-archive-link:hover {
  transform: translateX(10px);
}

.moheim-archive-date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #999;
  display: block;
  margin-bottom: 10px;
}

.moheim-archive-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: #333;
  transition: color 0.3s;
}

.moheim-archive-link:hover .moheim-archive-title {
  color: #1aa1d6;
}

.moheim-pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  font-family: 'Poppins', sans-serif;
}

.moheim-pagination .current,
.moheim-pagination .page-numbers {
  margin: 0 5px;
  padding: 5px 10px;
}

.moheim-pagination .current {
  color: #1aa1d6;
  font-weight: 600;
}

.moheim-pagination .next {
  margin-left: 15px;
}

.moheim-sidebar {
  padding-top: 30px;
}

.moheim-sidebar-section {
  margin-bottom: 40px;
}

.moheim-sidebar-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border-bottom: 1px solid #eee;
}

.moheim-archive-nav,
.moheim-category-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.moheim-archive-nav li,
.moheim-category-nav li {
  margin-bottom: 10px;
}

.moheim-archive-nav a,
.moheim-category-nav a {
  color: #333;
  transition: color 0.3s;
}

.moheim-archive-nav a:hover,
.moheim-category-nav a:hover {
  color: #1aa1d6;
}

/* a-yang風お知らせスタイル */
.ayang-style {
  padding: 120px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.ayang-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.ayang-news-title-block {
  display: flex;
  flex-direction: column;
}

.ayang-news-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1;
  letter-spacing: 0.05em;
}

.ayang-news-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin: 15px 0 0;
  padding: 0;
  letter-spacing: 0.05em;
}

.ayang-view-all {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 5px;
}

.ayang-view-all::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #333;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.ayang-view-all:hover {
  color: #1aa1d6;
}

.ayang-view-all:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #1aa1d6;
}

.ayang-news-container {
  width: 100%;
}

.ayang-news-list,
.ayang-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ayang-news-item,
.ayang-archive-item {
  border-top: 1px solid #eee;
}

.ayang-news-item:last-child,
.ayang-archive-item:last-child {
  border-bottom: 1px solid #eee;
}

.ayang-news-link,
.ayang-archive-link {
  display: block;
  padding: 30px 10px;
  transition: background-color 0.3s ease;
}

.ayang-news-link:hover,
.ayang-archive-link:hover {
  background-color: #f9f9f9;
}

.ayang-news-date,
.ayang-archive-date {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.ayang-news-text,
.ayang-archive-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.ayang-news-link:hover .ayang-news-text,
.ayang-archive-link:hover .ayang-archive-title {
  color: #1aa1d6;
}

/* ニュースアーカイブページ a-yang風 */
.page-title-area.ayang-style {
  position: relative;
  padding: 180px 0 100px;
  margin: 0;
  background-color: #f8f8f8;
}

.ayang-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ayang-page-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ayang-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1;
  letter-spacing: 0.05em;
}

.ayang-page-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 15px 0 0;
  padding: 0;
  letter-spacing: 0.05em;
}

.ayang-breadcrumb {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.ayang-breadcrumb .breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #888;
}

.ayang-breadcrumb a {
  color: #333;
  transition: color 0.3s ease;
}

.ayang-breadcrumb a:hover {
  color: #1aa1d6;
}

.ayang-news-main {
  padding: 80px 0;
}

.ayang-archive-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
}

.ayang-archive-contents {
  width: 100%;
}

.ayang-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  font-family: 'Poppins', sans-serif;
}

.ayang-pagination .current,
.ayang-pagination .page-numbers,
.ayang-pagination .next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  font-size: 0.9rem;
  color: #333;
  transition: all 0.3s ease;
}

.ayang-pagination .current {
  border-bottom: 2px solid #1aa1d6;
  color: #1aa1d6;
  font-weight: 600;
}

.ayang-pagination .page-numbers:hover {
  color: #1aa1d6;
}

.ayang-pagination .next {
  width: auto;
  margin-left: 20px;
}

.ayang-sidebar {
  width: 100%;
}

.ayang-sidebar-section {
  margin-bottom: 50px;
}

.ayang-sidebar-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 25px;
  padding: 0 0 15px;
  border-bottom: 1px solid #eee;
  letter-spacing: 0.05em;
}

.ayang-archive-nav,
.ayang-category-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ayang-archive-nav li,
.ayang-category-nav li {
  margin-bottom: 15px;
}

.ayang-archive-nav a,
.ayang-category-nav a {
  display: flex;
  justify-content: space-between;
  color: #333;
  transition: color 0.3s ease;
  padding: 5px 0;
  font-size: 0.95rem;
}

.ayang-archive-nav a span,
.ayang-category-nav a span {
  color: #888;
  font-size: 0.85rem;
}

.ayang-archive-nav a:hover,
.ayang-category-nav a:hover {
  color: #1aa1d6;
}

/* 丸井グループ風お知らせセクション - 更新版 */
.marui-style {
    padding: 120px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.marui-news-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.marui-news-header {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.marui-style.animated .marui-news-header {
    opacity: 1;
    transform: translateY(0);
}

.marui-news-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.marui-news-subtitle {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

.marui-news-list-wrapper {
    position: relative;
}

.marui-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.marui-news-item {
    opacity: 0;
    transform: translateX(50px);
    margin-bottom: 30px;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.marui-style.animated .marui-news-item {
    opacity: 1;
    transform: translateX(0);
}

.marui-style.animated .marui-news-item:nth-child(1) {
    transition-delay: 0.1s;
}

.marui-style.animated .marui-news-item:nth-child(2) {
    transition-delay: 0.2s;
}

.marui-style.animated .marui-news-item:nth-child(3) {
    transition-delay: 0.3s;
}

.marui-news-link {
    display: flex;
    flex-direction: column;
    padding: 25px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.marui-news-link:hover {
    opacity: 0.7;
}

.marui-news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.marui-news-date {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: 20px;
    color: #555;
}

.marui-news-category {
    font-size: 0.75rem;
    padding: 4px 15px;
    background-color: #1aa1d6;
    color: #fff;
    border-radius: 2px;
    font-weight: 500;
}

.category-event {
    background-color: #e67e22;
}

.category-blog {
    background-color: #9b59b6;
}

.marui-news-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.marui-news-link:hover .marui-news-text {
    color: #1aa1d6;
}

.marui-news-more-wrap {
    margin-top: 50px;
    text-align: right;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.marui-style.animated .marui-news-more-wrap {
    opacity: 1;
    transform: translateY(0);
}

.marui-view-more {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.marui-view-more:hover {
    color: #1aa1d6;
}

.more-text {
    margin-right: 15px;
}

.more-icon {
    position: relative;
    width: 30px;
    height: 1px;
    background-color: #333;
    transition: all 0.3s ease;
}

.more-icon:after {
    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
}

.marui-view-more:hover .more-icon {
    width: 40px;
    background-color: #1aa1d6;
}

.marui-view-more:hover .more-icon:after {
    border-color: #1aa1d6;
}

/* TSP太陽風サービス紹介セクション */
.tsp-service-section {
  position: relative;
  background-color: #f8f8f8;
  padding: 120px 0 150px;
  overflow: hidden;
}

.tsp-section-header {
  text-align: center;
  margin-bottom: 80px;
}

.tsp-section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #1aa1d6;
  margin-bottom: 15px;
}

.tsp-section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.tsp-section-concept {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.tsp-service-container {
  position: relative;
  width: 100%;
  padding: 0 80px;
  margin-bottom: 100px;
}

.tsp-service-slider {
  display: flex;
  width: calc(100% + 40px);
  margin-left: -20px;
  overflow-x: hidden;
  padding: 30px 0;
}

.tsp-service-card {
  flex: 0 0 calc(33.33% - 40px);
  min-width: 300px;
  height: 500px;
  margin: 0 20px;
  perspective: 1000px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.tsp-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.tsp-service-card:hover .tsp-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.tsp-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.tsp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.tsp-service-card:hover .tsp-card-image img {
  transform: scale(1.1);
}

.tsp-card-content {
  padding: 30px;
}

.tsp-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.tsp-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #1aa1d6;
  transition: width 0.4s ease;
}

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

.tsp-card-description {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.tsp-card-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #1aa1d6;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.tsp-card-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tsp-card-button:hover {
  background-color: #0081b5;
  transform: translateY(-3px);
}

.tsp-card-button:hover::before {
  transform: translateX(0);
  opacity: 0;
}

.tsp-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.tsp-slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 0 15px;
}

.tsp-slider-arrow:hover {
  background-color: #1aa1d6;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tsp-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tsp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tsp-dot.active {
  background-color: #1aa1d6;
  transform: scale(1.3);
}

.tsp-total-care {
  background-color: white;
  padding: 80px 0;
  text-align: center;
}

.tsp-total-care-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
}

.tsp-total-care-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.tsp-total-care-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #1aa1d6;
}

.tsp-total-care-content {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.tsp-total-care-content p {
  margin-bottom: 20px;
}

.tsp-service-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.tsp-service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.tsp-service-icon i {
  font-size: 40px;
  color: #1aa1d6;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.tsp-service-icon:hover i {
  transform: translateY(-5px);
}

.tsp-service-icon span {
  font-size: 14px;
  font-weight: 600;
}

/* スライド時のカード表示アニメーション */
.tsp-service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: calc(var(--card-index) * 0.1s);
}

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

/* レスポンシブデザイン */
@media (max-width: 1200px) {
  .tsp-service-card {
    flex: 0 0 calc(50% - 40px);
  }
}

@media (max-width: 768px) {
  .tsp-service-section {
    padding: 80px 0 100px;
  }
  
  .tsp-section-title {
    font-size: 28px;
  }
  
  .tsp-service-container {
    padding: 0 20px;
  }
  
  .tsp-service-card {
    flex: 0 0 calc(100% - 40px);
    height: auto;
    min-height: 450px;
  }
  
  .tsp-service-icon {
    width: 90px;
  }
  
  .tsp-service-icon i {
    font-size: 30px;
  }
  
  .tsp-total-care-title {
    font-size: 24px;
  }
}

/* ha-ru2017風フッタースタイル */
.footer-haru {
  position: relative;
  background-color: #333;
  color: #fff;
  overflow: hidden;
  padding: 0;
}

.footer-animation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1aa1d6;
  transform: translateY(100%);
  z-index: 1;
}

.footer-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 30px 30px;
  z-index: 2;
  /* 初期状態でも表示されるようにする */
  opacity: 1; 
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-haru.animated .footer-container {
  opacity: 1;
  transform: translateY(0);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 60px;
  gap: 60px;
}

.footer-info {
  flex: 0 0 350px; /* 300pxから350pxに拡大 */
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
  max-width: 200px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-address {
  font-size: 15px; /* フォントサイズを少し大きくする */
  line-height: 1.8;
  color: #fff; /* 文字色を白に設定 */
}

.footer-name {
  font-weight: 600;
  font-size: 17px; /* フォントサイズを大きく */
  margin-bottom: 10px;
  color: #fff; /* 文字色を白に設定 */
}

.footer-tel, .footer-fax {
  margin-top: 10px;
  color: #fff; /* 文字色を白に設定 */
}

.footer-tel a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500; /* 少し太く */
}

.footer-tel a:hover {
  color: #1aa1d6;
}

.footer-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 50px; /* ギャップを40pxから50pxに拡大してスペースを確保 */
}

.footer-nav-block {
  flex: 0 0 200px; /* 180pxから200pxに拡大 */
  margin-left: 0;
  margin-bottom: 40px;
}

.footer-nav-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; /* サイズを大きく */
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1aa1d6;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: #1aa1d6;
}

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

.footer-nav-list li {
  margin-bottom: 15px; /* 少し間隔を広げる */
}

.footer-nav-list a {
  color: #fff; /* 文字色を白に設定 */
  text-decoration: none;
  font-size: 15px; /* サイズを大きく */
  position: relative;
  padding-left: 15px;
  transition: color 0.3s, padding-left 0.3s;
  font-weight: 400; /* 少し太く */
}

.footer-nav-list a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 1px;
  background-color: #1aa1d6;
  transition: width 0.3s;
}

.footer-nav-list a:hover {
  color: #1aa1d6;
  padding-left: 20px;
}

.footer-nav-list a:hover::before {
  width: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2); /* 少し濃いめに */
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #1aa1d6;
  transform: translateY(-3px);
}

.copyright {
  font-size: 13px; /* サイズを大きく */
  color: rgba(255, 255, 255, 0.9); /* 濃いめの白に */
  margin: 0;
}

/* フッターアニメーション関連スタイル */
.footer-haru.animated {
  /* アニメーションが完了したクラス */
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .footer-main {
    flex-direction: column;
  }
  
  .footer-nav {
    justify-content: flex-start;
    margin-top: 30px;
  }
  
  .footer-nav-block {
    margin-left: 0;
    margin-right: 40px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 60px 20px 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-social {
    order: 2;
  }
  
  .copyright {
    order: 1;
  }
}

/* スマホ専用スタイル */
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }
  
  /* ハンバーガーメニュー改善 */
  .hamburger span {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .hamburger.active span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
  }
  
  .nav-mobile-inner {
    margin: 80px auto 0;
    padding: 0 20px;
  }
  
  .nav-mobile-list li {
    margin-bottom: 25px;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform; /* アニメーション最適化 */
  }
  
  .nav-mobile-list a {
    font-size: 20px;
  }
  
  /* メインビジュアルのさらなる調整 */
  .title-line {
    font-size: 28px;
  }
  
  .visual-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* フッターの細かい調整（ha-ru2017風） */
  .footer-name, 
  .footer-tel, 
  .footer-fax {
    font-size: 15px;
  }
  
  .footer-social {
    margin: 10px 0;
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin: 0 5px;
  }
  
  /* フッターアニメーション調整 */
  .footer-animation-overlay {
    background-color: #1aa1d6;
  }
  
  /* モバイルメニューのボタン押下時の調整 */
  .nav-mobile-list a:active {
    color: #1aa1d6;
  }
  
  .nav-mobile-list a:active::after {
    width: 100%;
  }
}

/* AUR風サービス紹介セクションのスタイル */
.aur-service-section {
  position: relative;
  padding: 100px 0;
  background-color: #f8f8f8;
  overflow: hidden;
}

.aur-service-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.aur-section-header {
  text-align: center;
  margin-bottom: 80px;
}

.aur-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.aur-title-en {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #1aa1d6;
  margin-bottom: 5px;
  position: relative;
}

.aur-title-en::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 30px;
  height: 1px;
  background-color: #1aa1d6;
  transform: translateX(-50%);
}

.aur-title-ja {
  font-size: 36px;
  font-weight: 700;
  margin-top: 20px;
  letter-spacing: 0.05em;
}

.aur-section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: #666;
}

.aur-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.aur-service-item {
  position: relative;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.aur-service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.aur-service-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0) 100%);
  transition: background 0.4s ease;
}

.aur-service-item:hover .aur-service-content {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0) 100%);
}

.aur-service-icon {
  font-size: 36px;
  color: #1aa1d6;
  margin-bottom: 15px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.aur-service-item:hover .aur-service-icon {
  transform: translateY(-5px);
}

.aur-service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.aur-service-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #1aa1d6;
  transition: width 0.4s ease;
}

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

.aur-service-text {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.aur-service-link {
  margin-top: auto;
}

.aur-service-link a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1aa1d6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.aur-service-link a:hover {
  color: #0081b5;
}

.aur-arrow {
  display: inline-flex;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.aur-service-link a:hover .aur-arrow {
  transform: translateX(5px);
}

.aur-service-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.aur-service-item:hover .aur-service-bg {
  transform: scale(1.05);
  opacity: 1;
}

.aur-total-care {
  background-color: #fff;
  padding: 60px 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.aur-total-care-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.aur-total-care-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.aur-total-care-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #1aa1d6;
}

.aur-total-care-content {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

.aur-total-care-content p {
  margin-bottom: 20px;
}

/* アニメーション用クラス */
.aos-animate .aur-service-item {
  opacity: 0;
  transform: translateY(50px);
}

.aos-animate .aur-service-item.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .aur-service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .aur-service-item {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .aur-service-section {
    padding: 60px 0;
  }
  
  .aur-section-header {
    margin-bottom: 40px;
  }
  
  .aur-title-ja {
    font-size: 28px;
  }
  
  .aur-section-description {
    font-size: 14px;
  }
  
  .aur-service-content {
    padding: 25px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  }
  
  .aur-service-bg {
    width: 40%;
  }
  
  .aur-service-title {
    font-size: 18px;
  }
  
  .aur-service-text {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .aur-total-care-title {
    font-size: 20px;
  }
  
  .aur-total-care-content {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .aur-service-bg {
    width: 100%;
    opacity: 0.15;
  }
  
  .aur-service-content {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  }
  
  .aur-service-item:hover .aur-service-content {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  }
}

/* PerSona Corporate風お問い合わせセクション */
.persona-style {
  background-color: #212121;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.persona-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.persona-contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.persona-contact-ja {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.persona-contact-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.persona-contact-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #f5f5f5;
}

.persona-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.persona-contact-card {
  flex: 0 0 calc(50% - 15px);
  max-width: 450px;
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.4s ease;
}

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

.contact-card-header {
  padding: 0 0 15px;
  background-color: transparent;
}

.card-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.contact-card-footer {
  padding: 20px 0 0;
}

.persona-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 30px;
  background-color: #cc0000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0;
  transition: background-color 0.3s ease;
  position: relative;
}

.persona-contact-button:hover {
  background-color: #ff0000;
}

.persona-contact-button i {
  margin-left: 10px;
  transition: transform 0.3s ease;
  font-size: 20px;
}

.persona-contact-button:hover i {
  transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .persona-contact-title {
    font-size: 46px;
  }
  
  .persona-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .persona-contact-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 450px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .persona-style {
    padding: 60px 0;
  }
  
  .persona-contact-ja {
    font-size: 16px;
  }
  
  .persona-contact-title {
    font-size: 36px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .contact-card-footer {
    padding: 15px 0 0;
  }
  
  .persona-contact-button {
    padding: 15px 20px;
    font-size: 15px;
  }
}

/* Intersect風流線型メインビジュアル */
.main-visual-intersect {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.intersect-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.intersect-content {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
}

.intersect-text {
    flex: 1;
    max-width: 600px;
    z-index: 3;
}

.intersect-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(30px);
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(30px);
}

.intersect-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(30px);
}

/* SVG流線型装飾要素 */
.svg-fluid-decoration {
    position: absolute;
    top: 0;
    right: -20%;
    width: 120%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.fluid-svg {
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

#fluidPath1, #fluidPath2, #fluidPath3 {
    transform-origin: center;
    filter: blur(0.5px);
}

#wavePath {
    stroke-dasharray: 10 5;
    animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 30;
    }
}

/* インタラクティブな粒子エフェクト */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #3b82f6, transparent);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 60%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 70%;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 80%;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 90%;
    animation-delay: -1s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 85%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-5px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) translateX(15px) scale(1.1);
        opacity: 0.9;
    }
}

.intersect-scroll {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 10;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
}

.scroll-arrow:hover {
    background-color: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.scroll-arrow i {
    font-size: 20px;
    color: #3b82f6;
    transition: color 0.3s ease;
}

.scroll-arrow:hover i {
    color: white;
}

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

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none;
    }
    
    #wavePath {
        animation: none;
    }
    
    .scroll-arrow {
        animation: none;
    }
    
    .title-main, .title-sub, .intersect-description {
        opacity: 1;
        transform: none;
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .intersect-container {
        padding: 0 30px;
    }
    
    .intersect-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .intersect-text {
        max-width: 100%;
    }
    
    .title-main {
        font-size: 2.8rem;
    }
    
    .title-sub {
        font-size: 1.3rem;
    }
    
    .svg-fluid-decoration {
        right: -30%;
        width: 130%;
    }
}

@media (max-width: 768px) {
    .main-visual-intersect {
        min-height: 90vh;
    }
    
    .intersect-container {
        padding: 0 20px;
    }
    
    .intersect-content {
        min-height: 70vh;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .intersect-description {
        font-size: 1rem;
    }
    
    .svg-fluid-decoration {
        right: -40%;
        width: 140%;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .intersect-scroll {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow i {
        font-size: 16px;
    }
}

/* 低パフォーマンス時の最適化 */
.low-performance .particle,
.low-performance .dynamic-particle {
    animation: none !important;
    opacity: 0.3 !important;
}

.low-performance #wavePath {
    animation: none !important;
}

.low-performance .fluid-svg {
    transform: none !important;
}

/* 動的粒子のスタイル */
.dynamic-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, #60a5fa, transparent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

/* 高品質エフェクト */
.fluid-svg {
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.1));
}

#fluidPath1, #fluidPath2, #fluidPath3 {
    filter: blur(0.5px) drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
}

/* ホバーエフェクト */
.main-visual-intersect:hover .fluid-svg {
    filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.15));
}

/* Fluid Motion メインビジュアル */
.main-visual-fluid {
    min-height: 100vh;
    background: radial-gradient(ellipse at top, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.fluid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.fluid-content {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
}

.fluid-text {
    flex: 1;
    max-width: 600px;
    z-index: 3;
}

.fluid-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(2px);
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: #475569;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(2px);
}

.fluid-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(2px);
}

/* Three.js キャンバス */
.fluid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

/* オーガニックパーティクル */
.organic-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.organic-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
}

.organic-particle:nth-child(1) {
    top: 20%;
    left: 70%;
    width: 6px;
    height: 6px;
}

.organic-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 10px;
    height: 10px;
}

.organic-particle:nth-child(3) {
    top: 40%;
    left: 85%;
    width: 4px;
    height: 4px;
}

.organic-particle:nth-child(4) {
    top: 80%;
    left: 75%;
    width: 7px;
    height: 7px;
}

.organic-particle:nth-child(5) {
    top: 30%;
    left: 90%;
    width: 5px;
    height: 5px;
}

/* スクロールインジケーター */
.fluid-scroll {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #3b82f6, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, #60a5fa, transparent);
    animation: scrollFlow 2s infinite;
}

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

@keyframes scrollFlow {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(40px);
        opacity: 0;
    }
}

/* テキストアニメーション用クラス */
.text-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-reveal-delayed {
    transition-delay: 0.3s;
}

.text-reveal-delayed-2 {
    transition-delay: 0.6s;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .organic-particle {
        animation: none !important;
    }
    
    .scroll-dot {
        animation: none !important;
    }
    
    .scroll-line::after {
        animation: none !important;
    }
    
    .title-main, .title-sub, .fluid-description {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .fluid-container {
        padding: 0 30px;
    }
    
    .fluid-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .fluid-text {
        max-width: 100%;
    }
    
    .title-main {
        font-size: 2.8rem;
    }
    
    .title-sub {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .main-visual-fluid {
        min-height: 90vh;
    }
    
    .fluid-container {
        padding: 0 20px;
    }
    
    .fluid-content {
        min-height: 70vh;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .fluid-description {
        font-size: 1rem;
    }
    
    .organic-particle {
        width: 6px;
        height: 6px;
    }
    
    .organic-particle:nth-child(2) {
        width: 8px;
        height: 8px;
    }
    
    .fluid-scroll {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-line {
        height: 30px;
    }
}

/* Modern Curved Shapes メインビジュアル */
.main-visual-modern {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modern-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.modern-content {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
}

.modern-text {
    flex: 1;
    max-width: 600px;
    z-index: 4;
}

.modern-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(50px);
    letter-spacing: -0.02em;
}

.title-sub {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.01em;
}

.modern-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 400;
}

/* SVG曲線的シェイプ */
.curved-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#blueShape {
    transform-origin: center;
    animation: morphBlue 20s ease-in-out infinite;
}

#grayShape {
    transform-origin: center;
    animation: morphGray 25s ease-in-out infinite;
    animation-delay: -5s;
}

#accentShape {
    transform-origin: center;
    animation: morphAccent 15s ease-in-out infinite;
    animation-delay: -2s;
}

/* 曲線シェイプのアニメーション */
@keyframes morphBlue {
    0%, 100% {
        d: path("M 600,800 Q 800,600 1000,700 Q 1200,800 1400,600 Q 1600,400 1800,500 L 1800,800 Z");
        transform: scale(1) rotate(0deg);
    }
    25% {
        d: path("M 850,650 1050,720 Q 1250,830 1450,620 Q 1650,420 1850,520 L 1850,800 Z");
        transform: scale(1.02) rotate(1deg);
    }
    50% {
        d: path("M 580,800 Q 780,580 980,680 Q 1180,780 1380,580 Q 1580,380 1780,480 L 1780,800 Z");
        transform: scale(0.98) rotate(-1deg);
    }
    75% {
        d: path("M 620,800 Q 820,620 1020,720 Q 1220,820 1420,620 Q 1620,420 1820,520 L 1820,800 Z");
        transform: scale(1.01) rotate(0.5deg);
    }
}

@keyframes morphGray {
    0%, 100% {
        d: path("M 400,0 Q 600,200 800,100 Q 1000,0 1200,150 Q 1400,300 1600,200 L 1600,0 Z");
        transform: scale(1) rotate(0deg);
    }
    30% {
        d: path("M 420,0 Q 620,220 820,120 Q 1020,20 1220,170 Q 1420,320 1620,220 L 1620,0 Z");
        transform: scale(1.03) rotate(-1deg);
    }
    60% {
        d: path("M 380,0 Q 580,180 780,80 Q 980,-20 1180,130 Q 1380,280 1580,180 L 1580,0 Z");
        transform: scale(0.97) rotate(1deg);
    }
}

@keyframes morphAccent {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateX(20px);
    }
}

/* ミニマルなスクロールインジケーター */
.modern-scroll {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.1em;
    font-family: 'Poppins', sans-serif;
    writing-mode: vertical-rl;
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #3b82f6, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, #60a5fa, transparent);
    animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

/* テキストアニメーション用クラス */
.text-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.text-animate-delay-1 {
    transition-delay: 0.2s;
}

.text-animate-delay-2 {
    transition-delay: 0.4s;
}

/* ホバーエフェクト */
.modern-text:hover .title-main {
    transform: translateX(10px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* パフォーマンス最適化 */
.curved-shapes * {
    will-change: transform, d;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    #blueShape, #grayShape, #accentShape {
        animation: none !important;
    }
    
    .scroll-line::after {
        animation: none !important;
    }
    
    .title-main, .title-sub, .modern-description {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .modern-container {
        padding: 0 30px;
    }
    
    .modern-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .modern-text {
        max-width: 100%;
    }
    
    .title-main {
        font-size: 3.2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .curved-shapes {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .main-visual-modern {
        min-height: 90vh;
    }
    
    .modern-container {
        padding: 0 20px;
    }
    
    .modern-content {
        min-height: 70vh;
    }
    
    .title-main {
        font-size: 2.4rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .modern-description {
        font-size: 1rem;
    }
    
    .modern-scroll {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-line {
        height: 40px;
    }
    
    .curved-shapes {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .curved-shapes {
        opacity: 0.3;
    }
}

/* Awwwards Level Hero Section */
.hero-awwwards {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0a0a0a;
    color: #ffffff;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* WebGL Canvas */
.webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8vw;
}

.hero-text {
    max-width: 60vw;
}

.hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(3rem, 8vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    overflow: hidden;
}

.title-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 3rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    color: #888;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.8rem);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    max-width: 50ch;
}

.hero-description p {
    margin-bottom: 0.5rem;
    color: #aaa;
}

/* Interactive Elements */
.hero-interactive {
    position: absolute;
    bottom: 15vh;
    left: 8vw;
    z-index: 20;
}

.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.magnetic-btn::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: left 0.5s;
}

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

.magnetic-btn span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 1;
    position: relative;
}

.magnetic-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 5vh;
    right: 8vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    z-index: 20;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    color: #666;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    color: #3b82f6;
}

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

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    opacity: 0;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
}

/* Text Animation Classes */
.char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.char.animate {
    transform: translateY(0);
    opacity: 1;
}

/* Reveal Animations */
.reveal-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-title {
    transform: translateY(0) !important;
    opacity: 1 !important;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scroll {
    opacity: 1 !important;
    transition: opacity 2s ease 3s;
}

/* Magnetic Effect */
.magnetic-active {
    transform: scale(1.1) !important;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

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

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 0.1em;
}

/* Performance Optimizations */
.hero-awwwards * {
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 5vw;
    }
    
    .hero-text {
        max-width: 80vw;
    }
    
    .hero-interactive {
        bottom: 10vh;
        left: 5vw;
    }
    
    .scroll-indicator {
        right: 5vw;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 8rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 2rem);
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1.4rem);
    }
    
    .magnetic-btn {
        padding: 1rem 2rem;
    }
    
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 4vw;
        justify-content: flex-start;
        padding-top: 20vh;
    }
    
    .hero-text {
        max-width: 90vw;
    }
    
    .hero-interactive {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 3rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .scroll-arrow {
        animation: none;
    }
    
    .char {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
    
    .title-line {
        transform: none !important;
        opacity: 1 !important;
    }
    
    .hero-subtitle,
    .hero-description {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* High Performance Mode */
.low-performance .webgl-canvas {
    display: none;
}

.low-performance .hero-awwwards {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* 医療系企業に適した洗練されたヒーローセクション */
.hero-medical {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(25, 118, 210, 0.02) 0%, 
        rgba(13, 71, 161, 0.05) 50%, 
        rgba(25, 118, 210, 0.02) 100%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    opacity: 0.6;
    z-index: 1;
    overflow: visible;
}

.pattern-svg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: visible;
}

.pattern-circle {
    animation: floatGentle 8s ease-in-out infinite;
}

.pattern-circle:nth-child(1) {
    animation-delay: 0s;
}

.pattern-circle:nth-child(2) {
    animation-delay: 2s;
}

.pattern-circle:nth-child(3) {
    animation-delay: 4s;
}

.pattern-curve {
    animation: curveFlow 15s ease-in-out infinite;
}

.meteor-curve {
    opacity: 0;
    transition: opacity 0.3s ease;
    stroke-width: 45px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    /* stroke-dasharray と stroke-dashoffset は JavaScript で動的に設定 */
}

/* 個別の曲線に対する太さ設定 */
.pattern-curve {
    stroke-width: 45px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* 曲線の太さを確実に適用 */
.pattern-curve[data-curve] {
    stroke-width: 45px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* 線の長さを強制的に設定 */
.pattern-curve {
    stroke-dasharray: calc(90vw) 4000 !important;
}

/* より確実な線の長さ設定 */
@media (min-width: 1200px) {
    .pattern-curve {
        stroke-dasharray: calc(90vw) 4000 !important;
    }
}

@media (max-width: 1199px) {
    .pattern-curve {
        stroke-dasharray: 1200px 4000px !important;
    }
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes curveFlow {
    0%, 100% { stroke-dasharray: 0, 1000; }
    50% { stroke-dasharray: 200, 1000; }
}

@keyframes mainCurveFlow {
    0% { 
        stroke-dasharray: 200, 2000;
        stroke-dashoffset: 2000;
        opacity: 0;
    }
    10% { 
        opacity: 0.8;
    }
    90% { 
        opacity: 0.8;
    }
    100% { 
        stroke-dasharray: 200, 2000;
        stroke-dashoffset: -2000;
        opacity: 0;
    }
}

@keyframes secondaryCurveFlow {
    0% { 
        stroke-dasharray: 150, 1800;
        stroke-dashoffset: 1800;
        opacity: 0;
    }
    15% { 
        opacity: 0.6;
    }
    85% { 
        opacity: 0.6;
    }
    100% { 
        stroke-dasharray: 150, 1800;
        stroke-dashoffset: -1800;
        opacity: 0;
    }
}

@keyframes tertiaryCurveFlow {
    0% { 
        stroke-dasharray: 180, 1600;
        stroke-dashoffset: 1600;
        opacity: 0;
    }
    12% { 
        opacity: 0.4;
    }
    88% { 
        opacity: 0.4;
    }
    100% { 
        stroke-dasharray: 180, 1600;
        stroke-dashoffset: -1600;
        opacity: 0;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.badge-text {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(25, 118, 210, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a202c;
    font-family: 'Noto Sans JP', sans-serif;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.6s;
}

.title-line:nth-child(2) {
    animation-delay: 0.8s;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #4a5568;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-subtitle em {
    color: #1976d2;
    font-style: normal;
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #718096;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #1976d2;
    text-decoration: none;
    border: 2px solid #1976d2;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.6s forwards;
}

.visual-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    transform: translateX(30px);
    animation: slideInRight 1s ease-out forwards;
}

.visual-card:nth-child(1) {
    animation-delay: 1.8s;
}

.visual-card:nth-child(2) {
    animation-delay: 2s;
}

.visual-card:nth-child(3) {
    animation-delay: 2.2s;
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.card-content p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.scroll-text {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    letter-spacing: 1px;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #1976d2, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #1976d2;
    animation: scrollMove 2s ease-in-out infinite;
}

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

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

@keyframes scrollMove {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .visual-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .card-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .visual-card {
        padding: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .pattern-circle,
    .pattern-curve,
    .meteor-curve,
    .gradient-overlay {
        animation: none;
    }
    
    .meteor-curve {
        opacity: 0 !important;
    }
    
    .hero-text,
    .hero-badge,
    .title-line,
    .hero-subtitle,
    .hero-description,
    .hero-actions,
    .hero-visual,
    .visual-card,
    .scroll-indicator {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Hero Section - GSAP SVG Animation */
#hero-gsap-svg {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
    cursor: none;
}

/* SVG Animation Container */
.svg-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trust-circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Modern Healthcare Animation Styles */
.modern-text-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.text-container {
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#main-message {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 500;
    color: #333;
    line-height: 1.8;
    margin: 0;
    min-height: 200px;
    text-align: left;
    max-width: 800px;
}

#text-cursor {
    display: inline-block;
    font-size: clamp(16px, 2.5vw, 24px);
    color: #4F86F7;
    font-weight: bold;
    margin-left: 2px;
}

.floating-keyword {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    color: #4F86F7;
    background: linear-gradient(135deg, rgba(79, 134, 247, 0.1), rgba(72, 202, 228, 0.1));
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(79, 134, 247, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(79, 134, 247, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-keyword:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 134, 247, 0.4);
}

/* SVG Animation Elements */
.fluid-path {
    transition: all 0.3s ease;
}

.glow-particle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.glow-particle:hover {
    filter: drop-shadow(0 0 15px rgba(79, 134, 247, 0.9));
}

.morphing-shape {
    transition: all 0.3s ease;
}

.morphing-shape:hover {
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.8));
}

.surrounding-shape {
    transition: all 0.3s ease;
}

.surrounding-shape:hover {
    filter: drop-shadow(0 0 15px rgba(72, 202, 228, 0.8));
}

.network-connection {
    transition: all 0.3s ease;
}

.network-connection:hover {
    stroke-width: 4;
    opacity: 1;
}

.network-node {
    cursor: pointer;
    transition: all 0.3s ease;
}

.network-node:hover {
    filter: drop-shadow(0 0 20px rgba(79, 134, 247, 1));
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-text-display {
        width: 95%;
    }
    
    .text-container {
        padding: 20px;
    }
    
    #main-message {
        min-height: 150px;
    }
    
    .floating-keyword {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .text-container {
        padding: 15px;
    }
    
    #main-message {
        min-height: 120px;
    }
    
    .floating-keyword {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Animation Performance */
.fluid-path,
.glow-particle,
.morphing-shape,
.surrounding-shape,
.network-connection,
.network-node {
    will-change: transform, opacity;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .fluid-path,
    .glow-particle,
    .morphing-shape,
    .surrounding-shape,
    .network-connection,
    .network-node,
    .floating-keyword {
        animation: none !important;
        transition: none !important;
    }
    
    #text-cursor {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Animated Text */
.animated-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 24px;
    opacity: 0;
}

/* Floating Text Elements */
.floating-text-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.text-element {
    position: absolute;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #4F86F7;
    text-shadow: 0 0 10px rgba(79, 134, 247, 0.5);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* 浮遊テキストの位置はJavaScriptで動的に制御 */

/* Content Overlay */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #4F86F7, #48CAE4, #90E0EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(79, 134, 247, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, #4F86F7, #48CAE4);
    color: white;
    box-shadow: 0 10px 30px rgba(79, 134, 247, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4F86F7;
    border: 2px solid #4F86F7;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 134, 247, 0.4);
}

.btn-secondary:hover {
    background: rgba(79, 134, 247, 0.1);
}

.magnetic-btn {
    cursor: pointer;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.cursor-outline.active {
    width: 60px;
    height: 60px;
    border-color: rgba(102, 126, 234, 0.8);
}

/* WebGL Canvas */
#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Content */
.hero-content {
    flex: 1;
    max-width: 600px;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    overflow: visible !important;
}

.hero-title.vertical-text {
    /* 縦書きモードを完全無効化 */
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
    line-height: 1.2 !important;
    height: auto !important;
    max-height: none !important;
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
    display: block !important;
    align-items: normal !important;
    justify-content: normal !important;
    flex-direction: row !important;
    text-combine-upright: none !important;
    direction: ltr !important;
}

.title-line {
    display: block;
    overflow: visible !important;
    margin-bottom: 0.5rem;
}

.vertical-text .title-line {
    margin-bottom: 0.5rem !important;
    height: auto !important;
    display: block !important;
    flex-direction: row !important;
    align-items: normal !important;
}

.char {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.vertical-text .char {
    display: inline-block !important;
    margin: 0 !important;
    transform: translateY(50px) !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.vertical-text .char.revealed {
    transform: translateY(0) !important;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Magnetic Buttons */
.magnetic-btn {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50px;
}

.btn-secondary:hover .btn-bg {
    transform: scale(1);
}

/* Feature Cards Premium */
.feature-cards-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: none;
    overflow: hidden;
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.card-image-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-premium:hover .card-image-reveal {
    opacity: 0.1;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.feature-card-premium:hover .card-image {
    transform: scale(1);
}

.card-content {
    position: relative;
    z-index: 2;
    color: white;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card-premium:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Morphing Background */
.morphing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#morphing-path {
    animation: morphing 20s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        d: path("M200,200 Q400,100 600,200 T800,300 Q600,400 400,300 T200,200 Z");
    }
    25% {
        d: path("M150,250 Q350,150 550,250 T750,350 Q550,450 350,350 T150,250 Z");
    }
    50% {
        d: path("M250,150 Q450,50 650,150 T850,250 Q650,350 450,250 T250,150 Z");
    }
    75% {
        d: path("M180,300 Q380,200 580,300 T780,400 Q580,500 380,400 T180,300 Z");
    }
}

/* Liquid Animation */
.liquid-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.liquid-blob {
    animation: liquid-float 15s ease-in-out infinite;
}

.liquid-blob:nth-child(1) {
    animation-delay: 0s;
}

.liquid-blob:nth-child(2) {
    animation-delay: 3s;
}

.liquid-blob:nth-child(3) {
    animation-delay: 6s;
}

.liquid-blob:nth-child(4) {
    animation-delay: 9s;
}

@keyframes liquid-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(30px, 30px) scale(1.05);
    }
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
}

[data-reveal="up"] {
    transform: translateY(50px);
}

[data-reveal="slide-up"] {
    transform: translateY(100px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Text Reveal Animation */
[data-text-reveal] .char.revealed {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-title.vertical-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        height: auto;
        max-height: none;
        margin-right: 0;
        margin-bottom: 2rem;
        font-size: clamp(1rem, 4vw, 1.5rem);
        line-height: 1.6;
    }
    
    .vertical-text .title-line {
        height: auto;
        display: block;
        margin-bottom: 1rem;
    }
    
    .vertical-text .char {
        display: inline-block;
        margin: 0 0.05em;
        transform: translateY(100%);
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
    
    .vertical-text .char.revealed {
        transform: translateY(0);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .feature-cards-premium {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .custom-cursor {
        display: none;
    }
    
    #hero-premium {
        cursor: default;
    }
    
    .magnetic-btn {
        cursor: pointer;
    }
}

/* Performance Optimizations */
* {
    will-change: auto;
}

.hero-title,
.hero-subtitle,
.hero-buttons,
.feature-card-premium,
.liquid-blob,
#morphing-path {
    will-change: transform, opacity;
}

/* Preload Animations */
@keyframes preload {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.preload-animation {
    animation: preload 1s ease-out;
}

/* 3D Space UI Overlay */
.space-ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.space-navigation {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-text {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00ffff;
}

.nav-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-hint::before {
    content: '•';
    color: #00ffff;
    font-weight: bold;
}

/* 3D Space Info Panel */
.space-info-panel {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.space-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.space-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.space-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.space-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.space-btn.primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
}

.space-btn.secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
}

.space-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.space-btn.primary:hover {
    background: linear-gradient(45deg, #0080ff, #00ffff);
}

.space-btn.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* Loading Animation for 3D Space */
.space-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    color: #00ffff;
    font-size: 1.2rem;
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-top: 3px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-weight: 600;
    margin-top: 1rem;
}

/* 3D Space Performance Indicator */
.performance-indicator {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    display: none; /* Hidden by default, shown in development */
}

.fps-counter {
    color: #00ff00;
    margin-bottom: 0.5rem;
}

.memory-usage {
    color: #ffff00;
}

/* Responsive Design for GSAP SVG */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
    
    .text-element {
        font-size: 1rem;
    }
    
    .animated-text {
        font-size: 18px;
    }
    
    .custom-cursor {
        display: none;
    }
    
    #hero-gsap-svg {
        cursor: default;
    }
}

@media (max-width: 480px) {
    .content-overlay {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 5vw, 1.1rem);
    }
    
    .text-element {
        font-size: 0.9rem;
    }
    
    .animated-text {
        font-size: 16px;
    }
}

/* 3D Text Overlay Effects */
.text-3d-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    text-align: center;
}

.text-3d-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: transparent;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    margin-bottom: 1rem;
    opacity: 0;
    animation: textFadeIn 2s ease-out 1s forwards;
}

.text-3d-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    opacity: 0;
    animation: textFadeIn 2s ease-out 1.5s forwards;
}

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

/* Holographic Effects */
.holographic-border {
    position: relative;
}

.holographic-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff, #ff0080, #ff8000, #ffff00, #80ff00, #00ff80);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: holographicGlow 3s ease-in-out infinite;
}

@keyframes holographicGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Particle Trail Effects */
.particle-trail {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    animation: particleFloat 3s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Enhanced GSAP SVG Animation Styles */
/* SVGアニメーション要素の初期表示確保 */
.svg-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.trust-circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 中央アイコンの初期表示確保 */
#center-icon {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 周囲アイコンの初期表示確保 */
#surrounding-icons {
    opacity: 1 !important;
    visibility: visible !important;
}

/* つながり線の初期表示確保 */
#connection-lines {
    opacity: 1 !important;
    visibility: visible !important;
}

/* モーフィングアイコン用スタイル */
.morph-icon {
  cursor: pointer;
  transition: all 0.3s ease;
}

.morph-icon:hover {
  filter: drop-shadow(0 0 10px rgba(79, 134, 247, 0.8));
}

/* ネットワークノード用スタイル */
.network-node {
  cursor: pointer;
  transition: all 0.3s ease;
}

.network-node:hover {
  filter: drop-shadow(0 0 15px rgba(79, 134, 247, 0.9));
}

.node-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* ネットワーク接続線用スタイル */
.network-connection {
  transition: all 0.3s ease;
}

.network-connection:hover {
  stroke-width: 3;
  opacity: 0.9 !important;
}

/* エンハンスドパーティクル用スタイル */
.enhanced-particle {
  transition: all 0.3s ease;
}

.particle-circle {
  cursor: pointer;
}

.particle-star {
  cursor: pointer;
}

.enhanced-particle:hover {
  filter: drop-shadow(0 0 8px rgba(79, 134, 247, 0.7));
}

/* 背景波形用スタイル */
.bg-wave {
  transition: all 0.5s ease;
}

/* タイピングメッセージ用スタイル */
.message-bg {
  transition: all 0.5s ease;
}

.typing-text-line {
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.3s ease;
}

.typing-cursor {
  transition: all 0.3s ease;
}

/* パルス波形用スタイル */
.pulse-ring {
  transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .morph-icon {
    transform: scale(0.8);
  }
  
  .network-node {
    transform: scale(0.9);
  }
  
  .enhanced-particle {
    transform: scale(0.7);
  }
  
  .typing-text-line {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .morph-icon {
    transform: scale(0.6);
  }
  
  .network-node {
    transform: scale(0.7);
  }
  
  .enhanced-particle {
    transform: scale(0.5);
  }
  
  .typing-text-line {
    font-size: 12px !important;
  }
}

/* アニメーション無効化設定 */
@media (prefers-reduced-motion: reduce) {
  .morph-icon,
  .network-node,
  .enhanced-particle,
  .bg-wave,
  .pulse-ring {
    animation: none !important;
    transition: none !important;
  }
  
  .typing-cursor {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* パフォーマンス最適化 */
.enhanced-particle,
.network-node,
.morph-icon {
  will-change: transform, opacity;
}

.bg-wave {
  will-change: d;
}

.typing-text-line {
  will-change: opacity;
}

/* 3Dアクセラレーション */
.svg-animation-container {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.main-svg {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* インタラクティブ要素のホバー効果 */
.morph-icon:hover,
.network-node:hover,
.enhanced-particle:hover {
  transform: scale(1.1);
}

/* カスタムカーソルの改良 */
.custom-cursor {
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  background: radial-gradient(circle, rgba(79, 134, 247, 0.8) 0%, rgba(79, 134, 247, 0.4) 100%);
  transition: all 0.1s ease;
}

.cursor-outline {
  border: 2px solid rgba(79, 134, 247, 0.6);
  transition: all 0.15s ease;
}

/* マグネティック効果 */
.magnetic-btn {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(79, 134, 247, 0.3);
}

/* テキストエレメントの改良 */
.text-element {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.text-element:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(79, 134, 247, 0.2);
}

/* アニメーションコンテナの最適化 */
#morphing-icons-container,
#advanced-network-container,
#enhanced-particles-container,
#animated-background-container,
#pulse-waves-container,
#typing-message-container {
  will-change: transform, opacity;
}

/* 高解像度ディスプレイ対応 */
@media (min-resolution: 2dppx) {
  .main-svg {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  .typing-text-line {
    fill: rgba(255, 255, 255, 0.9);
  }
  
  .message-bg {
    fill: rgba(0, 0, 0, 0.8);
    stroke: rgba(255, 255, 255, 0.3);
  }
}

@media (prefers-color-scheme: dark) {
  .typing-text-line {
    color: #f0f0f0;
  }
  .message-bg {
    background: rgba(30, 30, 30, 0.9);
  }
}

/* ==============================================
   レスポンシブ対応の改善
   ============================================== */

/* タブレット対応 */
@media (max-width: 1024px) {
  /* ハンバーガーメニューの表示 */
  .nav-cohaco {
    display: none;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    /* height: 20px; */
    cursor: pointer;
    z-index: 1001;
  }
  
  .header-inner {
    padding: 15px 20px;
  }
  
  .header-cohaco .logo img {
    height: 28px;
  }
  
  /* Hero Section調整 */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .btn {
    min-width: 180px;
    padding: 12px 25px;
    font-size: 15px;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .header-inner {
    padding: 12px 15px;
  }
  
  .header-cohaco .logo img {
    height: 24px;
  }
  
  /* Hero Section スマホ調整 */
  #hero-gsap-svg {
    padding: 60px 0 30px 0;
    min-height: 100vh;
  }
  
  .content-overlay {
    padding: 0 15px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    /* スマホでの中央配置を確実にする */
    text-align: center !important;
  }
  
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    line-height: 1.3 !important;
    background-size: 200% 200% !important;
    animation-duration: 6s, 4s !important;
    white-space: normal !important; /* nowrap を解除して改行を許可 */
    overflow: hidden; /* はみ出しを隠す */
    text-overflow: ellipsis; /* 必要に応じて三点リーダー */
    display: block !important;
    text-align: center !important;
    width: 100% !important; /* fit-content から 100% に変更 */
    /* 中央配置を確実に実現 */
    margin: 0 auto 0.8rem auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    max-width: none !important; /* 100% から none に変更 */
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 2rem;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    padding: 15px 20px;
    font-size: 16px;
  }
  
  /* 浮遊テキストをスマホでも表示（位置調整） */
  .text-element {
    display: block !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    position: absolute !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* 浮遊アニメーションを確実に適用 */
    animation: floatMobile 4s ease-in-out infinite !important;
    -webkit-animation: floatMobile 4s ease-in-out infinite !important;
    /* iOS Safari対応 */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    /* Android対応 */
    transform: translateZ(0) !important;
    will-change: transform !important;
  }
  
  /* スマホ表示での浮遊テキストの適切な配置 - 基本設定を上書き */
  .text-element:nth-child(1) { top: 30% !important; left: 10% !important; right: auto !important; bottom: auto !important; }
  .text-element:nth-child(2) { top: 40% !important; right: 10% !important; left: auto !important; bottom: auto !important; }
  .text-element:nth-child(3) { bottom: 40% !important; left: 15% !important; right: auto !important; top: auto !important; }
  .text-element:nth-child(4) { top: 70% !important; right: 10% !important; left: auto !important; bottom: auto !important; }
  .text-element:nth-child(5) { bottom: 25% !important; right: 20% !important; left: auto !important; top: auto !important; }
  
  /* カスタムカーソルをスマホでは非表示 */
  .custom-cursor {
    display: none;
  }
  
  /* スマホではデフォルトのカーソルを使用 */
  body {
    cursor: auto;
  }
  
  /* スマホではインタラクティブ要素でもデフォルトカーソルを使用 */
  a, button, .btn, .magnetic-btn, [role="button"], input[type="button"], input[type="submit"] {
    cursor: pointer;
  }
  
  /* SVGアニメーションの調整 */
  .trust-circle-svg {
    opacity: 0.4; /* スマホでも見やすくするため少し濃く */
    /* スマホでの追従を防ぐ */
    position: absolute !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden;
    perspective: 1000px;
  }
  
  /* SVGアニメーションコンテナの全画面表示 */
  .svg-animation-container {
    position: absolute; /* fixedからabsoluteに戻す */
    top: 0;
    left: 0;
    width: 100%; /* 100vwから100%に戻す */
    height: 100%; /* 100vhから100%に戻す */
    z-index: 1;
    pointer-events: none;
    /* スマホでの追従を防ぐ */
    transform: translateZ(0);
    will-change: transform;
  }
  
  /* メッセージコンテナのスマホ調整 */
  .message-container {
    bottom: 5% !important;
    width: 95% !important;
    padding: 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
    display: block !important;
    text-align: center !important;
  }

  /* タイピングメッセージの正常表示 */
  #typing-message {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 !important;
    font-weight: 400 !important;
  }
  
  /* ナビゲーションの調整 */
  .nav-mobile-list a {
    font-size: 16px;
    padding: 12px 0;
  }
  
  /* ニュースセクションの調整 */
  .marui-news-inner {
    padding: 0 15px;
  }
  
  .marui-news-title {
    font-size: 2rem;
  }
  
  .marui-news-text {
    font-size: 0.9rem;
  }
}

/* 小さなスマホ対応 */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.2rem, 8vw, 1.5rem) !important;
    /* 小さなスマホでもアニメーション効果を軽量化 */
    background-size: 150% 150% !important;
    animation-duration: 8s, 5s !important;
    /* 小画面でも改行を許可 */
    white-space: normal !important; /* nowrap を解除して改行を許可 */
    overflow: hidden; /* はみ出しを隠す */
    text-overflow: ellipsis; /* 必要に応じて三点リーダー */
    /* 小画面でも中央配置 - 確実な中央配置 */
    display: block !important;
    text-align: center !important;
    width: 100% !important; /* fit-content から 100% に変更 */
    /* 中央配置を確実に実現 */
    margin: 0 auto 0.8rem auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    /* 親要素の中央に確実に配置 */
    max-width: none !important; /* 85% から none に変更 */
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .btn {
    max-width: 260px;
    font-size: 15px;
  }
  
  .message-container {
    padding: 15px !important;
    font-size: 13px !important;
  }
  
  .marui-news-title {
    font-size: 1.8rem;
  }
  
  .header-inner {
    padding: 10px 15px;
  }
  
  /* 浮遊テキストの小さなスマホ用調整 */
  .text-element {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  /* 小さなスマホでの浮遊テキストの適切な配置 - 基本設定を上書き */
  .text-element:nth-child(1) { top: 25% !important; left: 8% !important; right: auto !important; bottom: auto !important; }
  .text-element:nth-child(2) { top: 35% !important; right: 8% !important; left: auto !important; bottom: auto !important; }
  .text-element:nth-child(3) { bottom: 35% !important; left: 12% !important; right: auto !important; top: auto !important; }
  .text-element:nth-child(4) { top: 70% !important; right: 8% !important; left: auto !important; bottom: auto !important; }
  .text-element:nth-child(5) { bottom: 20% !important; right: 15% !important; left: auto !important; top: auto !important; }
}

/* 横向きスマホ対応 */
@media (max-width: 768px) and (orientation: landscape) {
  #hero-gsap-svg {
    padding: 40px 0 20px 0;
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 10px;
  }
  
  .btn {
    min-width: 140px;
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* 高解像度ディスプレイ対応 */
@media (min-resolution: 2dppx) {
  .hero-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .btn {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}