/* Vision Page Styles - Based on style.css */

:root {
  --bg: #0b0b0d;            /* 黒基調 */
  --bg-elev: #121216;       /* 1段明るい */
  --fg: #f2f2f2;            /* 本文 */
  --muted: #b7bcc7;         /* 補助テキスト */
  --line: #2a2a30;          /* 枠線 */
  --brand: #c6a34f;         /* ロゴに合わせた金色 */
  --brand-2: #59aabd;       /* ロゴの水色アクセント */
}

html,body { height: 100%; }
body {
  font-family: 'Zen Antique', serif;
  color: var(--fg);
  background: url('assets/background.webp') center center / cover no-repeat fixed, 
              linear-gradient(rgba(11,11,13,0.7), rgba(11,11,13,0.8));
  background-attachment: fixed;
}

/* Navbar - 統一 */
.navbar {
  backdrop-filter: blur(6px);
  background: rgb(255, 255, 255) !important;
  border-bottom: 1px solid #ddd;
  z-index: 1040;
}
.navbar-brand, .nav-link { color: #333 !important; }
.navbar-brand { font-size: 1.25rem; text-decoration: underline; }
.navbar-logo { 
  height: 32px; 
  width: auto; 
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); 
}
.nav-link:hover { text-decoration: underline; color: var(--brand) !important; }
.btn-contact { font-weight: 700; background: var(--brand); border-color: var(--brand); color: #111; }
.btn-contact:hover { opacity: .9; }

/* ハンバーガーメニューアイコンのカスタマイズ */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Drawer - 統一 */
.custom-drawer {
  position: fixed; top: 60px; right: -320px; width: 320px; height: calc(100vh - 60px);
  background: #0f1116; color: var(--fg); border-left: 1px solid var(--line);
  transition: right .28s ease; z-index: 1050; overflow-y: auto;
}
.custom-drawer.open { right: 0; }
.bordered-text { font-weight: 700; font-size: 18px; color: transparent; -webkit-text-stroke: 1px var(--fg); }
.drawer-links a { color: var(--fg); display:block; margin: 6px 0; }
.social-icons img { width: 24px; height: 24px; margin-right: 10px; }

/* Vision Hero Section */
.vision-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(14,14,18,0.9) 0%, rgba(14,14,18,0.7) 60%, rgba(14,14,18,0.9) 100%);
  position: relative;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.vision-statement {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--brand);
  font-weight: 700;
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border: 2px solid var(--brand);
  border-radius: 12px;
  background: rgba(198,163,79,0.05);
  text-shadow: 0 0 20px rgba(198,163,79,0.3);
  position: relative;
}

.vision-statement::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--brand), transparent, var(--brand));
  border-radius: 12px;
  z-index: -1;
  opacity: 0.3;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: var(--muted);
  margin-top: 2rem;
}

.hero-image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Message Section */
.message-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(18,18,22,0.8) 50%, var(--bg) 100%);
}

.message-card {
  background: linear-gradient(135deg, rgba(18,18,22,0.8) 0%, rgba(15,17,22,0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.message-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--brand);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.message-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.message-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 2;
  color: var(--fg);
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Footer - 統一 */
.footer { 
  border-top: 1px solid var(--line); 
  background: rgba(12,12,15,.6); 
}
.footer-brand { 
  color: var(--fg); 
  text-decoration: underline; 
}
.footer-link { 
  color: var(--fg); 
  text-decoration:none; 
}
.footer-link:hover { 
  color: var(--brand); 
  text-decoration: underline; 
}

/* アニメーション */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールアニメーション */
.fadeup-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeup-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .vision-hero {
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .vision-statement {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
  }
  
  .message-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 500px) {
  .message-card {
    padding: 1.5rem 1rem;
  }
  
  .hero-description {
    text-align: left;
  }
}
