/* ==========================================
   Orion SE Academy - Custom Styles
   カラーパレット:
   - Primary Navy: #0A2647
   - Deep Blue: #0D3B66
   - Cyan: #00D4FF
   - Sky Blue: #00BFFF
   - Yellow: #FFE600
   - White: #FFFFFF
========================================== */

:root {
  --primary-navy: #0A2647;
  --deep-blue: #0D3B66;
  --cyan: #00D4FF;
  --sky-blue: #00BFFF;
  --yellow: #FFE600;
  --white: #FFFFFF;
}

/* カスタム背景色 */
body {
  background-color: var(--primary-navy);
  padding-top: 0;
}

/* アンカーリンクのオフセット（固定ヘッダー対応） */
section[id] {
  scroll-margin-top: 100px;
}

/* 基本テキスト色の改善 */
p {
  color: rgba(255, 255, 255, 0.9);
}

/* サイドバーウィジェットのリンク */
.sb-widget ul li a {
  color: rgba(255, 255, 255, 0.9);
}

.sb-latest-post-widget .lp-content h6 {
  color: rgba(255, 255, 255, 0.9);
}

/* ヘッダーのカスタマイズ */
.header-section {
  background-color: var(--primary-navy);
  border-bottom: 2px solid var(--cyan);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.header-section .site-logo {
  display: flex;
  align-items: center;
}

.header-section .site-logo img {
  max-height: 50px;
  display: block;
}

.header-section .nav-warp {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-section .main-menu {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-section .main-menu li {
  display: inline-block;
  margin: 0;
}

.header-section .main-menu li a {
  color: var(--white) !important;
  transition: color 0.3s;
}

.header-section .main-menu li a:hover {
  color: var(--cyan) !important;
}

.header-section .user-panel {
  background: none !important;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  float: none !important;
  margin: 0;
  padding: 0;
}

.header-section .user-panel a {
  background-color: var(--cyan);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  transition: all 0.3s;
}

.header-section .user-panel a:hover {
  background-color: var(--yellow);
  color: var(--primary-navy);
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* 背景画像にぼかし効果を適用 */
.hero-section::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: 0;
}

/* グラデーションオーバーレイ */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.85) 0%, rgba(13, 59, 102, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-section h1 .highlight {
  color: var(--yellow);
  position: relative;
  display: inline-block;
}

.hero-section h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, transparent 100%);
}

.hero-section .hero-subtitle {
  font-size: 22px;
  color: var(--cyan);
  margin-bottom: 25px;
  line-height: 1.6;
  font-weight: 600;
}

/* ボタンのカスタマイズ */
.site-btn {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--sky-blue) 100%);
  color: var(--primary-navy);
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
  display: inline-block;
  text-decoration: none;
}

.site-btn:hover {
  background: linear-gradient(135deg, var(--yellow) 0%, #FFD700 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 230, 0, 0.4);
  color: var(--primary-navy);
  text-decoration: none;
}

/* 透明ボタン（アウトライン） */
.site-btn[style*="background: transparent"] {
  background: transparent !important;
  border: 2px solid var(--cyan) !important;
  color: var(--cyan) !important;
  box-shadow: none;
}

.site-btn[style*="background: transparent"]:hover {
  background: var(--cyan) !important;
  color: var(--primary-navy) !important;
  border-color: var(--cyan) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* セクションタイトル */
.section-title img {
  max-width: 48px;
  max-height: 48px;
}

.section-title h2 {
  color: var(--white);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--yellow) 100%);
}

.section-title p {
  color: var(--cyan);
  font-size: 16px;
}

/* フィーチャーセクション */
.features-section {
  background: var(--primary-navy);
}

.feature-item {
  background: rgba(13, 59, 102, 0.5);
  padding: 40px 30px;
  border-radius: 15px;
  transition: all 0.3s;
  border: 2px solid transparent;
  margin-bottom: 30px;
}

.feature-item:hover {
  background: rgba(13, 59, 102, 0.8);
  border-color: var(--cyan);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-item .ft-icon {
  color: var(--cyan);
  font-size: 48px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.feature-item:hover .ft-icon {
  color: var(--yellow);
  transform: scale(1.1);
}

.feature-item h4 {
  color: var(--white);
  margin-bottom: 15px;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

/* ターゲットセクション */
.target-section {
  background: var(--primary-navy);
}

/* カリキュラムセクション */
.curriculum-section {
  background: var(--primary-navy);
}

.curriculum-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--cyan);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.curriculum-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--yellow);
  transform: translateX(10px);
}

.curriculum-item h5 {
  color: var(--cyan);
  margin-bottom: 10px;
}

.curriculum-item p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* プライシングセクション */
.pricing-section {
  background: var(--primary-navy);
}

.pricing-plan {
  background: rgba(13, 59, 102, 0.6);
  border: 3px solid var(--cyan);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.pricing-plan:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
  border-color: var(--yellow);
}

.pricing-plan .pricing-title {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-navy) 100%);
  padding: 35px 30px;
  text-align: center;
  position: relative;
}

.pricing-plan .pricing-title h4 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.pricing-plan.gold-plan {
  border-color: var(--yellow);
  transform: scale(1.08);
}

.pricing-plan.gold-plan:hover {
  transform: scale(1.08) translateY(-15px);
}

.pricing-plan.gold-plan .pricing-title {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--sky-blue) 100%);
}

.pricing-plan.gold-plan .pricing-title h4 {
  color: var(--primary-navy);
}

.pricing-plan .pricing-body {
  padding: 35px 30px 30px;
  background: rgba(10, 38, 71, 0.5);
}

.pricing-plan.gold-plan .pricing-body {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.pricing-plan .pricing-body h2 {
  color: var(--cyan);
  margin-bottom: 5px;
  font-size: 52px;
  font-weight: 700;
  text-align: center;
}

.pricing-plan.gold-plan .pricing-body h2 {
  color: var(--yellow);
}

.pricing-plan .pricing-body h2 span {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.pricing-plan .pricing-body > p {
  text-align: center;
  margin-bottom: 20px;
}

.pricing-plan .pricing-body ul {
  margin-bottom: 20px;
  margin-top: 0;
  list-style: none;
}

.pricing-plan .pricing-body ul li {
  color: rgba(255, 255, 255, 0.95);
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.pricing-plan .pricing-body ul li:last-child {
  border-bottom: none;
}

.pricing-plan .pricing-body ul li::before {
  content: '\f00c';
  font-family: 'FontAwesome';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 16px;
}

.pricing-plan.gold-plan .pricing-body ul li::before {
  color: var(--yellow);
}

.pricing-plan .pricing-body .site-btn {
  width: 100%;
  margin-top: 10px;
}

/* CTAバナー */
.banner-section {
  background: var(--primary-navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.banner-section .banner-text h3 {
  color: var(--white);
  font-weight: 700;
}

.banner-section .banner-text p {
  color: var(--white);
  opacity: 0.9;
}

/* フッター */
.footer-section {
  background: var(--primary-navy);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding: 40px 0;
}

.footer-menu {
  margin-bottom: 25px;
}

.footer-menu li a {
  color: var(--white) !important;
  opacity: 1 !important;
  transition: color 0.3s;
  font-size: 15px;
  font-weight: 500;
}

.footer-menu li a:hover {
  color: var(--cyan) !important;
  opacity: 1 !important;
}

.copyright {
  color: var(--white) !important;
  opacity: 1 !important;
  font-size: 15px;
}

.copyright a {
  color: var(--white);
}

/* ロケット画像のスタイル */
.hero-rocket {
  position: relative !important;
  z-index: 2;
  max-width: 450px;
  margin: 0 auto;
  padding: 20px;
  bottom: auto !important;
  right: auto !important;
}

.hero-rocket img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.3));
  position: static !important;
  animation: none !important;
  -webkit-animation: none !important;
  left: auto !important;
  bottom: auto !important;
  border-radius: 50%;
}

/* Heroコンテンツボックス */
.hero-section .hero-content > .row > div > p:first-of-type {
  background: rgba(13, 59, 102, 0.4);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--cyan);
  backdrop-filter: blur(10px);
}

/* 黄色のハイライトボックス */
.hero-section div[style*="rgba(255, 230, 0"] {
  backdrop-filter: blur(5px);
}

/* PCサイズでメニューを表示 */
@media (min-width: 993px) {
  .nav-warp {
    display: flex !important;
    background: transparent !important;
    float: none !important;
  }

  .header-section .main-menu {
    float: none !important;
    padding-top: 0 !important;
  }

  .header-section .main-menu li a {
    opacity: 1 !important;
  }

  .header-section .user-panel {
    float: none !important;
    padding-top: 0 !important;
  }
}

/* モバイルメニュー */
@media (max-width: 992px) {
  .header-section {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: fixed !important;
    padding: 15px 30px !important;
    min-height: 70px !important;
  }

  .header-section .site-logo {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    float: none !important;
    margin: 0 !important;
  }

  .header-section .site-logo img {
    max-height: 40px;
  }

  .nav-switch {
    color: var(--cyan) !important;
    display: block !important;
    font-size: 28px !important;
    cursor: pointer;
    z-index: 100;
    position: relative !important;
    float: none !important;
    margin: 0 !important;
    margin-right: 0 !important;
    right: auto !important;
  }

  .nav-switch.active {
    color: var(--yellow) !important;
  }

  .nav-warp {
    background: var(--primary-navy) !important;
    border-top: 2px solid var(--cyan) !important;
    display: none !important;
    position: absolute !important;
    width: 100% !important;
    left: 0 !important;
    top: 100% !important;
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.15) !important;
    float: none !important;
    z-index: 50;
  }

  .nav-warp[style*="display: block"] {
    display: block !important;
  }

  .header-section .nav-warp {
    display: none !important;
  }

  .header-section .nav-warp[style*="display: block"] {
    display: block !important;
  }

  .header-section .main-menu {
    display: block !important;
    padding: 0 !important;
    float: none !important;
    margin: 0 !important;
  }

  .header-section .main-menu li {
    display: block !important;
    float: none !important;
  }

  .header-section .main-menu li a {
    color: var(--white) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2) !important;
    display: block !important;
    padding: 15px 30px !important;
    opacity: 1 !important;
  }

  .header-section .main-menu li a:hover {
    color: var(--cyan) !important;
    background: rgba(0, 212, 255, 0.1) !important;
  }

  .header-section .user-panel {
    display: block !important;
    padding: 15px 30px !important;
    float: none !important;
    background: none !important;
  }

  .header-section .user-panel a {
    display: block !important;
    text-align: center !important;
  }
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 0 80px 0;
  }

  .hero-section h1 {
    font-size: 42px;
  }

  .hero-section .hero-subtitle {
    font-size: 18px;
  }

  .hero-rocket {
    max-width: 350px;
    margin-top: 40px;
  }

  .pricing-plan.gold-plan {
    transform: scale(1);
    margin-bottom: 30px;
  }

  .pricing-plan.gold-plan:hover {
    transform: translateY(-15px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 140px 0 60px 0;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section .hero-subtitle {
    font-size: 16px;
  }

  .hero-rocket {
    max-width: 280px;
    margin-top: 30px;
  }

  .feature-item {
    margin-bottom: 20px;
  }

  .site-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0 !important;
  }

  .pricing-plan .pricing-body h2 {
    font-size: 42px;
  }

  .pricing-plan .pricing-title h4 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 120px 0 50px 0;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .hero-section .hero-subtitle {
    font-size: 14px;
  }

  .hero-rocket {
    max-width: 220px;
  }

  .site-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .pricing-plan .pricing-body h2 {
    font-size: 36px;
  }

  .pricing-plan .pricing-title h4 {
    font-size: 22px;
  }

  .pricing-plan .pricing-body {
    padding: 35px 25px;
  }

  .pricing-plan .pricing-body ul li {
    font-size: 14px;
    padding: 12px 0 12px 25px;
  }
}
