1- /* --- style.css --- */
2-
3- /* ページ全体の基本設定 */
41body {
5- /* モダンなフォントを指定 */
62 font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto,
7- Helvetica, Arial, sans-serif, "Apple Color Emoji" , "Segoe UI Emoji" ,
8- "Segoe UI Symbol" ;
3+ Helvetica, Arial, sans-serif;
94 margin : 0 ;
105 padding : 0 ;
11- background-color : # f4f7f6 ; /* 薄いグレーの背景色 */
12- color : # 333 ; /* 基本の文字色 */
13-
14- /* フッターを最下部に固定するための設定 */
6+ background : linear-gradient (135deg , # a8e0ff, # 8ec5fc, # e0c3fc );
7+ color : # 333 ;
8+ min-height : 100vh ;
159 display : flex;
1610 flex-direction : column;
17- min-height : 100vh ;
11+ animation : fadeIn 1.2s ease;
12+ }
13+
14+ @keyframes fadeIn {
15+ from { opacity : 0 ; }
16+ to { opacity : 1 ; }
1817}
1918
20- /* ヘッダー */
2119header {
22- background-color : # ffffff ;
23- border-bottom : 1px solid # ddd ;
20+ background : rgba (255 , 255 , 255 , 0.8 );
21+ backdrop-filter : blur (6px );
22+ border-bottom : 1px solid rgba (255 , 255 , 255 , 0.4 );
2423 padding : 1.5rem 2rem ;
2524 text-align : center;
26- box-shadow : 0 2 px 4px rgba (0 , 0 , 0 , 0.05 );
25+ box-shadow : 0 4px 10 px rgba (0 , 0 , 0 , 0.1 );
2726}
2827
2928header h1 {
3029 margin : 0 ;
31- font-size : 1.75rem ;
32- color : # 222 ;
30+ font-size : 2rem ;
31+ color : # 444 ;
32+ letter-spacing : 1px ;
3333}
3434
35- /* メインコンテンツエリア */
3635main {
37-
3836 flex : 1 ;
39-
40- /* 中のリンクを中央に配置する */
4137 display : flex;
4238 flex-direction : column;
4339 justify-content : center;
4440 align-items : center;
4541 padding : 2rem ;
42+ gap : 1.5rem ;
4643}
4744
48- /* リンクをボタン風にスタイル */
4945main a {
50- display : block; /* リンクをブロック要素に */
51- width : 90% ;
52- max-width : 450px ;
53- margin : 1rem 0 ; /* 上下のマージン */
54- padding : 1rem 1.5rem ; /* 内側の余白 */
55-
56- background-color : # 007bff ; /* 目立つ青色 */
57- color : # ffffff ; /* 文字色を白に */
58- text-decoration : none; /* 下線を削除 */
59- text-align : center; /* 文字を中央揃え */
60-
61- font-size : 1.1rem ;
62- font-weight : 600 ; /* 少し太字に */
63-
64- border-radius : 8px ;
65- transition : background-color 0.3s ease, transform 0.2s ease;
66- box-shadow : 0 4px 8px rgba (0 , 123 , 255 , 0.2 );
46+ width : 90% ;
47+ max-width : 480px ;
48+ padding : 1.1rem 1.5rem ;
49+ border-radius : 12px ;
50+ background : linear-gradient (135deg , # 6a85ff, # 8f6aff );
51+ color : # fff ;
52+ text-decoration : none;
53+ text-align : center;
54+ font-size : 1.2rem ;
55+ font-weight : bold;
56+ box-shadow : 0 6px 12px rgba (0 , 0 , 0 , 0.15 );
57+ transition : transform 0.2s ease, box-shadow 0.2s ease;
6758}
6859
69- /* マウスを乗せたときのスタイル */
7060main a : hover {
71- background-color : # 0056b3 ; /* 少し濃い青色に */
72- transform : translateY ( -2 px );
61+ transform : translateY ( -4 px ) scale ( 1.03 );
62+ box-shadow : 0 10 px 20 px rgba ( 0 , 0 , 0 , 0.2 );
7363}
7464
75- /* フッター */
7665footer {
77- color : # adb5bd ;
66+ color : # fff ;
67+ text-shadow : 0 1px 2px rgba (0 , 0 , 0 , 0.2 );
7868 text-align : center;
79- padding : 1.5rem 2rem ;
80- font-size : 0.9rem ;
81- }
82-
83- footer p {
84- margin : 0 ;
69+ padding : 1.5rem ;
70+ font-size : 0.95rem ;
8571}
0 commit comments