/*
Theme Name: RAISEON Theme
Author: RAISEON
Description: Official Theme for RAISEON Inc.
Version: 1.0.0
*/

/* 基本設定 */
body {
    font-family: 'Plus Jakarta Sans', 'Zen Kaku Gothic New', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #334155;
    font-feature-settings: "palt";
  }
  
  .font-en {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-feature-settings: normal;
  }
  
  /* アニメーション関連 */
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
  }
  
  .reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* 軌道アニメーション */
  .traffic-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
  }
  
  .orbit-path-1 {
    width: 280px;
    height: 280px;
    border: 1px dashed rgba(14, 165, 233, 0.3);
    animation: rotate-cw 40s linear infinite;
  }
  
  .orbit-path-2 {
    width: 450px;
    height: 450px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    animation: rotate-ccw 60s linear infinite;
  }
  
  @media (max-width: 768px) {
    .orbit-path-1 { width: 200px; height: 200px; border-color: rgba(14, 165, 233, 0.15); }
    .orbit-path-2 { width: 340px; height: 340px; border-color: rgba(14, 165, 233, 0.1); }
  }
  
  .orbit-object {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
  }
  
  .moving-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @keyframes rotate-cw {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  @keyframes rotate-ccw {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
  }
  
  .counter-rotate { animation: rotate-counter 40s linear infinite reverse; }
  .counter-rotate-slow { animation: rotate-counter 60s linear infinite reverse; }
  
  @keyframes rotate-counter {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  .breathe { animation: breathe 4s ease-in-out infinite alternate; }
  @keyframes breathe { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
  
  .pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid #0ea5e9;
    opacity: 0;
    animation: pulse-ripple 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  
  @keyframes pulse-ripple {
    0% { width: 100px; height: 100px; opacity: 0.4; border-width: 1px; transform: translate(-50%, -50%) scale(0.8); }
    100% { width: 250px; height: 250px; opacity: 0; border-width: 0px; transform: translate(-50%, -50%) scale(1.2); }
  }
  
  @media (max-width: 768px) {
    @keyframes pulse-ripple {
      0% { width: 60px; height: 60px; opacity: 0.4; border-width: 1px; transform: translate(-50%, -50%) scale(0.8); }
      100% { width: 160px; height: 160px; opacity: 0; border-width: 0px; transform: translate(-50%, -50%) scale(1.2); }
    }
  }
  
  .writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
  }
  
  /* テーブル風リスト */
  .border-b-custom { border-bottom: 1px solid #e2e8f0; }
  .group:last-child .border-b-custom { border-bottom: none; }