/* 共通変数 */
:root {
  --purple: #a861ff;
  --blue: #5db9ff;
  --dark-blue: #2c2c50;
  --light-blue: #f5f9ff;
  --border-color: rgba(168, 97, 255, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --text-color: #3a3a5a;
  --background-light: #ffffff;
  --background-main: #f9faff;
}

/* リセットとベース */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-main);
}

/* ヘッダーとナビゲーション */
header {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--dark-blue);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.6rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-1px);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 32px;
  height: 2.5px;
  background: var(--dark-blue);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: center;
}

/* ドロワーメニュー */
.drawer-nav {
  visibility: hidden;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.drawer-nav.open {
  visibility: visible;
  right: 0;
}

.drawer-nav .drawer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-nav .drawer-logo img {
  height: 42px;
  width: auto;
}

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

.drawer-nav li {
  margin: 1.2rem 0;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease-in-out;
}

.drawer-nav.open li {
  opacity: 1;
  transform: translateX(0);
}

.drawer-nav a {
  color: var(--dark-blue);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  display: block;
  padding: 0.9rem 0.8rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.drawer-nav a:hover {
  color: var(--purple);
  background-color: var(--light-blue);
  transform: translateX(5px);
}

/* オーバーレイ */
.overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(3px);
}

.overlay.open {
  visibility: visible;
  opacity: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open span:first-child {
    transform: translateY(12px) rotate(45deg);
  }

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

  .hamburger.open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .drawer-nav {
    display: block;
  }

  .drawer-nav li {
    margin: 0.8rem 0;
  }

  .drawer-nav a {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
  }

  .overlay {
    display: block;
  }
}

/* 共通コンポーネント */
.btn {
  position: relative;
  z-index: 10;
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* フッター */
footer {
  background-color: #f0f4ff;
  color: var(--dark-blue);
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--text-color);
  margin: 0 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer .logo img {
  height: 48px;
}

/* 事業再構築バナー */
.reconstruction-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 998;
  text-decoration: none;
  transition: all 0.3s ease;
}

.reconstruction-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .reconstruction-banner {
    bottom: 16px;
    right: 16px;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
} 
/* ナビゲーションボタン */ 
.nav-button {
  display: inline-block;
  padding: 0.6rem 1.2rem; 
  border-radius: 50px; 
  font-weight: 600; 
  transition: all 0.3s ease; 
  text-decoration: none; 
  font-size: 0.95rem; 
  text-align: center;
} 
.nav-button.login { 
  padding: 0.5rem 1.2rem; 
  border: 2px solid var(--purple); 
  background: transparent; 
} 
.nav-button.signup { 
  padding: 0.5rem 1.2rem; 
  border: 2px solid var(--purple); 
  background: transparent; 
} 
