imaginar/public/styles/index.css

102 lines
1.7 KiB
CSS
Raw Normal View History

2024-10-19 11:24:54 +00:00
/* トップページ専用スタイル */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #7289da;
color: #fff;
padding: 20px;
text-align: center;
}
h1 {
font-size: 2.5rem;
margin: 0;
}
main {
padding: 20px;
text-align: center;
}
.cta-section {
margin-top: 50px;
}
.login-btn {
display: inline-block;
padding: 15px 30px;
font-size: 1.2rem;
background-color: #7289da;
color: #fff;
border: none;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}
.login-btn:hover {
background-color: #5b6eae;
}
footer {
margin-top: 50px;
background-color: #f4f4f4;
text-align: center;
padding: 20px;
font-size: 0.9rem;
color: #333;
}
.feature-list {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 40px;
}
.feature {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 30%;
}
.feature img {
width: 100px;
margin-bottom: 20px;
}
.feature h3 {
font-size: 1.5rem;
}
.feature p {
font-size: 1rem;
}
/* レスポンシブ */
@media (max-width: 768px) {
.feature-list {
flex-direction: column;
align-items: center;
}
.feature {
width: 80%;
}
h1 {
font-size: 2rem;
}
.login-btn {
font-size: 1rem;
}
}