@charset "utf-8";
/* =======================
   Light Blue Theme
   ======================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  /* 黒背景 → 淡いブルーのグラデ背景 */
  background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 40%, #ffffff 100%);
  color: #2c3d66; /* デフォルト文字色を濃いめネイビー */
}

/* Sections */
.section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home {
  /* ダーク → ソフトブルーの放射グラデ */
  background: radial-gradient(1200px 600px at 50% 20%, #eef6ff 0%, #f9fbff 70%, #ffffff 100%);
}

#about {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

#contact {
  background: radial-gradient(900px 600px at 50% 30%, #f2f8ff 0%, #ffffff 100%);
}

/* Header Styles */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.82); /* 透明白＋ブルー枠 */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90, 150, 220, 0.25);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  height: 70px;
}
.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; transition: transform .3s ease; }
.logo-container:hover { transform: translateY(-2px); }
.logo { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.logo svg { width: 100%; height: 100%; }
.logo-text { color: #2c3d66; font-size: 24px; font-weight: 600; letter-spacing: -0.5px; }

.main-menu { display: flex; align-items: center; gap: 40px; }
.menu-item {
  color: rgba(20, 40, 90, 0.85);
  text-decoration: none;
  font-size: 16px; font-weight: 600;
  transition: all 0.25s ease;
  position: relative;
  padding: 8px 0;
}
.menu-item:hover { color: #163a7a; transform: translateY(-2px); }
.menu-item::after{
  content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
  background: linear-gradient(90deg, #5aa9ff, #8fd3ff); transition: width .25s ease;
}
.menu-item:hover::after, .menu-item.active::after { width:100%; }
.menu-item.active{ color:#163a7a; }
.menu-item.external::before{ content:'↗'; margin-right:5px; font-size:12px; opacity:.7; }

/* Mobile menu toggle */
.menu-toggle{ display:none; flex-direction:column; cursor:pointer; padding:4px; }
.menu-toggle span{ width:25px; height:3px; background:#2c3d66; margin:3px 0; transition:.3s; border-radius:2px; }
.menu-toggle.active span:nth-child(1){ transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform: rotate(45deg) translate(-5px, -6px); }

/* Home Section with Coverflow */
.coverflow-wrapper {
  width:100%; height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding-top:80px;
}
.coverflow-container {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  perspective: 1200px; position:relative;
}
.coverflow { display:flex; align-items:center; justify-content:center; transform-style:preserve-3d; position:relative; width:100%; height:400px; }
.coverflow-item{ position:absolute; width:300px; height:300px; transition: all .6s cubic-bezier(0.68,-0.55,0.265,1.55); cursor:pointer; user-select:none; }

.coverflow-item .cover{
  width:100%; height:100%;
  border-radius:10px;
  /* 影を淡いブルー系に調整 */
  box-shadow: 0 20px 40px rgba(100, 150, 220, 0.35);
  position:relative; overflow:hidden; transform-style: preserve-3d;
  background:#f0f6ff;
}
.coverflow-item .cover img{ width:100%; height:100%; object-fit:cover; border-radius:10px; }

/* Reflection（ライト背景向けに調整） */
.coverflow-item .reflection{
  position:absolute; top:100%; left:0; width:100%; height:100%;
  border-radius:10px; transform: scaleY(-1);
  opacity: .22; filter: blur(2px);
  background: linear-gradient(to bottom,
    rgba(240, 248, 255, 0) 0%,
    rgba(170, 200, 255, 0.45) 55%,
    rgba(160, 185, 235, 0.75) 100%);
  overflow:hidden;
}

/* Active item (center) */
.coverflow-item.active{ z-index:100; transform: translateX(0) translateZ(0) rotateY(0deg); }
.coverflow-item.active .cover{ box-shadow: 0 30px 60px rgba(90, 150, 220, 0.45); }

/* Navigation */
.nav-button{
  position:absolute; top:50%; transform: translateY(-50%);
  background: rgba(90, 150, 220, 0.15);
  border: 2px solid rgba(90, 150, 220, 0.25);
  color: #1c3c78;
  width:60px; height:60px; border-radius:50%;
  cursor:pointer; font-size:24px;
  display:flex; align-items:center; justify-content:center;
  transition: all .25s ease; backdrop-filter: blur(8px);
  z-index:200;
}
.nav-button:hover{ background: rgba(90, 150, 220, 0.25); transform: translateY(-50%) scale(1.08); }
.nav-button.prev{ left:50px; }
.nav-button.next{ right:50px; }

/* Dots indicator */
.dots-container{ position:absolute; bottom:60px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:200; }
.dot{ width:10px; height:10px; border-radius:50%; background: rgba(40, 80, 140, 0.25); cursor:pointer; transition: all .25s ease; }
.dot.active{ background: rgba(40, 80, 140, 0.8); transform: scale(1.3); }

/* Info display */
.info{
  position:absolute; top:120px; left:50%; transform:translateX(-50%);
  color:#2c3d66; text-align:center; z-index:200;
}
.info h2{ font-size:32px; margin-bottom:10px; opacity:0; animation: fadeIn .6s forwards; }
.info p{ font-size:16px; opacity:.8; }

@keyframes fadeIn { to { opacity:1; } }

/* Play/Pause Button */
.play-pause-button{
  position:absolute; bottom:120px; left:50%; transform:translateX(-50%);
  background: rgba(90, 150, 220, 0.15);
  border: 2px solid rgba(90, 150, 220, 0.25);
  color:#1c3c78; width:50px; height:50px; border-radius:50%;
  cursor:pointer; font-size:20px;
  display:flex; align-items:center; justify-content:center;
  transition: all .25s ease; backdrop-filter: blur(8px);
  z-index:200;
}
.play-pause-button:hover{ background: rgba(90, 150, 220, 0.25); transform: translateX(-50%) scale(1.08); }
.play-pause-button .pause-icon{ font-size:16px; letter-spacing:2px; }

/* About Section */
.about-content{ max-width:1400px; margin:0 auto; padding:40px; color:#2c3d66; }

.about-header{ text-align:center; margin-bottom:80px; }
.about-header h2{
  font-size:48px; margin-top:60px; margin-bottom:20px;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.about-header p{ font-size:20px; color: rgba(30, 50, 90, 0.8); max-width:600px; margin:0 auto; line-height:1.8; }

.about-main{ display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; margin-bottom:80px; }
.about-visual{ position:relative; height:600px; display:flex; align-items:center; justify-content:center; }

.showcase-display{ position:relative; width:100%; max-width:500px; height:500px; display:flex; align-items:center; justify-content:center; }
.showcase-main{
  position:relative; width:350px; height:400px;
  background: linear-gradient(135deg, rgba(90,150,220,0.10) 0%, rgba(140,190,255,0.10) 100%);
  border-radius:30px; border: 2px solid rgba(90,150,220,0.25);
  padding:40px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px rgba(100, 150, 220, 0.25);
}
.showcase-logo{
  width:120px; height:120px;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  border-radius:30px; display:flex; align-items:center; justify-content:center;
  margin-bottom:30px; box-shadow: 0 15px 35px rgba(90,150,220,0.35);
}
.showcase-logo svg{ width:70%; height:70%; }
.showcase-title{ font-size:32px; font-weight:700; color:#1c2f57; margin-bottom:15px; text-align:center; }
.showcase-subtitle{ font-size:16px; color: rgba(30, 50, 90, 0.75); text-align:center; margin-bottom:40px; line-height:1.6; }
.showcase-badges{ display:flex; gap:15px; flex-wrap:wrap; justify-content:center; }
.badge{
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(90,150,220,0.35);
  border-radius:20px; padding:8px 16px; font-size:14px; color:#1f3e70;
  backdrop-filter: blur(8px);
  transition: all .25s ease; cursor:pointer; text-decoration:none; display:inline-block;
}
.badge:hover{
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  border-color: transparent; color:#fff; transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(90,150,220,0.35);
}
.badge:active{ transform: translateY(0); box-shadow: 0 2px 8px rgba(90,150,220,0.25); }

/* Decorative corners */
.corner-decoration{
  position:absolute; width:80px; height:80px; border:2px solid rgba(90,150,220,0.35);
}
.corner-decoration.top-left{ top:-20px; left:-20px; border-right:none; border-bottom:none; border-radius:20px 0 0 0; }
.corner-decoration.bottom-right{ bottom:-20px; right:-20px; border-left:none; border-top:none; border-radius:0 0 20px 0; }

.about-info{ padding-left:40px; }
.about-info h3{ font-size:36px; margin-bottom:30px; line-height:1.3; color:#1c2f57; }
.about-info p{ font-size:18px; color: rgba(30, 50, 90, 0.85); line-height:1.8; margin-bottom:30px; }
.feature-list{ list-style:none; margin-bottom:40px; }
.feature-list li{
  display:flex; align-items:center; gap:15px; margin-bottom:20px; font-size:16px; color:#213a6b;
}
.feature-list li::before{
  content:'✓'; display:flex; align-items:center; justify-content:center; width:30px; height:30px;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%); border-radius:50%; flex-shrink:0; color:#fff;
}
.cta-button{
  display:inline-flex; align-items:center; gap:10px;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  color:#fff; text-decoration:none; padding:15px 30px; border-radius:30px; font-weight:600; transition: all .25s ease;
}
.cta-button:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px rgba(90,150,220,0.45); }
.cta-button svg{ width:20px; height:20px; transition: transform .25s ease; }
.cta-button:hover svg{ transform: translateX(5px); }

/* Stats */
.stats-section{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:40px;
  padding:60px;
  background: rgba(90, 150, 220, 0.06);
  backdrop-filter: blur(10px);
  border-radius:30px;
  border: 1px solid rgba(90, 150, 220, 0.2);
}
.stat-item{ text-align:center; }
.stat-number{
  font-size:48px; font-weight:700;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.stat-label{ font-size:16px; color: rgba(30, 50, 90, 0.8); }

/* Contact Section */
.contact-content{ max-width:1200px; margin:0 auto; padding:40px; color:#2c3d66; }
.contact-header{ text-align:center; margin-top:60px; margin-bottom:60px; }
.contact-header h2{
  font-size:48px; margin-bottom:20px;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.contact-header p{ font-size:20px; color: rgba(30, 50, 90, 0.8); max-width:600px; margin:0 auto; }

.contact-container{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.contact-info-section{ padding-right:40px; }
.contact-info-section h3{ font-size:28px; margin-bottom:20px; color:#1c2f57; }
.contact-info-section p{ font-size:16px; color: rgba(30, 50, 90, 0.8); line-height:1.8; margin-bottom:40px; }

.contact-details{ display:flex; flex-direction:column; gap:25px; }
.contact-item{
  display:flex; align-items:center; gap:20px; padding:20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border:1px solid rgba(90, 150, 220, 0.25);
  border-radius:15px; transition: all .25s ease;
}
.contact-item:hover{
  background: rgba(255,255,255,0.85);
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(90,150,220,0.25);
}
.contact-icon{ width:50px; height:50px; background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-icon svg{ width:24px; height:24px; fill:#fff; }
.contact-text{ flex:1; }
.contact-text h4{ font-size:16px; color:#1c2f57; margin-bottom:5px; }
.contact-text p{ font-size:14px; color: rgba(30, 50, 90, 0.8); margin:0; }

.social-links{ margin-top:40px; }
.social-links h4{ font-size:18px; margin-bottom:20px; color:#1c2f57; }
.social-buttons{ display:flex; gap:15px; }
.social-btn{
  width:45px; height:45px;
  background: rgba(255, 255, 255, 0.7);
  border:1px solid rgba(90, 150, 220, 0.25);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  transition: all .25s ease; cursor:pointer;
}
.social-btn:hover{
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(90,150,220,0.35);
}
.social-btn svg{ width:20px; height:20px; fill:#1c2f57; }
.social-btn:hover svg{ fill:#fff; }

.contact-form-section{ padding-left:40px; }
.contact-form{
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border:1px solid rgba(90, 150, 220, 0.25);
  border-radius:20px; padding:40px;
}
.form-group{ margin-bottom:25px; }
.form-group label{ display:block; margin-bottom:10px; color:#234772; font-weight:600; }
.form-group input, .form-group textarea{
  width:100%; padding:15px;
  background: rgba(255, 255, 255, 0.9);
  border:1px solid rgba(90, 150, 220, 0.35);
  border-radius:10px; color:#1f2f57; font-size:16px; font-family:inherit; transition: all .25s ease;
}
.form-group input:focus, .form-group textarea:focus{
  outline:none; border-color:#5aa9ff; background:#ffffff;
  box-shadow: 0 0 0 4px rgba(90, 150, 220, 0.18);
}
.form-group textarea{ resize: vertical; min-height:150px; line-height:1.5; }

.submit-btn{
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  color:#fff; border:none; padding:15px 40px; font-size:18px; font-weight:600;
  border-radius:30px; cursor:pointer; transition: all .25s ease; width:100%;
}
.submit-btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px rgba(90,150,220,0.45); }

/* Smooth image loading */
.image-loading{ background: linear-gradient(45deg, #e6f1ff, #f1f7ff); position:relative; }
.image-loading::after{
  content:'📷'; position:absolute; top:50%; left:50%; transform: translate(-50%, -50%); font-size:48px; opacity:.35;
}

/* Footer Styles */
.footer{
  background: #f0f7ff;
  border-top: 1px solid rgba(90, 150, 220, 0.25);
  padding:40px 20px; margin-top:80px;
}
.footer-content{
  max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:30px;
}
.footer-copyright{ color: rgba(30, 50, 90, 0.75); font-size:14px; }
.footer-copyright a{ color:#1e78e6; text-decoration:none; transition: color .25s ease; }
.footer-copyright a:hover{ color:#0e56a8; }
.footer-links{ display:flex; gap:30px; align-items:center; }
.footer-links a{ color: rgba(30, 50, 90, 0.75); text-decoration:none; font-size:14px; transition: color .25s ease; }
.footer-links a:hover{ color:#0e56a8; }

/* Scroll to top button */
.scroll-to-top{
  position:fixed; bottom:30px; right:30px;
  width:50px; height:50px;
  background: linear-gradient(135deg, #5aa9ff 0%, #8fd3ff 100%);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:20px; cursor:pointer; opacity:0; transform: translateY(100px);
  transition: all .25s ease; z-index:999;
}
.scroll-to-top.visible{ opacity:1; transform: translateY(0); }
.scroll-to-top:hover{ transform: translateY(-5px); box-shadow: 0 10px 30px rgba(90,150,220,0.45); }

/* Mobile Responsive */
@media (max-width: 1024px){
  .about-main{ grid-template-columns:1fr; gap:60px; }
  .about-visual{ height:400px; }
  .about-info{ padding-left:0; text-align:center; }
  .feature-list{ text-align:left; max-width:500px; margin:0 auto 40px; }
  .stats-section{ grid-template-columns: repeat(2, 1fr); gap:30px; padding:40px; }

  .contact-container{ grid-template-columns:1fr; gap:50px; }
  .contact-info-section{ padding-right:0; }
  .contact-form-section{ padding-left:0; }
}

@media (max-width: 768px){
  .header{ padding:0 20px; }
  .main-menu{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:#ffffff; backdrop-filter: blur(10px);
    flex-direction:column; padding:20px; gap:20px;
    border-bottom: 1px solid rgba(90, 150, 220, 0.25);
  }
  .main-menu .menu-item{ padding:10px 6px; }
  .main-menu.active{ display:flex; }
  .menu-toggle{ display:flex; }

  .coverflow-item{ width:200px; height:200px; }
  .nav-button{ width:40px; height:40px; font-size:18px; }
  .nav-button.prev{ left:20px; } .nav-button.next{ right:20px; }
  .info h2{ font-size:24px; } .info p{ font-size:14px; }
  .logo-text{ font-size:20px; }

  .about-header h2{ font-size:36px; }
  .about-info h3{ font-size:28px; }
  .about-visual{ height:400px; }
  .showcase-display{ max-width:350px; height:400px; }
  .showcase-main{ width:100%; height:350px; padding:30px; }
  .showcase-logo{ width:100px; height:100px; margin-bottom:20px; }
  .showcase-title{ font-size:28px; }
  .showcase-subtitle{ font-size:14px; margin-bottom:30px; }
  .corner-decoration{ display:none; }

  .stat-number{ font-size:36px; }

  .contact-content h2{ font-size:36px; }

  .footer-content{ flex-direction:column; text-align:center; gap:20px; }
  .footer-links{ gap:20px; }
}

@media (max-width: 480px){
  .header{ height:70px; padding:0 15px; }
  .header.scrolled{ height:60px; }
  .logo{ width:40px; height:40px; }
  .logo-text{ font-size:18px; }

  .coverflow-item{ width:180px; height:180px; }

  .about-content, .contact-content{ padding:20px; }

  .contact-container{ gap:30px; }
  .contact-header{ margin-bottom:40px; }
  .contact-header h2{ font-size:32px; margin-bottom:15px; }
  .contact-header p{ font-size:16px; padding:0 10px; }
  .contact-info-section{ margin-bottom:20px; }
  .contact-info-section h3{ font-size:22px; margin-bottom:15px; }
  .contact-info-section > p{ font-size:14px; padding:0 10px; margin-bottom:30px; }
  .contact-details{ gap:15px; }
  .contact-item{ padding:15px; gap:12px; }
  .contact-icon{ width:40px; height:40px; }
  .contact-icon svg{ width:20px; height:20px; }
  .contact-text h4{ font-size:14px; }
  .contact-text p{ font-size:12px; word-break:break-word; }

  .social-links{ margin-top:30px; }
  .social-links h4{ font-size:16px; margin-bottom:15px; }
  .social-buttons{ gap:10px; }
  .social-btn{ width:40px; height:40px; }
  .social-btn svg{ width:18px; height:18px; }

  .contact-form{ padding:20px 15px; border-radius:15px; }
  .form-group{ margin-bottom:20px; }
  .form-group label{ font-size:14px; margin-bottom:8px; }
  .form-group input, .form-group textarea{ padding:12px; font-size:14px; border-radius:8px; }
  .form-group textarea{ min-height:120px; }
  .submit-btn{ padding:12px 30px; font-size:16px; border-radius:25px; }
}
/* === モバイル（768px以下）を“最後に”定義して上書き勝ちにする === */
@media (max-width: 768px) {
  /* ハンバーガーを出す */
  .menu-toggle { display: flex; cursor: pointer; z-index: 10001; }

  /* 初期は非表示。absolute でヘッダー直下に展開 */
  .main-menu {
    display: none !important;            /* ← 競合対策 */
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: rgba(232, 243, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    z-index: 10000;
  }

  /* トグルで開く */
  .main-menu.active { display: flex !important; }  /* ← 競合対策 */

  /* 覆い被さり対策（必要なら） */
  .header { position: sticky; top: 0; z-index: 10002; }
}
