|
1 | | -/* Mobile-first layout styles */ |
2 | | -.container { |
| 1 | +/* 全体の背景コンテナ */ |
| 2 | +.app-background { |
| 3 | + min-height: 100vh; |
3 | 4 | display: flex; |
4 | | - flex-direction: column; |
5 | | - align-items: center; |
6 | 5 | justify-content: center; |
7 | | - min-height: 100vh; |
8 | | - padding: 2rem; |
9 | | - padding-bottom: 15vh; |
10 | | - /* Shift optical center upwards */ |
11 | | - box-sizing: border-box; |
12 | | - text-align: center; |
13 | | - background-color: #f8f9fa; |
14 | | - /* Light background for cleaner look, or dark if preferred */ |
| 6 | + align-items: center; |
| 7 | + padding: 24px; |
| 8 | + |
| 9 | + /* ベースは優しいクリーム色 */ |
| 10 | + background-color: #fff8e1; |
| 11 | + |
| 12 | + /* はみ出たオーロラを隠す&カードとの重なりを制御 */ |
| 13 | + position: relative; |
| 14 | + overflow: hidden; |
15 | 15 | } |
16 | 16 |
|
17 | | -/* Adjust root to ensure full height */ |
18 | | -#root { |
19 | | - min-height: 100vh; |
20 | | - margin: 0; |
21 | | - padding: 0; |
| 17 | +/* メインコンテンツのカード */ |
| 18 | +.title-card { |
| 19 | + border-radius: 16px !important; |
| 20 | + /* 背景をほんの少しだけ透かすと、後ろのオーロラと馴染んで超リッチになります */ |
| 21 | + background-color: rgba(255, 255, 255, 0.9) !important; |
| 22 | + backdrop-filter: blur(10px); |
| 23 | + /* すりガラス効果 */ |
| 24 | + text-align: center; |
| 25 | + max-width: 480px; |
22 | 26 | width: 100%; |
| 27 | + padding: 48px 32px !important; |
| 28 | + box-shadow: 0 8px 32px rgba(237, 108, 2, 0.15) !important; |
| 29 | + margin: 0 !important; |
| 30 | + |
| 31 | + /* カードをオーロラより手前に持ってくる */ |
| 32 | + position: relative; |
| 33 | + z-index: 10; |
| 34 | +} |
| 35 | + |
| 36 | +/* ========================================= |
| 37 | + オーロラ(Mesh Gradient)のアニメーション設定 |
| 38 | +========================================= */ |
| 39 | + |
| 40 | +.aurora-blob { |
| 41 | + position: absolute; |
| 42 | + border-radius: 50%; |
| 43 | + /* 魔法のステータス:ここで色を強烈にぼかして「にじみ」を作る */ |
| 44 | + filter: blur(80px); |
| 45 | + opacity: 0.7; |
| 46 | + z-index: 1; |
| 47 | + |
| 48 | + /* ゆったりと呼吸するように動かすアニメーション */ |
| 49 | + animation: float-aurora 15s infinite alternate ease-in-out; |
| 50 | +} |
| 51 | + |
| 52 | +/* 色と配置をそれぞれ変えて複雑な混ざり合いを作る */ |
| 53 | + |
| 54 | +/* 1つ目:左上の明るいオレンジ */ |
| 55 | +.aurora-1 { |
| 56 | + top: -10%; |
| 57 | + left: -10%; |
| 58 | + width: 50vw; |
| 59 | + height: 50vw; |
| 60 | + background-color: #ffb74d; |
| 61 | + animation-delay: 0s; |
23 | 62 | } |
24 | 63 |
|
25 | | -.title { |
26 | | - font-size: 2.5rem; |
27 | | - font-weight: bold; |
28 | | - margin-bottom: 4rem; |
29 | | - /* Increased spacing to separate title */ |
30 | | - color: #333; |
31 | | - line-height: 1.2; |
| 64 | +/* 2つ目:右下の少し濃いオレンジ */ |
| 65 | +.aurora-2 { |
| 66 | + bottom: -20%; |
| 67 | + right: -10%; |
| 68 | + width: 60vw; |
| 69 | + height: 60vw; |
| 70 | + background-color: #ff9800; |
| 71 | + animation-delay: -5s; |
| 72 | + /* 動きのタイミングをズラす */ |
32 | 73 | } |
33 | 74 |
|
34 | | -/* Dark mode support for title if needed, based on index.css */ |
35 | | -@media (prefers-color-scheme: dark) { |
36 | | - .container { |
37 | | - background-color: #242424; |
| 75 | +/* 3つ目:右上の少しピンクがかった温かい色(深みを出す隠し味) */ |
| 76 | +.aurora-3 { |
| 77 | + top: 20%; |
| 78 | + right: 20%; |
| 79 | + width: 40vw; |
| 80 | + height: 40vw; |
| 81 | + background-color: #ff8a65; |
| 82 | + animation-delay: -10s; |
| 83 | +} |
| 84 | + |
| 85 | +/* オーロラがゆっくり揺らぐアニメーションキーフレーム */ |
| 86 | +@keyframes float-aurora { |
| 87 | + 0% { |
| 88 | + transform: translate(0, 0) scale(1); |
| 89 | + } |
| 90 | + |
| 91 | + 33% { |
| 92 | + transform: translate(5vw, -5vh) scale(1.1); |
| 93 | + } |
| 94 | + |
| 95 | + 66% { |
| 96 | + transform: translate(-5vw, 5vh) scale(0.9); |
38 | 97 | } |
39 | 98 |
|
40 | | - .title { |
41 | | - color: rgba(255, 255, 255, 0.87); |
| 99 | + 100% { |
| 100 | + transform: translate(0, 0) scale(1); |
42 | 101 | } |
43 | 102 | } |
44 | 103 |
|
45 | | -.button-group { |
| 104 | +/* ========================================= |
| 105 | + タイトルロゴとボタン(先ほどと同じ) |
| 106 | +========================================= */ |
| 107 | + |
| 108 | +.title-logo-area { |
| 109 | + display: flex; |
| 110 | + justify-content: center; |
| 111 | + align-items: center; |
| 112 | + margin-bottom: 40px; |
| 113 | + width: 100%; |
| 114 | +} |
| 115 | + |
| 116 | +.title-logo-img { |
46 | 117 | width: 100%; |
47 | | - max-width: 320px; |
48 | | - /* Max width for button container on larger screens */ |
| 118 | + max-width: 360px; |
| 119 | + height: auto; |
| 120 | + filter: drop-shadow(0px 4px 8px rgba(237, 108, 2, 0.2)); |
| 121 | +} |
| 122 | + |
| 123 | +.title-button-group { |
| 124 | + display: flex; |
| 125 | + flex-direction: column; |
| 126 | + align-items: center; |
| 127 | + gap: 20px; |
| 128 | + width: 100%; |
| 129 | +} |
| 130 | + |
| 131 | +.title-base-button { |
| 132 | + width: 100% !important; |
| 133 | + max-width: 320px !important; |
| 134 | + min-height: 56px !important; |
| 135 | + font-weight: bold !important; |
| 136 | + border-radius: 30px !important; |
| 137 | + text-transform: none !important; |
| 138 | + box-shadow: none !important; |
| 139 | + transition: all 0.2s ease !important; |
| 140 | +} |
| 141 | + |
| 142 | +.btn-start { |
| 143 | + font-size: 1.1rem !important; |
| 144 | + background-color: #f57c00 !important; |
| 145 | + color: white !important; |
| 146 | +} |
| 147 | + |
| 148 | +.btn-start:hover { |
| 149 | + background-color: #e65100 !important; |
| 150 | + transform: scale(1.02); |
| 151 | +} |
| 152 | + |
| 153 | +.btn-story { |
| 154 | + font-size: 1rem !important; |
| 155 | + color: #f57c00 !important; |
| 156 | + border: 1.5px solid #f57c00 !important; |
| 157 | +} |
| 158 | + |
| 159 | +.btn-story:hover { |
| 160 | + background-color: rgba(245, 124, 0, 0.05) !important; |
| 161 | + border: 1.5px solid #e65100 !important; |
49 | 162 | } |
0 commit comments