
@charset "UTF-8";

/* =========================================
   1. 基本設定 (Base)
   ========================================= */

/* すべての要素のサイズ計算を統一（ズレ防止） */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  color: #444;
  
  /* ★ここを修正：グラデーションをやめて、単色の緑に戻す */
  background: #7fffd4;
  background-image: none; /* 念のためグラデーションを無効化 */
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 画像の基本設定 */
img {
  max-width: 100%;
  height: auto;
}

/* リンクの基本設定 */
a {
  text-decoration: none;
  color: inherit;
}


/* =========================================
   2. 背景アニメーション (Background Shapes)
   ========================================= */
.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  bottom: -100px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: floatUp 15s infinite linear;
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

/* 円の個別設定 */
.shape:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 12s; animation-delay: 0s; background: rgba(32, 178, 170, 0.1); }
.shape:nth-child(2) { width: 120px; height: 120px; left: 25%; animation-duration: 18s; animation-delay: 2s; background: rgba(127, 255, 212, 0.2); }
.shape:nth-child(3) { width: 50px; height: 50px; left: 50%; animation-duration: 10s; animation-delay: 5s; background: rgba(255, 255, 255, 0.5); }
.shape:nth-child(4) { width: 90px; height: 90px; left: 75%; animation-duration: 14s; animation-delay: 1s; background: rgba(32, 178, 170, 0.15); }
.shape:nth-child(5) { width: 60px; height: 60px; left: 90%; animation-duration: 16s; animation-delay: 3s; background: rgba(127, 255, 212, 0.3); }


/* =========================================
   3. トップページ用レイアウト (Hero Section)
   ========================================= */
.hero-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ガラスモーフィズムのボード */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  padding: 60px 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 2.5rem;
  margin: 0 0 15px 0;
  color: #20b2aa; /* テーマカラー */
  letter-spacing: 0.05em;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}


/* =========================================
   4. ボタンデザイン (Buttons)
   ========================================= */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.btn {
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 16px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

/* メインボタン（グラデーション） */
.btn-primary {
  background: linear-gradient(45deg, #20b2aa, #40e0d0);
  color: white;
  box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(32, 178, 170, 0.4);
}

/* サブボタン（白背景） */
.btn-secondary {
  background: white;
  color: #20b2aa;
  border: 2px solid #20b2aa;
}
.btn-secondary:hover {
  background: #e0fffa;
  transform: translateY(-3px);
}


/* =========================================
   5. 旧ヘッダー & ナビゲーション (Legacy)
   ※ 他のページで必要になる場合に備えて残しています
   ========================================= */

/* ヘッダーが必要なページには body に class="has-header" をつけてください */
body.has-header {
  padding-top: 80px;
}

.site-header {
  background: #fff;
  height: 80px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.site-header img {
  height: 50px;
  width: auto;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f5deb3;
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}
.header-btn:hover {
  background-color: #deb887;
  transform: translateY(-2px);
}

/* ハンバーガーメニュー類 */
.menu-container { position: relative; display: inline-block; }
.menu-btn { background: transparent; border: 2px solid #ccc; color: #333; font-size: 24px; cursor: pointer; padding: 5px 10px; border-radius: 5px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 60px; right: 0;
  width: 200px;
  background-color: #2b2b2b;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-radius: 8px;
  z-index: 100;
}
.dropdown-menu.show { display: block; animation: fadeIn 0.2s ease-out; }
.dropdown-menu ul { list-style: none; padding: 0; margin: 0; }
.dropdown-menu a { display: block; padding: 12px 20px; color: #e0e0e0; border-bottom: 1px solid #444; }
.dropdown-menu a:hover { background-color: #3d3d3d; }


/* =========================================
   6. その他・レスポンシブ
   ========================================= */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #888;
  margin-top: auto;
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .glass-card { padding: 40px 20px; }
  .site-header { padding: 0 10px; }
  .header-btn { font-size: 12px; padding: 8px 10px; }
}

/* === ハンバーガーメニュー内のユーザー情報 === */
.user-info-box {
  padding: 15px 20px;
  background-color: #3d3d3d; /* 少し明るいグレー */
  border-bottom: 1px solid #555;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  word-break: break-all; /* 長いメアドでも折り返す */
}

.user-info-box .icon {
  font-size: 1.2rem;
}

.user-email-text {
  font-weight: bold;
  color: #7fffd4; /* テーマカラーの緑 */
}